FYI – I had the same problem. I suspect there was a caching issue. It seems fine now. I haven’t installed any updates, but at first I couldn’t see it anywhere, then it was fine on the public, but failed in the admin. Now both seem to be okay. No word from the developer on my post, but please report back if it’s okay with you too now…
I believe Yogaboy’s issue is probably different (Yogaboy mentioned an empty calendar which resolved itself, and was possibly a cache issue).
Bodhidude – there are two likely reasons for the error:
1. An error message being printed during the ajax request (could be for any theme, plug-in or WordPress itself).
2. A javascript error.
Feel free to send a link to the site if you’re not sure how to check for this.
2.6 was tested with WP 3.8 RC1 (and later RC2 and release versions), and no issues were found. Furthermore changes introduced in 2.6 were largely aesthetic, so older versions of EO are likely to still work with WP3.8 yoo.
Hey Stephen.
I have a similar problem with my full calendar not showing. I’ve found a failure notice in the console log:
Response is not valid JSON. This is usually caused by error notices from WordPress or other plug-ins
Response reads: <br />
<b>Warning</b>: Invalid argument supplied for foreach() in <b>/kunden/331823_08064/webseiten/lukas/wordpress/wp-admin/includes/plugin.php</b> on line <b>1375</b><br />
<br />
<b>Warning</b>: Invalid argument supplied for foreach() in <b>/kunden/331823_08064/webseiten/lukas/wordpress/wp-admin/includes/plugin.php</b> on line <b>1375</b><br />
This failure notice only takes place if I am not logged in as administrator. If I am logged in, the full calendar shortcode works without problems.
Thanks, Konrad
Hi Kondrad,
That error message is coming from within remove_menu_page()
. (It points here: https://github.com/WordPress/WordPress/blob/3.8-branch/wp-admin/includes/plugin.php#L1375).
At a guess a plug-in is calling that function when it shouldn’t. Since global $menu
is not populated, it’s attempting a foreach
on something empty, which results in an error and corrupts the ajax response.
The only thing you can do is either trace that call, or disable each plug-in until it stops, and that’ll get the culprit.
Oh Thanks Stephen!
Thats a big help for me! Now I know where the problem is…
I could address it outside of event organiser.
Greets, Konrad
It was my own old until now not recognized failure to call remove_menu_page()from the false admin_init hook instead of admin_menu.
Sorry for taking your time!
That would do it. No worries :).