• Resolved eduancor

    (@eduancor)


    I was using the previous version on another server, after migrating appeared an error, then updated the version of the plugin and after enabling it, it shows the following error in the panel:

    Warning: require_once(__DIR__/app/Boot/bootstrap.php) [function.require-once]: failed to open stream: No such file or directory in /home/storage/1/d3/b4/bennesh/apps/bennesh.com.br/public/site/wp-content/plugins/simple-post-gallery/plugin.php on line 34

    Fatal error: require_once() [function.require]: Failed opening required ‘__DIR__/app/Boot/bootstrap.php’ (include_path=’.:/usr/share/pear’) in /home/storage/1/d3/b4/bennesh/apps/bennesh.com.br/public/site/wp-content/plugins/simple-post-gallery/plugin.php on line 34

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor 10Quality

    (@10quality)

    Hi @eduancor!

    For some reason it appear that your setup is not loading a file that does exists in WordPress.org repository:
    https://plugins.trac.wordpress.org/browser/simple-post-gallery/trunk/app/Boot

    Could you please verify that this file exists in your setup?

    You can do this by going to Admin Dashboard > Plugins > Editor,then select “Post Gallery” plugin, and check that the file “app/Boot/bootstrap.php” exists. If not, then I would recommend to deactivate/delete the plugin and try to download/activate it again, and double check that everything was downloaded this time.

    If the file does exist, then this could be caused because your PHP version is a bit old and it is not recognizing the __DIR__ constant which was added on PHP 5.3.

    If your PHP version is later than 5.4, then this could be caused by PHP cache, which is implemented usually by your hosting/server.

    Let us know if this solved your issue, if not make sure to reply back.

    Regards.

    • This reply was modified 6 years ago by 10Quality.
    Thread Starter eduancor

    (@eduancor)

    Hello, the file was already there, but I uploaded it again. I updated the php version to 7.1.

    I deactivated, I downloaded again, I resent.

    The error still exists

    Plugin Contributor 10Quality

    (@10quality)

    Have you double checked that you are not running any PHP cache nor your server some sort of PHP cache activated?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error Fatal at activation’ is closed to new replies.