• Resolved shoaibbrk

    (@shoaibbrk)


    Hi,

    My plugins is causing error as soon the WP version got updated from 5.8.3 to 5.9.2.

    WordPress version 5.9.2
    Current theme: Carry Hill Child (version 1.0.0)
    Current plugin: Yoast Duplicate Post (version 4.4)
    PHP version 7.4.28

    I got a technical issue message with below errors:

    An error of type E_ERROR was caused in line 311 of the file /wp-content/plugins/duplicate-post/src/ui/classic-editor.php. Error message: Uncaught ArgumentCountError: Too few arguments to function Yoast\WP\Duplicate_Post\UI\Classic_Editor::remove_slug_meta_box(), 1 passed in /wp-includes/class-wp-hook.php on line 303 and exactly 2 expected in /wp-content/plugins/duplicate-post/src/ui/classic-editor.php:311
    Stack trace:
    #0 /wp-includes/class-wp-hook.php(303): Yoast\WP\Duplicate_Post\UI\Classic_Editor->remove_slug_meta_box('calp_event_page...')
    #1 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #2 /wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #3 /wp-content/plugins/calpress-event-calendar/app/helper/class-calp-settings-helper.php(426): do_action('add_meta_boxes', 'calp_event_page...')
    #4 /wp-includes/class-wp-hook.php(303): Calp_Settings_Helper->add_meta_boxes('')
    #5 /wp-includes/clas

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

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

    (@mikes41720)

    Hi @shoaibbrk

    We’re sorry to hear that you’ve encountered this issue upon updating your WordPress to the latest version of 5.9.2.

    Could you try and reinstall a fresh copy of Yoast Duplicate Post v4.4 manually via FTP and see if this fixes the issue?

    You can learn more about it here – https://yoast.com/help/how-can-i-update-my-free-plugin/#ftp (but get Yoast Duplicate Post instead of Yoast SEO)

    Thread Starter shoaibbrk

    (@shoaibbrk)

    Dear Michael,

    Thanks for your support.

    I tried steps you mentioned but still the problem is same.Although the plugin shows version 4.4.

    As soon as we deactivate this plugin, all work good.

    Please advise.

    Thanks

    Plugin Support Michael Ti?a

    (@mikes41720)

    Hi,

    Are you still receiving the same error message? Could you provide us with more details on exactly what steps you need to take in order to reproduce the error message?

    Often, we see problems occur in combination with another plugin or theme. The fastest way to rule out any conflict, is to deactivate all non-Yoast plugins and switch to a standard theme like Twenty Twenty.

    Please test this on your development or staging site, if you have one. If not, we recommend using the Health Check & Troubleshooting plugin. This plugin has a troubleshooting mode, which does not affect normal visitors to your site.

    If you’re unfamiliar with checking for conflicts, we’d like to point you to a step-by-step guide that will walk you through the process: How to check for plugin conflicts

    Starting from a default WP theme and only the Yoast Duplicate Post plugin, please then enable your preferred theme and then your plugins, one by one, until you are able to reproduce the issue and locate the conflict.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error on plugin after update’ is closed to new replies.