• Resolved facem Web

    (@shojikama)


    Hi,

    I can’t activate the plugin. A fatal error is spotted when the plugin want to be activated :

    Warning: mkdir(): Permission denied in /var/www/mandaterre/wp-content/plugins/simple-post-gallery/vendor/amostajo/wordpress-plugin-core/src/psr4/Cache.php on line 39

    Fatal error: Uncaught Error: Class ‘PHPFastCache\Exception’ not found in /var/www/mandaterre/wp-content/plugins/simple-post-gallery/vendor/amostajo/phpfastcache/src/psr4/phpFastCache.php:154 Stack trace: #0 /var/www/mandaterre/wp-content/plugins/simple-post-gallery/vendor/amostajo/phpfastcache/src/psr4/phpFastCache.php(82): PHPFastCache\phpFastCache::getPath(false, Array) #1 /var/www/mandaterre/wp-content/plugins/simple-post-gallery/vendor/amostajo/phpfastcache/src/lib/functions.php(26): PHPFastCache\phpFastCache::getAutoClass(Array) #2 /var/www/mandaterre/wp-content/plugins/simple-post-gallery/vendor/amostajo/wordpress-plugin-core/src/psr4/Cache.php(43): phpFastCache() #3 /var/www/mandaterre/wp-content/plugins/simple-post-gallery/vendor/amostajo/wordpress-plugin-core/src/psr4/Cache.php(55): Amostajo\WPPluginCore\Cache->__construct(Object(Amostajo\WPPluginCore\Config)) #4 /var/www/mandaterre/wp-content/plugins/simple-post-gallery/vendor/amostajo/wordpress-plugin-core/src/psr4/Plugin.php(92): Amostajo\WPPluginCore\Cache::i in /var/www/mandaterre/wp-content/plugins/simple-post-gallery/vendor/amostajo/phpfastcache/src/psr4/phpFastCache.php on line 154

    How to fix that error ?

    Thanks

    • This topic was modified 6 years, 8 months ago by facem Web.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor 10Quality

    (@10quality)

    We have just released version 2

    The error prompt is related to version 1, please update the plugin and let us know if the issue persist.

    Plugin Contributor 10Quality

    (@10quality)

    If the error persist, try to disable cache. To do this you will need to modify the configuration file located at plugins > simple-post-gallery > app > Config > app.php

    And change line:

    'cache' => [
        'enabled' => true,
    ]

    To this one:

    'cache' => [
        'enabled' => false,
    ]
    Thread Starter facem Web

    (@shojikama)

    last update solved the issue, thanks for your reaction.

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