Support » Plugin: WP Statistics » Error in WP Statistics after update: cannot write into cache

  • Resolved hasev

    (@hasev)


    After updating WordPress to 4.9.8 and WP Statistics to 12.4.3, the plugin causes the website to go completely blank. In a debugging mode I see the error message below. Note that I have not changed any permissions of the wp-content/uploads/wp-statistics directory, and it did work with the previous version. What can I do?

    Here is the error message:
    Fatal error: Uncaught exception ‘WurflCache\Adapter\Exception’ with message ‘Its not possible to write to the given cache path “/var/www/bayespop/htdocs/wp-content/uploads/wp-statistics”‘ in /var/www/bayespop/htdocs/wp-content/plugins/wp-statistics/includes/vendor/mimmi20/wurflcache/src/Adapter/File.php:231 Stack trace: #0 /var/www/bayespop/htdocs/wp-content/plugins/wp-statistics/includes/vendor/mimmi20/wurflcache/src/Adapter/File.php(190): WurflCache\Adapter\File->createRootDirIfNotExist() #1 /var/www/bayespop/htdocs/wp-content/plugins/wp-statistics/includes/vendor/mimmi20/wurflcache/src/Adapter/File.php(86): WurflCache\Adapter\File->initialize(Array) #2 /var/www/bayespop/htdocs/wp-content/plugins/wp-statistics/includes/classes/class-wp-statistics-hits.php(125): WurflCache\Adapter\File->__construct(Array) #3 /var/www/bayespop/htdocs/wp-content/plugins/wp-statistics/includes/classes/class-wp-statistics-geo-ip-hits.php(13): WP_Statistics_Hits->__construct() #4 /var/www/bayespop/htdocs/wp-content/plugins/wp-statistics/inclu in /var/www/bayespop/htdocs/wp-content/plugins/wp-statistics/includes/vendor/mimmi20/wurflcache/src/Adapter/File.php on line 231

    Note that currently the plugin is deactivated.

    • This topic was modified 1 year, 8 months ago by hasev.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Mostafa Soufi

    (@mostafas1990)

    Hi,

    This issue fixed in the beta version and will be released soon.

    Hi, I have the same problem. I canĀ“t find the plugin in the ftp and the site is white with this note:

    Fatal error: Uncaught Error: Call to undefined function getallheaders() in /www/htdocs/w012bf00/wp-content/plugins/wp-statistics/includes/classes/class-wp-statistics-rest.php:114 Stack trace: #0 /www/htdocs/w012bf00/wp-content/plugins/wp-statistics/includes/classes/class-wp-statistics.php(818): WP_Statistics_Rest::is_rest() #1 /www/htdocs/w012bf00/wp-content/plugins/wp-statistics/includes/classes/class-wp-statistics.php(191): WP_Statistics->get_IP() #2 /www/htdocs/w012bf00/wp-content/plugins/wp-statistics/wp-statistics.php(18): WP_Statistics->run() #3 /www/htdocs/w012bf00/wp-settings.php(305): include_once(‘/www/htdocs/w01…’) #4 /www/htdocs/w012bf00/wp-config.php(90): require_once(‘/www/htdocs/w01…’) #5 /www/htdocs/w012bf00/wp-load.php(37): require_once(‘/www/htdocs/w01…’) #6 /www/htdocs/w012bf00/wp-admin/admin.php(31): require_once(‘/www/htdocs/w01…’) #7 /www/htdocs/w012bf00/wp-admin/plugins.php(10): require_once(‘/www/htdocs/w01…’) #8 {main} thrown in /www/htdocs/w012bf00/wp-content/plugins/wp-statistics/includes/classes/class-wp-statistics-rest.php on line 114

    Ok, solved the problem and deactivated the plugin.

    Why i can’t instal beta plugin?

    Plugin Author Mostafa Soufi

    (@mostafas1990)

    This problem will be resolved in tomorrow and the new version will be released.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error in WP Statistics after update: cannot write into cache’ is closed to new replies.