• greglfb

    (@greglfb)


    Warning: require_once(__DIR__/vendor/autoload.php) [function.require-once]: failed to open stream: No such file or directory in /homepages/12/d439606240/htdocs/lfb/wp-content/plugins/php-compatibility-checker/wpengine-phpcompat.php on line 15

    Fatal error: require_once() [function.require]: Failed opening required ‘__DIR__/vendor/autoload.php’ (include_path=’.:/usr/lib/php5.2′) in /homepages/12/d439606240/htdocs/lfb/wp-content/plugins/php-compatibility-checker/wpengine-phpcompat.php on line 15

    I’ve had a look and can confirm that autoload.php does exist in the vendor subfolder.

    Any ideas what’s gone wrong?

Viewing 5 replies - 1 through 5 (of 5 total)
  • kmaxim

    (@kmaxim)

    Hi @greglfb
    Create in a root of site the file info.php with single line <?php phpinfo(); ?>. Open it in you browser, like https://your-site-domain.com/info.php. In a header you will see something like this PHP 5.6.32

    If you will see version below 5.3 then you using very outdated PHP version. The autoload.php works perfect start from 5.3 and above. You can see the “End of life” table of PHP versions in this table https://php.net/eol.php

    Plugin Contributor Simon Prosser

    (@pross)

    @greglfb you are using php 5.2 as seen in your error Fatal error: require_once() [function.require]: Failed opening required ‘__DIR__/vendor/autoload.php’ (include_path=’.:/usr/lib/php5.2′)

    If you update to 5.3 or later the plugin will work.

    ps. 5.2 was EOL 6+ years ago, you really should update anyway.

    SMPenev

    (@smpenev)

    Hi!

    I also have the same fatal error and my PHP version is 5.4.36

    Any suggestions?

    updatediva

    (@updatediva)

    Same here, immediate Error 504 when I click on Admin —> Tools —> PHP Compatibility.

    WP version: 4.7.3
    PHP version: 5.4
    WooCommerce version: 2.6.14

    I’m getting the same fatal error and my PHP version is 5.6.29. Yes there is an autoload.php in the vendor folder. I would like to update my php to 7.0 if possible.

    Warning and error messages:

    Warning: require_once(__DIR__/vendor/autoload.php) [function.require-once]: failed to open stream: No such file or directory in /home6/coppern5/public_html/wp-content/plugins/php-compatibility-checker/wpengine-phpcompat.php on line 15

    Fatal error: require_once() [function.require]: Failed opening required ‘__DIR__/vendor/autoload.php’ (include_path=’.:/usr/lib64/php:/usr/share/pear’) in /home6/coppern5/public_html/wp-content/plugins/php-compatibility-checker/wpengine-phpcompat.php on line 15

    Please help!
    Deborah

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal error on activation’ is closed to new replies.