Can't Add New Event, Venue or Organizer: Getting Http 500 Error
I tried to edit my post and add more information to private area but not sure if it was posted.
Can you tell me if you received my server information and .htaccess file info?
I also posted the error that is being generated (my host emailed it to me)
Here it is again just in case… i edited out my domain name though just in case and used mydomain instead
PHP Catchable fatal error: Argument 2 passed to Tribe__Events__Meta__Save::__construct() must be an instance of WP_Post, null given, called in /home/mydomain/public_html/wp-content/plugins/the-events-calendar/src/Tribe/Main.php on line 3043 and defined in /home/mydomain/public_html/wp-content/plugins/the-events-calendar/src/Tribe/Meta/Save.php on line 33
Thanks for the info. Based on the error this looks like something may be missing from the core files. Best thing to do is replace the wp-admin and wp-includes folder along with all core files in root directory with a fresh copy. However, I’m sure you know this but make sure you leave the wp-config.php as is.
Let me know how that goes.
Thanks for responding Brendan,
I reinstalled wordpress by uploading and overwriting all the files by FTP except for the wp-content directory and .htaccess / wpconfig files…
This didn’t fix the issue
So I tried checking for a corrupt .htaccess file (I renamed the .htaccess file to .htaccess-old, then went to settings>permalinks and resaved to generate a new .htaccess file) This didn’t help either
In addition, to not being able to add new events, I am not able to add new pages or new posts to my site. I am getting the same Http 500 error as when I try to add a new event.
So what I did was deactivate the Events Calendar Pro and Events Calendar plugins.
After doing that I was able to get a page to load for a new post and new page but it is missing the content box (area where you input your content) & it says “You are currently editing the page that shows your latest posts”
So I deactivated my theme and switched to the Twenty Seventeen theme. I tried to add a new page or post and ended up with the same issue. Missing the content input area and saying “Your currently editing the page that shows your latest posts”.
Next I deactivated all other plugins.
With a barebones wordpress with no plugins and using the Twenty Seventeen theme. I still was getting the same issue when trying to add a new page or post.
I just wanted to see what would happen if I activated only the Events Calendar and Events Calendar Pro plugins. This ends up giving me an HTTP 500 Error when I try to add a new page, new post, or new event.
I remember reading on a few wordpress.org support threads that someone had a similar issue (not exactly the same as I am having)… without posting all the details they reset and saved the permissions for the database user. I tried it but this didn’t help either.
I deactivated the EC & ECP plugins, deleted them from the server, and redownloaded the plugins and reinstalled fresh copies of EC 4.6.8 and ECP 184.108.40.206
This didn’t help.
When I reinstalled a fresh copy of WordPress and all the plugins I actually jumped from
EC 3.7 & ECP 3.7 to EC 4.6.8 and ECP 220.127.116.11
Could this be the problem?
I noticed the 3.7 version of ECP is still available for download from my Modern Tribe / Events Calendar Account. But the EC 3.7 version doesn’t seem to be available.
I was thinking of testing out my site with the old plugin versions.
I do have a copy of EC 3.7 from my WordPress backups but don’t want to use it because I am nervous that hackers may have changed the files. Is there anywhere I can get a clean copy of EC 3.7?
Should I even try installing the older versions of the plugins to see if this resolves the issue?
I am also open to any other thoughts or suggestions you might have to trouble shoot this problem.
Thanks for your time.
We have found the issue.
My host suggested we clear the database and restore it from a back up.
This seemed to fix the issue and everything seems to be working fine now.
He said that when we moved the database that phpmyadmin may have missed a line because the database was very large.
So he restored the database through the server console to avoid any timeouts. And it seems to have done the trick!
Thanks again and happy new year!
Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team
The topic ‘Can't Add New Event, Venue or Organizer: Getting Http 500 Error’ is closed to new replies.