php fatal error wp404arsp_redirect()
-
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 565PHP 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
- The topic ‘php fatal error wp404arsp_redirect()’ is closed to new replies.