• Resolved mediamartadero

    (@mediamartadero)


    Hi

    I get this error when i try to add a new post, page or event

    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/martade/public_html/wp-content/plugins/the-events-calendar/src/Tribe/Main.php on line 2978 and defined in /home/martade/public_html/wp-content/plugins/the-events-calendar/src/Tribe/Meta/Save.php:33 Stack trace: #0 /home/martade/public_html/wp-content/plugins/the-events-calendar/src/Tribe/Main.php(2978): Tribe__Events__Meta__Save->__construct(0, NULL) #1 /home/martade/public_html/wp-includes/class-wp-hook.php(288): Tribe__Events__Main->addEventMeta(0, NULL) #2 /home/martade/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #3 /home/martade/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #4 /home/martade/public_html/wp-includes/post.php(3951): do_action(‘save_post’, 0, NULL, false) #5 /home/martade/public_html/wp-admin/includes/post.php(666): wp_insert_post(Array) #6 /home/martade/public_html/wp-admin/post-new.php(66): in /home/martade/public_html/wp-content/plugins/the-events-calendar/src/Tribe/Meta/Save.php on line 33

    This happen after the migration of local to online

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Ed

    (@erishel)

    Hey there,

    Thanks for reaching out 😄

    Do you have any custom functions in place in your functions.php file?

    Something might have gone wrong with the migration of files. Can you reinstall the plugin?

    Take care,
    Ed 🤟

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal error’ is closed to new replies.