This message is given if a title or some text is not included in a post in the P2 theme:
Warning: strpos() [function.strpos]: Empty delimiter in /LOCATION/wp-content/themes/p2/functions.php on line 171
This only happens on posts that have “…” as their title and have not had any form of text included in the post other than embed codes or IMG tags.
Is there a way to fix this? My group is embed and image heavy and we’re kind of tired of seeing this message. Our work around is to always include text or a title for the posts, but sometimes we forget.
Seems to work fine now. Am I doing anything wrong? (Still new to PHP) And if that is a good fix, think it could go into the release? I did searches for the error including the line 171 part and WOW, there were a lot of results of people having the same problem.