• Resolved juliedaq

    (@juliedaq)


    When using this plugin and switching to PHP8, we get an error that requires us to login to WordPress in safe mode and either deactivate the plugin or roll back our PHP version.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter juliedaq

    (@juliedaq)

    Screenshot of error message: https://zwdrive.com/DwXAp1

    I can also confirm this issue on PHP 8.0, rolling back corrects the issue when logging in.

    Plugin Author osama.esh

    (@osamaesh)

    hello,
    Kindly update to the latest version and try again

    We are also getting this. It’s transient, as we can load the admin screen upon refresh, but it’s not ideal.

    Running version 3.6

    Plugin Author osama.esh

    (@osamaesh)

    Thanks for letting us know,
    we will check and back to you soon

    I also have encountered this issue when moving my website do docker. I have docker containers with PHP 8.1.10 and I got this error:
    Szczegó?y b??du
    ===================
    B??d typu E_ERROR zosta? spowodowany w linii 85 pliku /var/www/html/wp-content/plugins/all-404-redirect-to-homepage/all-404-redirect-to-homepage.php. Komunikat b??du: Uncaught TypeError: fread(): Argument #1 ($stream) must be of type resource, bool given in /var/www/html/wp-content/plugins/all-404-redirect-to-homepage/all-404-redirect-to-homepage.php:85
    Stack trace:
    #0 /var/www/html/wp-content/plugins/all-404-redirect-to-homepage/all-404-redirect-to-homepage.php(85): fread(false, 261)
    #1 /var/www/html/wp-content/plugins/all-404-redirect-to-homepage/all-404-redirect-to-homepage.php(102): p404_check_default_permalink()
    #2 /var/www/html/wp-includes/class-wp-hook.php(307): p404_header_code(”)
    #3 /var/www/html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #4 /var/www/html/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #5 /var/www/html/wp-admin/admin-header.php(163): do_action(‘admin_head’)
    #6 /var/www/html/wp-admin/index.php(137): require_once(‘/var/www/html/w…’)
    #7 {main}
    thrown

    Plugin Author osama.esh

    (@osamaesh)

    hello,
    thank you for using our plugins,

    please make sure that the .htaccess file permission is correct (it should be 755)

    The error means that the plugin unable to read the file!

    Thanks for your, we are looking forward to hearing from you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘PHP 8 causes WP Error’ is closed to new replies.