• Resolved Jos Klever

    (@josklever)


    I noticed errors in the PHP log:
    PHP Warning: strstr(): Empty needle in /.../wp-content/plugins/events-manager/em-posts.php on line 273

    This happens both with 6.0.1 and 6.0.1.1.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Jos Klever

    (@josklever)

    Error still occurs in 6.1.0.1

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    hi, it is happening because you have an empty location permalink slug in your settings under Pages > Permalink Slugs. If you add something there it’ll go away. You do need a slug anyway for locations to work, if you have locations disabled it won’t have any effect even if you have a value there.

    We’ll fix the error in the next update.

    Thread Starter Jos Klever

    (@josklever)

    I’ve added permalink slugs for these fields and the errors are indeed gone. If values can be empty you should test for it, before calling them in a function. I expect you mean to do that for the next update, so solved for me now.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Empty needle error in logs’ is closed to new replies.