• Resolved dparadis

    (@dparadis)


    Warning: require_once(__DIR__/composer/autoload_real.php) [function.require-once]: failed to open stream: No such file or directory in /home/mysite/public_html/wp-content/plugins/geotargeting/vendor/autoload.php on line 5

    Fatal error: require_once() [function.require]: Failed opening required ‘__DIR__/composer/autoload_real.php’ (include_path=’.:/opt/php52/lib/php’) in /home/mysitea/public_html/wp-content/plugins/geotargeting/vendor/autoload.php on line 5

    https://www.ads-software.com/plugins/geotargeting/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Damian

    (@timersys)

    You probably have a old php version. Talk with you hosting and tell them to upgrade at least to php 5.3

    hi Damian – I got the same error and it prevented me from activating the plugin.

    after updating from 5.2 to 5.3 it now allows me to activate the plugin. however when i load my website I get the same error printed out instead of my site – and the only way i can remove it is by deleting plugin files.

    do you have a recommended course of action from here?

    i’ve confirmed that 5.3 is installed because i get this after putting up <?php echo ‘Current PHP version: ‘ . phpversion(); ?> on a page: Current PHP version: 5.3.24 ….

    Here’s the error (very similar to dparadis):

    Warning: require_once(__DIR__/composer/autoload_real.php) [function.require-once]: failed to open stream: No such file or directory in /wp-content/plugins/geotargeting/vendor/autoload.php on line 5

    Fatal error: require_once() [function.require]: Failed opening required ‘__DIR__/composer/autoload_real.php’ (include_path=’.:/usr/local/php5/lib/php’) in /wp-content/plugins/geotargeting/vendor/autoload.php on line 5

    Plugin Author Damian

    (@timersys)

    I can’t reproduce that error. I just downloaded a new copy of the plugin on a new site and I dont get the error. The file /composer/autoload_real.php exists on my directory. On yours?

    @damian thanks for double checking…i tried again this morning and it didn’t throw the error!

    i’m guessing there was some cache stuck in wordpress after the PHP update — even though the pages were saying the new PHP was being used, wordpress at its core wasn’t aware?

    anyhow, thanks again for making and maintaining this awesome plugin. i have a client who really needs the eu cookie popup only to appear for EU residents accessing their site and this is really the only viable way to do it. i was not looking forward to the alternative option in case i couldn’t get your plugin to work.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘fatal error on install’ is closed to new replies.