ERROR 500 when adding new events

Home Forums Calendar Products Events Calendar PRO ERROR 500 when adding new events

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1023700
    Ian Bearder
    Participant

    When I try to add new events I get error 500. on the new update 3.12.5. Here’s the error log

    [Tue Nov 10 05:11:07 2015] [warn] [client 109.237.88.135] mod_fcgid: stderr: WordPress database error Commands out of sync; you can’t run this command now for query SELECT autoload FROM wp_options WHERE option_name = ‘tribe_settings_errors’ made by shutdown_action_hook, do_action(‘shutdown’), call_user_func_array, TribeEventsSettings->deleteOptions, delete_option, referer: http://kyiv.cool/wp-admin/post-new.php
    [Tue Nov 10 05:11:07 2015] [warn] [client 109.237.88.135] mod_fcgid: stderr: WordPress database error Commands out of sync; you can’t run this command now for query SELECT autoload FROM wp_options WHERE option_name = ‘tribe_settings_major_error’ made by shutdown_action_hook, do_action(‘shutdown’), call_user_func_array, TribeEventsSettings->deleteOptions, delete_option, referer: http://kyiv.cool/wp-admin/post-new.php
    [Tue Nov 10 05:11:07 2015] [warn] [client 109.237.88.135] mod_fcgid: stderr: WordPress database error Commands out of sync; you can’t run this command now for query SELECT autoload FROM wp_options WHERE option_name = ‘tribe_settings_sent_data’ made by shutdown_action_hook, do_action(‘shutdown’), call_user_func_array, TribeEventsSettings->deleteOptions, delete_option, referer: http://kyiv.cool/wp-admin/post-new.php

    #1023951
    Geoff
    Member

    Hi Ian,

    Sorry for the trouble here! I hate 500 errors–they’re such a pain!

    First off, I notice that you are running The Events Calendar 3.12.3 and Events Calendar PRO 3.12. Will you please update to 3.12.4 and 3.12.6, respectively? Those are the latest versions.

    Secondly, do you have any custom functions for the calendar in functions.php or custom template overrides? Just want to make sure before we dig much deeper.You can check for custom templates by looking for a folder called tribe_events in your them directory.

    Let’s start there and see what we find.

    Thanks!
    Geoff

    #1024466
    Ian Bearder
    Participant

    After updating both The Events Calendar and Events Calendar to the latest versions everything seems alright.

    Thanks

    #1024471
    Ian Bearder
    Participant

    Hello, Problem seems to persist even after updating both to the latest update. Could you take a look into that?

    Thanks.

    #1024748
    Geoff
    Member

    Hi Ian,

    Shoot, sorry about that!

    Will you please try running through these steps for me? Specifically, I want to see if you still get the 500 error when you are using a default WordPress theme (like Twenty Fifteen) with all other plugins deactivated. If you are, please let me see the site in that state.

    Also, the answer to this question will help as well:

    Secondly, do you have any custom functions for the calendar in functions.php or custom template overrides? Just want to make sure before we dig much deeper.You can check for custom templates by looking for a folder called tribe_events in your them directory.

    Thanks!
    Geoff

    #1024796
    Ian Bearder
    Participant

    Hi,

    Unfortunately I can’t do that on a live site but could set up a test site for this purpose. I suspect the size of traffic on the site wouldn’t matter would it?

    As per custom functions, there’s none written on the site.

    #1024800
    Geoff
    Member

    Cool, let’s do a test site and test from there. 500 errors are typically the result of something server-related, so if the issue happens on live site, then we should see it on the test site as well.

    When setting up your test site, please install nothing, except The Events Calendar, Events Calendar PRO and Facebook Events. We’ll see if the error continues in those default conditions, then troubleshoot from there.

    Thanks!
    Geoff

    #1024943
    Ian Bearder
    Participant

    Hi,

    It works ok on the test site, although the facebook import plugin gives me the message “To begin using The Events Calendar: Facebook Events, please install the latest version of The Events Calendar.”
    The Events Calendar plugin is already on version 3.12.5 while The Events Calendar Pro is on version 3.12.16

    When I enabled debug error on the live site here’s the error message I got, I think it might be useful “WP_Widget is depreciated, use _contruct() instead”

    Also worthy of note is that the test site on on a multisite installation. I’m not sure if that would have any effect whatsoever.

    Thanks

    #1025017
    Geoff
    Member

    Hi Ian,

    It works ok on the test site

    OK, that’s a good start! Do you happen to have the URL where I can check that out?

    facebook import plugin gives me the message “To begin using The Events Calendar: Facebook Events, please install the latest version of The Events Calendar.”

    I bet the Facebook plugin is showing that notice because we released The Events Calendar 3.12.6 earlier today. 🙂

    From here, let’s try installing your theme and see if the issue comes back. If it doesn’t add one plugin from the live site to the test site at a time and check each time one is activated–if one triggers the issue, stop there and let me know so we can pinpoint where the issue is.

    Thanks!
    Geoff

    #1026099
    Ian Bearder
    Participant

    Hi, thanks, everything is alright now. We had to increase the memory limit on our live site by adding these lines of code to the wp_config.php file.

    define('WP_MEMORY_LIMIT', '300M');
    define('WP_MAX_MEMORY_LIMIT', '300M');
    • This reply was modified 10 years, 5 months ago by Ian Bearder.
    #1026372
    Geoff
    Member

    Phew! That’s a huge relief and I’m glad that did the trick. Thanks a ton for following up and please do keep us posted if any other questions or issues pop up–we’d be happy to help.

    Cheers,
    Geoff

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘ERROR 500 when adding new events’ is closed to new replies.