Support » Plugin: Redirection » home/xxx/public_html/wp-includes/canonical.php

  • Resolved Jack

    (@hifriend)


    Error.log error report file display:

    [10-May-2022 14:14:26 UTC] PHP Warning: Undefined array key “path” in /home/xxx/public_html/wp-includes/canonical.php on line 590
    [10-May-2022 14:14:26 UTC] PHP Warning: Undefined array key “path” in /home/xxx/public_html/wp-includes/canonical.php on line 590
    [11-May-2022 01:42:55 UTC] PHP Warning: Undefined array key “path” in /home/xxx/public_html/wp-includes/canonical.php on line 590
    [11-May-2022 01:42:55 UTC] PHP Warning: Undefined array key “path” in /home/xxx/public_html/wp-includes/canonical.php on line 590

    canonical.php to 590 line

    // Trailing /index.php.
    $redirect[‘path’] = preg_replace( ‘|/’ . preg_quote( $wp_rewrite->index, ‘|’ ) . ‘/*?$|’, ‘/’, $redirect[‘path’] );

    What is this question? Pls…

    Hosting information:
    php: 8.0
    wordpress: 5.9.3

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.