I'm experiencing a very odd bug while using the_excerpt() function and I have no where else too look so thought I'd see if anyone had any ideas.
I'm using the_excerpt(), on a post, like this;
And in the backend, the post currently has nothing set, like this;
I have even made sure there's nothing there by looking in the database, like this;
But, for some wierd reason, the_excerpt is spitting out 'pdf-sample', like this;
It's only happening on this post, i've removed the excerpt from other posts just to make sure they don't display this, and they don't.
If I add an excerpt into the post, it replaces and shows the correct excerpt. Then when I remove it again the excerpt is removed and pdf-sample comes back.
If I print_r get_the_excerpt;
It shows;
I'm at a bit of a loss here and can't think of anything else to try, pdf-sample is one of the media files title, which i assume is where it's coming from I just don't know why.
If you have any debug methods you could share to help me solve this it'd be greatly appreciated!
Thanks, Harry.