Home › Forums › Calendar Products › Events Calendar PRO › Unable to create new events, post or pages when The Events Calendar is activated
- This topic has 17 replies, 3 voices, and was last updated 8 years, 6 months ago by
Antoni.
-
AuthorPosts
-
September 19, 2017 at 8:59 am #1351147
Antoni
ParticipantHello, we have a problem with your plugin “The Events Calendar” in our wordpress multisite, after some plugins, and themes updating we are enable to create a new post, event, or page when “The Events Calendar” is activated on the site, it reeturns an 500 error. Below we send the message from our error log.
As I said, it only happens if your plugin is activated (The normal events calendar, not the pro), if not, we can create pages and post as usual. We are unable to locate exactly in what point in the past this error started to happen, so we can’t go back.
Theme is AVADA last version, and we use plugins like WPML.
Site url: http://www.morella.net
Error Log:
[Tue Sep 19 15:30:59.500749 2017] [proxy_fcgi:error] [pid 28866] [client 83.59.59.189:54568] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught TypeError: Argument 2 passed to Tribe__Events__Meta__Save::__construct() must be an instance of WP_Post, null given, called in /var/www/vhosts/morella.net/httpdocs/wp-content/plugins/the-events-calendar/src/Tribe/Main.php on line 2951 and defined in /var/www/vhosts/morella.net/httpdocs/wp-content/plugins/the-events-calendar/src/Tribe/Meta/Save.php:33\nStack trace:\n#0 /var/www/vhosts/morella.net/httpdocs/wp-content/plugins/the-events-calendar/src/Tribe/Main.php(2951): Tribe__Events__Meta__Save->__construct(0, NULL)\n#1 /var/www/vhosts/morella.net/httpdocs/wp-includes/class-wp-hook.php(300): Tribe__Events__Main->addEventMeta(0, NULL)\n#2 /var/www/vhosts/morella.net/httpdocs/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array)\n#3 /var/www/vhosts/morella.net/httpdocs/wp-includes/plugin.php(453): WP_Hook->do_action(Array)\n#4 /var/www/vhosts/morella.net/httpdocs/wp-includes/post.php(3505): do_action(‘save_post’, 0, NULL, false)\n#5 /var/www/vhosts/morella.n…\n’, referer: http://www.morella.net/wp-admin/edit.phpSeptember 19, 2017 at 4:18 pm #1351518Patricia
MemberHey Antoni,
Thank you for reaching out to us!
I’m sorry to hear you are not able to add events, posts or pages on your site. I would love to help you to solve this problem!
By the sound of it, it looks like there is some type of conflict at play. This is usually caused by a conflict with another plugin, with your WordPress theme or with a template customization for the Events Calendar that requires updating.
Since I can’t replicate the issue you are experiencing from here, I would suggest you to run our Conflicts Test.
You can start the test by temporarily changing your theme to another one like Twenty Seventeen and deactivating all of your plugins (except Modern Tribe plugins) and let us know if the issue persists after that.
Please share with us your test results. If you need anything else in the mean time, please let me know and I’ll be happy to assist!
Best regards,
Patricia
September 20, 2017 at 1:05 am #1351715Antoni
ParticipantHi Particia, thanks for your help.
I’ve completed steps 1, 2 and 3 of your Conflicts Test procedure and error keeps staying, as you can see:Catchable fatal error: Argument 2 passed to Tribe__Events__Meta__Save::__construct() must be an instance of WP_Post, null given, called in C:\xampp\htdocs\morellaV1\wp-content\plugins\the-events-calendar\src\Tribe\Main.php on line 2951 and defined in C:\xampp\htdocs\morellaV1\wp-content\plugins\the-events-calendar\src\Tribe\Meta\Save.php on line 33
Wordpress version: 4.8.2
Events version: 4.4.5When I disable Events plugin it works perfectly.
Can you heklp please?
Thanks in advance!September 20, 2017 at 1:07 am #1351717Antoni
ParticipantPlease see attached files.
Thanks!September 20, 2017 at 5:20 am #1351801Patricia
MemberHi Antoni,
Thanks for sharing your test results with us! I’ve reviewed your system information and it seems that you are running an outdated version of The Events Calendar: your version is 4.4.5 and the latest version is 4.5.12.2. Can you please make sure that all of your plugins (specially Modern Tribe plugins) are up to date? Let me know if everything works as expected after updating them.
If the issue persists even after the plugins update, can you please send me your site files and database in a private reply so I can run some tests from here?
Thanks!
Patricia
September 20, 2017 at 7:34 am #1351881Antoni
ParticipantHi, I’ve disabled all plugings from all subsites and from network, all but tribe ones (calendar and calendar pro), we have the latest version of both plugins, and wordpress, and we tried with defaults themes and the error still persists.
I will send you the online version (We did the last updates on local). The online versions lacks some plugins updates etc… but the error is the same so….
We have an slow connection so it is gonna take a couple hours to upload the files.
September 21, 2017 at 12:20 am #1352429Antoni
ParticipantThis reply is private.
September 21, 2017 at 6:55 pm #1353142Patricia
MemberThis reply is private.
September 22, 2017 at 5:21 am #1353311Patricia
MemberThis reply is private.
September 22, 2017 at 6:47 am #1353364Antoni
ParticipantThis reply is private.
September 25, 2017 at 6:34 am #1354221Patricia
MemberThis reply is private.
September 25, 2017 at 6:43 am #1354229Patricia
MemberThis reply is private.
September 26, 2017 at 3:35 am #1354802Antoni
ParticipantThis reply is private.
September 26, 2017 at 4:59 am #1354823Patricia
MemberThis reply is private.
October 3, 2017 at 9:26 pm #1358695Ben Theis
ParticipantPatricia can you please help me here with the same issue? https://theeventscalendar.com/support/forums/topic/same-issue-6/
-
AuthorPosts
- The topic ‘Unable to create new events, post or pages when The Events Calendar is activated’ is closed to new replies.
