Support

Home Forums Event Espresso Premium Illegal string offset 'member_only_all' (Firefox/Safari)

Illegal string offset 'member_only_all' (Firefox/Safari)

Posted: May 24, 2014 at 8:07 pm


Jes Camilleri

May 24, 2014 at 8:07 pm

Hi Event Espresso Support,

I’m experiencing an issue where these errors are showing up.

Warning: Illegal string offset 'member_only_all' in /home/clubital/public_html/website/wp-content/plugins/espresso-custom-templates/templates/calendar-table/index.php on line 107

Warning: Illegal string offset 'member_only_all' in /home/clubital/public_html/website/wp-content/plugins/event-espresso/templates/registration_page.php on line 259

For some strange reason it is only showing up within Firefox and Safari, while its not displaying it within Chrome.

I’ve attached screenshots:


Jes Camilleri

May 24, 2014 at 8:09 pm

Screenshot1: goo.gl/2zydFM
Screenshot2: goo.gl/Qg1kr2


Lorenzo Orlando Caum

  • Support Staff

May 24, 2014 at 8:55 pm

Hello,

Be sure that your software is up to date (current version of Event Espresso & addons). Then go to WP-admin –> Event Espresso –> Member settings and re-save the existing settings.

Then add the following macro to your wp-config.php file which will turn off displaying of debugging information:

https://codex.wordpress.org/Debugging_in_WordPress#WP_DEBUG_DISPLAY


Lorenzo


Jes Camilleri

May 24, 2014 at 10:54 pm

I’m running:

Event Espresso: Version 3.1.36.5.P
All add ons have been downloaded 17th May

I’ve added define(‘WP_DEBUG_DISPLAY’, false); to the wp-config.php file and it still showing the error


Lorenzo Orlando Caum

  • Support Staff

May 25, 2014 at 10:14 am

Alright, could you please try this one:

	define('WP_DEBUG', false);
	if (WP_DEBUG) {
		define('WP_DEBUG_LOG', true);
		define('WP_DEBUG_DISPLAY', true);
		@ini_set('display_errors', 0);
	}


Lorenzo


Jes Camilleri

May 26, 2014 at 2:24 am

Hi Lorenzo, I’ve added that code within wp-config.php and it still displaying within Firefox & Safari. Here’s the link http://goo.gl/w7mB6p


Lorenzo Orlando Caum

  • Support Staff

May 26, 2014 at 11:10 am

Hi,

Your webhost may have debugging enabled on the server level (above WordPress). Ask them to check into it.


Lorenzo


Jes Camilleri

May 26, 2014 at 5:59 pm

Thanks Lorenzo I’ve just emailed my web hosting to try see if its from their end.


Dean

May 27, 2014 at 2:12 am

Please keep us updated with what your host advises.


Tony

  • Support Staff

May 27, 2014 at 3:42 am

Whilst waiting for you host to reply you could try visiting Event Espresso -> Member Settings.

Make no changes but click Save Settings.

Is the notice then removed from the page mentioned?


Jes Camilleri

May 27, 2014 at 5:48 pm

Thanks Tony for your suggestion but I’ve done that change and it still shows the error… Cleared cache and still the same…


Josh

  • Support Staff

May 27, 2014 at 9:10 pm

You might have better success with:

define('WP_DEBUG', false);
@ini_set('display_errors', 0);
	if (WP_DEBUG) {
		define('WP_DEBUG_LOG', true);
		define('WP_DEBUG_DISPLAY', false);	
	}

But if the server’s PHP.ini is set to always display notices then you will need to contact your host and let them know the site is in production use and error display needs to be disabled.


Jes Camilleri

May 27, 2014 at 9:27 pm

Success! Its working! Thanks all for your help really appreciate it!

The support post ‘Illegal string offset 'member_only_all' (Firefox/Safari)’ 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