Home › Forums › Calendar Products › Events Calendar PRO › Submission error
- This topic has 0 replies, 2 voices, and was last updated 8 years ago by
Becky Raney.
-
AuthorPosts
-
February 23, 2018 at 1:22 pm #1462437
Becky Raney
ParticipantPublic trying to post an event several times and keeps getting an error page. I tested without any links or images, and got the same error (please help!):
Fatal error: Uncaught TypeError: Argument 2 passed to Tribe__Events__Meta__Save::__construct() must be an instance of WP_Post, null given, called in /home/whatcalendar/whatcalendar2/wp-content/plugins/the-events-calendar/src/Tribe/Main.php on line 3024 and defined in /home/whatcalendar/whatcalendar2/wp-content/plugins/the-events-calendar/src/Tribe/Meta/Save.php:33 Stack trace: #0 /home/whatcalendar/whatcalendar2/wp-content/plugins/the-events-calendar/src/Tribe/Main.php(3024): Tribe__Events__Meta__Save->__construct(0, NULL) #1 /home/whatcalendar/whatcalendar2/wp-includes/class-wp-hook.php(288): Tribe__Events__Main->addEventMeta(0, NULL) #2 /home/whatcalendar/whatcalendar2/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #3 /home/whatcalendar/whatcalendar2/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #4 /home/whatcalendar/whatcalendar2/wp-includes/post.php(3581): do_action(‘save_post’, 0, NULL, false) #5 /home/whatcalendar/whatcalendar2/wp-content/plugins/the-events-calendar/src/Tribe/API.ph in /home/whatcalendar/whatcalendar2/wp-content/plugins/the-events-calendar/src/Tribe/Meta/Save.php on line 33
I turned off all plugins except Modern Tribe ones:
Advanced Post Manager, The Events Calendar, The Events Calendar PRO, The Events Calendar: Community Events, The Events Calendar: Filter Bar.
And it still won’t let me submit.I also changed it to the “Twenty Seventeen” theme and it errored.
(Not to mention the other issue we’ve been having for a year that is not resolved. A table is dropping off the database about every 3 days now. I’m manually backing up database every day and having to check website every morning and evening to see if the events have dropped, and then replace database with last clean backup if it’s down. I’ve submitted several tickets on this with you and the host and no one can help. I’m discouraged.)
Please immediately help with the submission error, and if you have anything to offer on the bigger issue, that would be great. Thank you.
February 26, 2018 at 1:42 pm #1464253Victor
MemberHi Becky!
I’m sorry to hear you are experiencing those issues. Let me help you with the troubleshooting.
I can see that you are using older versions of our plugins and WordPress core. So first, please make sure you are using the latest versions of our plugins. Remember you can always download our plugins from your downloads page > https://theeventscalendar.com/my-account/downloads/
Please also note that the versions you are using are pretty old, so I suggest you setup a dev/staging site so you can test things out and make all plugins, theme and WordPress core updates without disrupting the live site.
Let me also point you to the following article that might be of help if you need to manually update your plugins > https://theeventscalendar.com/knowledgebase/manual-updates/
If you still experience problems with latest versions of our plugins, please enable WP_DEBUG and WP_DEBUG_LOG. This will create a debug.log file inside the /wp-content directory.
After that, try reproducing the issue a few times, so that in case there is an error, it will be saved into the debug.log file. Please share that log file with us so we can see if any problem from there.
A table is dropping off the database about every 3 days now
I’m not sure I understand what you mean by this, but it sounds really strange. Could you please let me know more about this?
Thanks,
VictorFebruary 26, 2018 at 5:28 pm #1464411Becky Raney
ParticipantI did all of the plugin updates and made sure we’re now working off the newest versions. I am still getting the error. I do not know how to enable WP_DEBUG (is that in the config file, or is there a button or something in the CMS?).
Yes, every three days or so there is a table that is disappearing, for no rhyme or reason, and I have to put in the most recent database that has all 14 tables (when the events disappear off the site there are only 13 tables). No one seems to know why it’s doing this.
Thank you,
February 26, 2018 at 5:30 pm #1464412Becky Raney
ParticipantHere are the three tickets we submitted that have been closed regarding the events dropping:
February 27, 2018 at 6:14 am #1464740Victor
MemberHi Becky!
Thanks for testing that out and for coming back with your other threads links.
I have just reviewed them and it seems really possible what Patricia mentioned here > https://theeventscalendar.com/support/forums/topic/events-disappeared-part-3/#dl_post-1373600
The next thing I would recommend doing is creating a fresh test site — this will avoid any disruption to your live site and ensure that we’ve effectively got a “clean canvas” to work with.
- Please install a fresh copy of WordPress in a subdirectory (if you have a CPanel-type hosting account there will probably be a one-click install script to make this really easy)
- Don’t install anything except The Events Calendar, Events Calendar PRO, Filter Bar and Community Events plugins.
- Please also stick to a default theme — again, there’s no need to install anything else just yet!
- Create a few events so we have some test data to work with
- Can you replicate the same problem?
If you find you can replicate the problem under these conditions it would be awesome if you could stop and let us know so we can take a look while the site is still running under default conditions.
Thanks for your help while we work on this together!
Best,
VictorFebruary 27, 2018 at 3:39 pm #1465396Becky Raney
ParticipantIf I recreate this site, how will we ever get all of the events that the customer currently has on the old site over there, wouldn’t that be transferring possibly corrupt data?
Do you have anything else I can try in the interim? People can’t submit events and they keep emailing the chamber telling them of the error.
Help? Thanks!
February 28, 2018 at 5:29 am #1465824Victor
MemberHi Becky,
There is no need to transfer any data yet as this would be a test site to see if we can spot any errors originating with a default installation.
Once we are able to replicate the error under those conditions, we could take a look and find the source of the problem.
We don’t really know if your database is corrupted. So, if you were to transfer your events from one site to another, you could do so by following the steps in this article > https://theeventscalendar.com/knowledgebase/using-wordpress-export-tools-to-migrate-events-content/
Please let us know how the tests go.
Thanks,
VictorMarch 7, 2018 at 3:47 pm #1472796Becky Raney
ParticipantThis submission is still broken and causing multiple phone calls a day. I can’t figure out how to disable the submission page, can you help?
March 8, 2018 at 4:28 am #1473125Victor
MemberHi Becky,
There is no built-in option to disable the event submission form other than deactivating the plugin, which will bring down all the event community functionalities too.
As a workaround, you can make a template override of the edit-event.php template file located at /wp-content/plugins/the-events-calendar-community-events/src/views/community/ and remove or comment out line 57 where the following line of code is:
<?php tribe_get_template_part( 'community/modules/submit' ); ?>That will remove the submission button. Bear in mind, this will also prevent users to edit their existing events, but at least it will prevent the submission errors you are getting. Additionally, you could add a message in that same template notifying the users of the form being disabled.
Where you able to create the new test installation? Let us know if you encounter any blocker while doing so, and we’ll try help as much possible.
Best,
VictorMarch 9, 2018 at 2:55 pm #1475194Becky Raney
ParticipantThe client sounds like he wants us to find another calendar since it’s been a year and this plugin is only more broken than it was before.
Interesting to note that the week since the ability for a front end user to submit a request has broken, the events have not disappeared off the calendar.
They disappeared 2/15, 2/19, 2/22, and then the submissions stopped working 2/23 and it’s not dropped the events once. There is something in your plugins that are not happy at all. He doesn’t want to have to pay for us to rebuild the same thing that has proven it’s not reliable, so we are looking at other things.
Can you do any kind of a refund?March 12, 2018 at 11:46 am #1476739Victor
MemberHi Becky!
I’m really sorry to hear that your client wants to move into another direction. I do totally understand your frustrations with the issues you are experiencing.
However, we believe the source of the database problem is not within our plugins as there is not a single SQL DROP statement in our plugins that would make a database table to be removed.
We would like to get to the bottom of the submission form issue though. If for any reason you are unable to create a brand new site installation for testing purposes, we would like to know if you could share with us a copy of your site so we can run some tests on our end and hopefully find the source of this problem (and perhaps the database one too).
You can use a plugin like Duplicator > https://wordpress.org/plugins/duplicator/ to do this and send us the copy of your site in a private reply.
Unfortunately, we cannot issue a refund at this point as it is out of our 30-days refund policy
Please let us know about that.
Thanks,
VictorMarch 14, 2018 at 10:03 am #1479223Becky Raney
ParticipantThis reply is private.
March 15, 2018 at 5:14 am #1479873Victor
MemberThis reply is private.
March 15, 2018 at 4:03 pm #1480708Becky Raney
ParticipantThis reply is private.
March 16, 2018 at 4:38 am #1481039Victor
MemberThis reply is private.
-
AuthorPosts
- The topic ‘Submission error’ is closed to new replies.
