Support » Plugin: Event Organiser » Full calendar not loading

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Stephen Harris

    (@stephenharris)

    Hi Julie,

    Do you have a link to the calendar?

    delawaregrad

    (@delawaregrad)

    Hi – – this is the link

    Calendar

    Plugin Author Stephen Harris

    (@stephenharris)

    Hi,

    You have a plug-in or theme generating this warning:

    Invalid argument supplied for foreach() in <b>/home/themusic15pt/public_html/wp-admin/includes/plugin.php</b> on line <b>1445</b>

    (although the warning is in WordPress core, this isn’t a WordPress bug). Because you’re error logging is configured to print warnings to the page, it’s corrupting the ajax response.

    I’d recommend you suppress warnings on production sites – but equally, plugins shouldn’t cause warnings to be created. So you may first want to try and identify the plug-in and tell the developer.

    But in any case you may want to ensure WP_DEBUG is set to false, and if it is, suppress error output by adding the following to the top of your wp-config.php:

    error_reporting(0);

    (Just suppressing errors/warnings is not good either, it’s sort of papering over a crack: ideally you would monitor and fix errors/warnings on a staging site).

    delawaregrad

    (@delawaregrad)

    Thanks for responding. I had only left the warnings there because I wasn’t sure what I was looking for and I thought it would help you.

    I did see that line listed, with the foreach(), which is why I was confused because it didn’t look to be your plugin. I thought I was missing something.

    I’ll see if I can figure out which plugin is causing it. It seemed weird that it was only happening on this page, though?

    Thank you for looking.

    Plugin Author Stephen Harris

    (@stephenharris)

    I had only left the warnings there because I wasn’t sure what I was looking for and I thought it would help you.

    The warnings in question would appear with WP_DEBUG, you can put the calendar into ‘debug mode’ with just SCRIPT_DEBUG, which does less. But even then, your server might be configured to print warnings to the page.

    It seemed weird that it was only happening on this page, though

    It’s not related to the page at all. The warning occurs when the ajax request is being handled. A corresponding warning message is printed in the data that is returned to the browser so that’s mixed in with the requested data. That makes it impossible for the calendar to interpret the data and so it doesn’t load the events.

    Hello, I have recently not had any problems with EM or the full calendar but after updating to the latest version of WP, EM and full calendar my calendar just spins around and doesn’t display.

    WP FullCalender version 1.2
    EM Version 5.6.6.1

    The calendar is faded in the background and I can see February and the dates but can’t see any of my events on there and the page never finishes loading / spinning.

    I tried rolling back to older versions of EM and Full Calendar but that didn’t solve it and I tried to add a page ID under calendar settings but that didn’t help either.

    Any advice would be greatly appreciated thanks. On the page I have the same [fullcalendar] I’ve always had.

    Plugin Author Stephen Harris

    (@stephenharris)

    Getfitbc – you’ve commented on the wrong thread. This thread is for Event Organiser, not Event Manager.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Full calendar not loading’ is closed to new replies.