• Resolved rainsey

    (@rainsey)


    hi,

    We updated the plugin to v9.0.1 on our website. Our php errorlog now shows several fatal error (copy below) as a result. I am sure why the php errors occur, but the previous version did not generate these errors.

    PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function wp404arsp_redirect(), 1 passed in /home/thewoolr/public_html/wp-content/plugins/wp-404-auto-redirect-to-similar-post/wp-404-auto-redirect-similar-post.php on line 440 and exactly 2 expected in /home/thewoolr/public_html/wp-content/plugins/wp-404-auto-redirect-to-similar-post/wp-404-auto-redirect-similar-post.php:565
    Stack trace:
    #0 /home/thewoolr/public_html/wp-content/plugins/wp-404-auto-redirect-to-similar-post/wp-404-auto-redirect-similar-post.php(440): wp404arsp_redirect(Array)
    #1 /home/thewoolr/public_html/wp-content/plugins/wp-404-auto-redirect-to-similar-post/wp-404-auto-redirect-similar-post.php(407): wp404arsp_request(‘/product-catego…’)
    #2 /home/thewoolr/public_html/wp-includes/class-wp-hook.php(286): wp404arsp_init(”)
    #3 /home/thewoolr/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #4 /home/thewoolr/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #5 /home/thewoolr/public_html/wp-inc in /home/thewoolr/public_html/wp-content/plugins/wp-404-auto-redirect-to-similar-post/wp-404-auto-redirect-similar-post.php on line 565

    PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function wp404arsp_redirect(), 1 passed in /home/thewoolr/public_html/wp-content/plugins/wp-404-auto-redirect-to-similar-post/wp-404-auto-redirect-similar-post.php on line 440 and exactly 2 expected in /home/thewoolr/public_html/wp-content/plugins/wp-404-auto-redirect-to-similar-post/wp-404-auto-redirect-similar-post.php:565
    Stack trace:
    #0 /home/thewoolr/public_html/wp-content/plugins/wp-404-auto-redirect-to-similar-post/wp-404-auto-redirect-similar-post.php(440): wp404arsp_redirect(Array)
    #1 /home/thewoolr/public_html/wp-content/plugins/wp-404-auto-redirect-to-similar-post/wp-404-auto-redirect-similar-post.php(407): wp404arsp_request(‘/bags-handbags-…’)
    #2 /home/thewoolr/public_html/wp-includes/class-wp-hook.php(286): wp404arsp_init(”)
    #3 /home/thewoolr/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #4 /home/thewoolr/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #5 /home/thewoolr/public_html/wp-inc in /home/thewoolr/public_html/wp-content/plugins/wp-404-auto-redirect-to-similar-post/wp-404-auto-redirect-similar-post.php on line 565

Viewing 1 replies (of 1 total)
  • Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    This error has been fixed in 0.9.0.1 update. Are you sure that error logs still show this error since the update?

    Thanks in advance,

    Regards.

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