• Resolved Matthias Baier

    (@ma_wordpressorg)


    I was updating my menu und ended up with a fatal error which could be recovered using the backbutton in my browser. But I’m still curious, why this is happening.
    I created a category-menu-item, moved it arround in my menu saved it and eventually removed it again. The save button triggers the error then. But changes are still saved.
    Has anyone else experienced this error?

    Wordpress-Error-report (in German)
    Fehler-Details
    ==============
    Ein Fehler vom Typ E_ERROR wurde in der Zeile 68 der Datei /home/www/biga-yachten.de/wp-content/plugins/duplicate-post/src/class-permissions-helper.php verursacht. Fehlermeldung: Uncaught TypeError: Argument 1 passed to Yoast\WP\Duplicate_Post\Permissions_Helper::is_rewrite_and_republish_copy() must be an instance of WP_Post, null given, called in /home/www/biga-yachten.de/wp-content/plugins/duplicate-post/src/class-post-republisher.php on line 427 and defined in /home/www/biga-yachten.de/wp-content/plugins/duplicate-post/src/class-permissions-helper.php:68
    Stack trace:
    #0 /home/www/biga-yachten.de/wp-content/plugins/duplicate-post/src/class-post-republisher.php(427): Yoast\WP\Duplicate_Post\Permissions_Helper->is_rewrite_and_republish_copy(NULL)
    #1 /home/www/biga-yachten.de/wp-includes/class-wp-hook.php(294): Yoast\WP\Duplicate_Post\Post_Republisher->clean_up_when_copy_manually_deleted(1254)
    #2 /home/www/biga-yachten.de/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
    #3 /home/www/biga-yachten.de/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #4 /home/www/biga-yachten.de/wp-includes/post.php(3125): do_action(‘before_delete_p…’, 1254, Object(WP_Post))

Viewing 1 replies (of 1 total)
  • Plugin Support Michael Ti?a

    (@mikes41720)

    Hi @ma_wordpressorg

    We’re sorry to hear that you’re encountering this error. Just to clarify, are you using the latest version of WordPress 5.7.2, Yoast Duplicate Post 4.1.2, and the latest version of your other plugins and themes?

    You mentioned that you were editing/updating your menus and you triggered this error when you clicked on the ‘save’ button. Are you using any sort of plugin to create a custom post type or is this a functionality in your theme to create these category menu items?

    Could you give us more details (and possibly, some screenshots), such as the plugins we’d need on exactly how to reproduce this issue from our end?

Viewing 1 replies (of 1 total)
  • The topic ‘Typ E_ERROR when editing menus’ is closed to new replies.