Calendar keeps on loading

This topic contains 4 replies, has 2 voices, and was last updated by  Ronja Nassenstein 7 years ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #26375

    Hello,

    I have a problem with the calendar on my page. Although it worked within the past half year, the calendar itself is being displayed but now keeps on loading and does not show any event.

    On Github I read that it could be an AJAX response mistake. What I tried so far was deactivating all other plugins and reinstalling the Event Organiser Plugin. I also deleted all (via iCal Extension) automatically imported events and created a single one manually. But unfortunately none of that works. In the browsers developer tools in debug mode I found one mistake.(“Failed to load resource: the server responded with a status of 500 (Internal Server Error)”) Unfortunately I am unable to detect the cause of the problem and I also don’t know how to fix it.

    This is the link to my site: http://www.mv-dohrgaul.de/calendartest/

    Could you please have a look and see what may cause the problem?

    Thanks in advance,

    Ronja

    Ronja Nassenstein
    #26384

    Hi Donna,

    A 500 error means there was an error in the code being executed on the server side. That error is preventing the server from responding to the request.

    Are you able to check your error logs. (These are time-stamped so you may want to reproduce the error and look up the error message on the error logs).

    If you’re not sure where your error logs are you can enable WP_DEBUG and WP_DEBUG_LOG in your wp-config.php (see https://codex.wordpress.org/Debugging_in_WordPress). Any subsequent errors should then be written to wp-content/debug.log

    Stephen Harris
    #26392

    Thanks for your reply, Stephen.

    I had a look at the error logs. See text below:

    [06-Mar-2017 07:59:09 UTC] PHP Fatal error: Uncaught Exception: Error in formating DateTime object. Expected DateTime, but instead given boolean in /customers/9/2/3/mv-dohrgaul.de/httpd.www/wp-content/plugins/event-organiser/includes/event-organiser-utility-functions.php:31
    Stack trace:
    [hashtag]0 /customers/9/2/3/mv-dohrgaul.de/httpd.www/wp-content/plugins/event-organiser/includes/event-organiser-utility-functions.php(164): eo_format_datetime(false, ‘F j, Y G:i’)

    [hashtag]1 /customers/9/2/3/mv-dohrgaul.de/httpd.www/wp-content/plugins/event-organiser/includes/event-organiser-ajax.php(183): eo_format_event_occurrence(47229, 0, ‘F j, Y ‘, ‘G:i’, ‘ – ‘, false)

    [hashtag]2 /customers/9/2/3/mv-dohrgaul.de/httpd.www/wp-includes/class-wp-hook.php(298): eventorganiser_public_fullcalendar(”)

    [hashtag]3 /customers/9/2/3/mv-dohrgaul.de/httpd.www/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array)

    [hashtag]4 /customers/9/2/3/mv-dohrgaul.de/httpd.www/wp-includes/plugin.php(453): WP_Hook->do_action(Array)

    [hashtag]5 /customers/9/2/3/mv-dohrgaul.de/httpd.www/wp-admin/admin-ajax.php(101): do_acti in /customers/9/2/3/mv-dohrgaul.de/httpd.www/wp-content/plugins/event-organiser/includes/event-organiser-utility-functions.php on line 31

    I don’t know how to solve the issue. Do you have any idea?

    Ronja Nassenstein
    #26429

    Hi Ronja,

    The event query isn’t returning an occurrence ID for the event. This can only really be the case if a plug-in / theme is interfering with the query. There are some debugging steps we can take to better understand the problem, but first have you tried switching to a Twenty<Something> theme?

    Stephen Harris
    #26438

    Hi Stephen,

    I found the mistake thanks to your proposal to change the theme. It seems as if our theme “Impreza” is no longer working in accordance with the calendar. Another theme works very fine.

    Thank you very much for your help!

    Ronja

    Ronja Nassenstein
Viewing 5 posts - 1 through 5 (of 5 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.