Support » Plugin: The Events Calendar » Fatal error in every “Add New” page

  • Resolved antsanwp


    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.4

    Theme:BeTheme (it happens with every theme!)

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @antsanwp,

    Can you let me know whether or not you’re still having this issue with the latest version?


    Shelby ๐Ÿ™‚

    Plugin Contributor Courtney Engle Robertson


    Hey there! This thread has been inactive for a while so weโ€™re going to go ahead and mark it Resolved. Please feel free to open a new thread if any other questions come up and weโ€™d be happy to help. ๐Ÿ™‚

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error in every “Add New” page’ is closed to new replies.