Contextual Related Posts
[resolved] Warning: strpos() [function.strpos]: Empty delimiter in (2 posts)

  1. fusionx22
    Posted 2 years ago #

    Hello, Contextual Related Posts was working fine on our site. We've added some other plug-ins, but have done no code modifications.

    Now I'm seeing this error on every post and page.

    Warning: strpos() [function.strpos]: Empty delimiter in [path]/wp-content/plugins/contextual-related-posts/contextual-related-posts.php on line 154

    Note: I added [path] to remove the actual path.

    Another issue - I've limited the plug-in to posts and pages, specifically excluding custom post types, and the error is showing up on those posts as well.

    Here's am example of the error on a custom post type:


    You'll see the error twice in each post.



  2. Ajay
    Plugin Author

    Posted 2 years ago #

    Can you check what the options are for:

    HTML to display before the list of posts:
    HTML to display before each list item:
    HTML to display after each list item:
    HTML to display after the list of posts:

    Is any of them empty?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contextual Related Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic