• Resolved bennyrichter

    (@bennyrichter)


    I get this error at the activation of the plugin:

    Fatal error: Uncaught Exception: PLEASE CREATE OR CHMOD /wordpress/core/4.9.8/./wpmvc/cache/limesrockscom/ – 0777 OR ANY WRITABLE PERMISSION! in /wpcom-142095551/wp-content/plugins/woo-license-keys/vendor/10quality/wpmvc-phpfastcache/src/psr4/phpFastCache.php:161 Stack trace: #0 /wpcom-142095551/wp-content/plugins/woo-license-keys/vendor/10quality/wpmvc-phpfastcache/src/psr4/phpFastCache.php(89): WPMVC\PHPFastCache\phpFastCache::getPath(false, Array) #1 /wpcom-142095551/wp-content/plugins/woo-license-keys/vendor/10quality/wpmvc-phpfastcache/src/lib/functions.php(26): WPMVC\PHPFastCache\phpFastCache::getAutoClass(Array) #2 /wpcom-142095551/wp-content/plugins/woo-license-keys/vendor/10quality/wpmvc-core/src/psr4/Cache.php(44): phpFastCache() #3 /wpcom-142095551/wp-content/plugins/woo-license-keys/vendor/10quality/wpmvc-core/src/psr4/Cache.php(56): WPMVC\Cache->__construct(Object(WPMVC\Config)) #4 /wpcom-142095551/wp-content/plugins/woo-license-keys/vendor/10quality/wpmvc-core/src/psr4/Bridge.php(125): WPMVC\Cache::init(Object(WPMVC\Config)) #5 /wpcom-142095551/wp-content/plugins/woo-license-keys/app/Boot/bootstrap.php(36): WPMVC\Bridge->__construct(Object(WPMVC\Config)) #6 /wpcom-142095551/wp-content/plugins/woo-license-keys/plugin.php(19): require_once(‘/wpcom-14209555…’) #7 /wordpress/core/4.9.8/wp-admin/includes/plugin.php(1897): include(‘/wpcom-14209555…’) #8 /wordpress/core/4.9.8/wp-admin/plugins.php(178): plugin_sandbox_scrape(‘woo-license-key…’) #9 {main} thrown in /wpcom-142095551/wp-content/plugins/woo-license-keys/vendor/10quality/wpmvc-phpfastcache/src/psr4/phpFastCache.php on line 161

    How can I fix that problem?

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi, I had kind of same problem.
    Problem seems to be that the cache and log directory are written in the wordpress root directory, which normally is not writeabel.
    You properly need to change owner, something like:
    sudo chown -r /limesrocks/wpmvc/
    if you have terminal access to your server.

    Ups correction
    That should somthing like this
    sudo chown www-data:www-data -R
    When you are inside the /limesrocks/wpmvc/ directory

    Thread Starter bennyrichter

    (@bennyrichter)

    @torbenmogensenco: Thanks for your answer!

    Our hoster (wordpress.com) does not allow us to perform the recommended changes ourselves. After I wrote to the support, I received the following answer:

    • After further investigation we have determined this issue will need to be resolved by the WooCommerce License Keys team. On WordPress.com the core WordPress files are shared across all sites and are there for not writeable or able to be modified. Generally this can be fixed by replacing references like the following:

      $dir = ABSPATH . $dirname;
      with

      $dir = $_SERVER[‘DOCUMENT_ROOT’] . “/” . $dirname;

      Please pass this on to the plugin team and let us know if they have any further questions we can help with!

    Plugin Contributor 10Quality

    (@10quality)

    This is a rule set by the hosting there is not much we can do on our end if your hosting is blocking this access.

    You have 2 options:

    1) Disable cache

    Look for file:
    woo-license-key/app/Config/app.php

    And change the enabled setting to false.
    'enabled' => false,

    2) Try to create the needed structure by yourself using and FTP client like FileZila.

    The structure should be:
    [wordpress root]/wpmvc/logs
    [wordpress root]/wpmvc/cache

    Make sure the logs and cache folders have write permissions.

    Regards.

    Plugin Contributor 10Quality

    (@10quality)

    Try disabling the cache:

    Look for file:
    woo-license-key/app/Config/app.php

    And change the enabled setting to false.
    'enabled' => false,

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