• Resolved Shun Abe

    (@abeshunya)


    My website was in this error and entire site was down.
    It was now working fine after I updated PHP version 7.4.28 to 8.1.6.

    Is it by default?
    I did not see it till today. No problem yesterday.

    error message is below.

    Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0

    Fatal error: Unknown: Failed opening required ‘/my-domain/public_html/aios-bootstrap.php’ (include_path=’.:/opt/php-7.4.28/data/pear’) in Unknown on line 0

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support damien7

    (@damien7)

    Hey Shun Abe,

    It looks as though the auto_prepend_file directive is pointing to aios-bootstrap.php file, but that the aios-bootstrap.php file does not exist.

    You can manually create the aios-bootstrap.php file in your root directory (the same directory where WordPress is installed). And that should get rid of the error.

    However, if you would like to remove the aios-bootstrap.php file, then you will need to remove it first from the auto_prepend_file directive.

    Where the auto_prepend_file directive is set depends on your setup. Please check the following places:

    – php.ini file
    – .htaccess file
    – .user.ini

    Thread Starter Shun Abe

    (@abeshunya)

    Hi @damien7 ,
    thank you for reply,

    now I understand what is happening.
    I will try that solution.

    Thank you.

    regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Not working in PHP ver 7’ is closed to new replies.