I’m getting error like this
Warning: Illegal string offset ‘member_only_all’ in /wp-content/plugins/event-espresso/templates/event_list_display.php on line 145
you can check it here http://ranabayarea.org/event-registration/
help me out.
Now error is coming like this
Warning: Illegal string offset ‘member_only_all’ in /wp-content/plugins/event-espresso/templates/event_list_display.php on line 145
To explain a little, the server currently has ‘display_errors’ set to true and is likely running a PHP version > 5.3.
The code Lorenzo posted should have set that to false and disabled the error output.
You could use something like this:
@ini_set( 'log_errors', 'On' );
@ini_set( 'display_errors', 'Off' );
@ini_set( 'error_reporting', 4339 ); // Only log errors you will want to know about.
define( 'WP_DEBUG', false );
define( 'WP_DEBUG_LOG', false );
define( 'WP_DEBUG_DISPLAY', false );
That should remove all warnings/notices but should still log any serious issues.
Viewing 3 reply threads
The support post ‘Warning at event registration page.’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.