Support » Plugin: Custom 404 Pro » ArgumentCountError thrown

  • Resolved filout



    after updating WP to v5.1.1 i get the error

    ArgumentCountError thrown
    Too few arguments to function AdminClass::custom_404_pro_upgrader(), 1 passed in /.../class-wp-hook.php on line 288 and exactly 2 expected

    Regards, Filout

    • This topic was modified 1 year, 10 months ago by filout.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Kunal


    @filout thanks for the bug report! This should be fixed for customers in 3.0.5

    You can delete the plugin, re-install it and it should be fine. Let me know if it works!

    Hi Kunal,

    must i re-install the plugin? Just now i updated on v3.0.5 and got the same error. Or is it enough to deactivate and activate the plugin again?

    Regards, Filout

    Plugin Author Kunal


    @filout re-installing the plugin gets you to a fresh start and re-initializes all the tables. This error has been fixed in 3.0.5 so going forward (in future updates) you’ll not see it – that’s just how the WordPress Upgrader method works unfortunately.

    Technically speaking, you should not see this error when doing a fresh install. Let me know if you do.

    I re-installed the plugin and everything seems to be okay. No error was shown.
    Thank you for your support! 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘ArgumentCountError thrown’ is closed to new replies.