Fatal error in every “Add New” page
-
With the plugin active I receive this error if I add a new event or post or page:
Fatal error: Uncaught TypeError: Argument 2 passed to Tribe__Events__Meta__Save::__construct() must be an instance of WP_Post, null given, called in wpsite\wp-content\plugins\the-events-calendar\src\Tribe\Main.php on line 2993 and defined in wpsite\wp-content\plugins\the-events-calendar\src\Tribe\Meta\Save.php:33 Stack trace: #0 wpsite\wp-content\plugins\the-events-calendar\src\Tribe\Main.php(2993): Tribe__Events__Meta__Save->__construct(0, NULL) #1 wpsite\wp-includes\class-wp-hook.php(300): Tribe__Events__Main->addEventMeta(0, NULL) #2 wpsite\wp-includes\class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #3 wpsite\wp-includes\plugin.php(453): WP_Hook->do_action(Array) #4 wpsite\wp-includes\post.php(3505): do_action('save_post', 0, NULL, false) #5 wpsite in wpsite\wp-content\plugins\the-events-calendar\src\Tribe\Meta\Save.php on line 33
How to solve it?
WP version: 4.8
The Events Calendar version: 4.5.4Theme:BeTheme (it happens with every theme!)
- The topic ‘Fatal error in every “Add New” page’ is closed to new replies.