cPanel

XCache var cache was not initialized properly

XCache var cache was not initialized properly
XCache var cache was not initialized properly

xcache_set(): XCache var cache was not initialized properly

You may be noticed the following error ( XCache var cache was not initialized properly ) on your WordPress domain’s error log.

 
[14-Apr-2016 10:36:20 UTC] PHP Warning: xcache_set(): XCache var cache was not initialized properly. 
Check php log for actual reason in /home/$domain/public_html/wp-content/plugins/w3-total-cache/lib/W3/Cache/Xcache.php on line 55

You can fix this issue by changing the value of directive “xcache.var_size” to 100M on your php.ini file.

 
vi /usr/local/lib/php.ini

and change the mentioned directive value to 100M

 
xcache.var_size="100M"

and restart Apache service.

 
/etc/init.d/httpd restart

That’s it!

If you like this post and wish to receive more articles from us, please like our FB page: Grepitout

Your suggestions and feedbacks will encourage us and help to improve further, please feel free to write your comments.

For more details on our services, please drop us an E-mail at info@grepitout.com

Add Comment

Click here to post a comment

Topics