• Resolved damdesignnu

    (@damdesignnu)


    I have seen that other users have the same problem:
    When I upload til plugin I get the following error. I have tried version 8.0.3 and 8.0.4 but that did not help. I have moved this wordpress site today from another host, so I have alot of code I would NOT like to lose! I hope for a quick answer.

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

    Fatal error: require_once() [function.require]: Failed opening required ‘__DIR__/composer/autoload_real.php’ (include_path=’.:/php/includes:/usr/share/php’) in /home/www/allcovers.dk/wp-content/plugins/css-javascript-toolbox/vendor/autoload.php on line 5

    https://www.ads-software.com/plugins/css-javascript-toolbox/

Viewing 1 replies (of 1 total)
  • Plugin Author wipeoutmedia

    (@wipeoutmedia)

    Hi damdesignnu,

    Sorry for the issue you are experiencing.
    Your code should be safe and sound in CJT tables in the database, which you can retrieve using phpMyAdmin (hope you know your way round there).

    Yes, we have seen this issue before. It is often caused because your server is running an older version of PHP. You see, your server is running PHP < 5.3 and the magic constant __DIR__ is only available in PHP >= 5.3

    You could request your host to upgrade the PHP version of the server to either the latest or at least a version higher than 5.3.

    Hope that helps.

    Regards,
    Damian

Viewing 1 replies (of 1 total)
  • The topic ‘Warning and fatal error!’ is closed to new replies.