Support

Home Forums Event Espresso Premium EE 4.9.21.p – strpos(): Empty needle

EE 4.9.21.p – strpos(): Empty needle

Posted: November 9, 2016 at 12:26 pm

Viewing 4 reply threads


David

November 9, 2016 at 12:26 pm

Just installed the 4.9.21 update and now see the following error on the top of my front page. It appears on the WP static front page regardless of which page I set to the front page and does not appear on a page if that page is not set to the front page.

Warning: strpos(): Empty needle in …. /wp-content/plugins/event-espresso-core-reg/modules/single_page_checkout/EED_Single_Page_Checkout.module.php on line 400


Josh

  • Support Staff

November 9, 2016 at 12:43 pm

You should probably turn off error display (or WP_DEBUG) if that’s on a live site (a live site being not under development).

https://codex.wordpress.org/Debugging_in_WordPress#Example_wp-config.php_for_Debugging


David

November 10, 2016 at 11:56 am

it appears to be off.

* @link https://codex.wordpress.org/Debugging_in_WordPress
*/
define(‘WP_DEBUG’, false);


Josh

  • Support Staff

November 10, 2016 at 2:21 pm

That’s a good indication that your site has display_errors enabled. In which case, you can add this to your wp-config.php file on the line right after the WP_DEBUG constant:
@ini_set( 'display_errors', 0 );


David

November 10, 2016 at 5:10 pm

that did it… thanks for your help!

Viewing 4 reply threads

The support post ‘EE 4.9.21.p – strpos(): Empty needle’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso