Home › Forums › Calendar Products › Events Calendar PRO › ERROR 500 when adding new events
- This topic has 10 replies, 2 voices, and was last updated 10 years, 5 months ago by
Geoff.
-
AuthorPosts
-
November 10, 2015 at 7:00 am #1023700
Ian Bearder
ParticipantWhen 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.phpNovember 10, 2015 at 2:37 pm #1023951Geoff
MemberHi 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!
GeoffNovember 12, 2015 at 12:25 am #1024466Ian Bearder
ParticipantAfter updating both The Events Calendar and Events Calendar to the latest versions everything seems alright.
Thanks
November 12, 2015 at 1:06 am #1024471Ian Bearder
ParticipantHello, Problem seems to persist even after updating both to the latest update. Could you take a look into that?
Thanks.
November 12, 2015 at 6:52 am #1024748Geoff
MemberHi 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!
GeoffNovember 12, 2015 at 8:50 am #1024796Ian Bearder
ParticipantHi,
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.
November 12, 2015 at 8:58 am #1024800Geoff
MemberCool, 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!
GeoffNovember 12, 2015 at 2:05 pm #1024943Ian Bearder
ParticipantHi,
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.16When 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
November 12, 2015 at 4:13 pm #1025017Geoff
MemberHi 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!
GeoffNovember 16, 2015 at 12:22 am #1026099Ian Bearder
ParticipantHi, 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.
November 16, 2015 at 7:14 am #1026372Geoff
MemberPhew! 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 -
This reply was modified 10 years, 5 months ago by
-
AuthorPosts
- The topic ‘ERROR 500 when adding new events’ is closed to new replies.
