PHP warnings
-
I’m running this plugin on my sites (to a reasonable degree of success), but we’ve seen some PPH warnings in the background. Specifically –
file_get_contents(/public_html/wp-content/object-cache.php): failed to open stream: No such file or directory
Call stack
file_get_contents()
wp-content/plugins/w3-total-cache/lib/W3/ObjectCacheAdminEnvironment.php:157
W3_ObjectCacheAdminEnvironment->is_objectcache_add_in()
wp-content/plugins/w3-total-cache/lib/W3/ObjectCacheAdminEnvironment.php:127
W3_ObjectCacheAdminEnvironment->delete_addin()
wp-content/plugins/w3-total-cache/lib/W3/ObjectCacheAdminEnvironment.php:28
W3_ObjectCacheAdminEnvironment->fix_on_wpadmin_request()
wp-content/plugins/w3-total-cache/lib/W3/AdminEnvironment.php:26
W3_AdminEnvironment->fix_in_wpadmin()
wp-content/plugins/w3-total-cache/lib/W3/Plugin/TotalCacheAdmin.php:578
W3_Plugin_TotalCacheAdmin->admin_notices()
Unknown location
do_action(‘admin_notices’)
wp-admin/admin-header.php:250AND
opendir(/public_html/wp-content/cache/db/000000/options_comments/): failed to open dir: No such file or directory
Call Stack
opendir()
wp-content/plugins/w3-total-cache/inc/functions/file.php:82
w3_rmdir()
wp-content/plugins/w3-total-cache/inc/functions/file.php:121
w3_emptydir()
wp-content/plugins/w3-total-cache/lib/W3/Cache/File.php:283
W3_Cache_File->flush()
wp-content/plugins/w3-total-cache/lib/W3/DbCache.php:240
W3_DbCache->_flush_cache_group()
wp-content/plugins/w3-total-cache/lib/W3/DbCache.php:116
W3_DbCache->query()
wp-content/plugins/w3-total-cache/lib/W3/Db.php:95
delete_option()
wp-includes/option.php:639
get_transient()
wp-content/plugins/w3-total-cache/lib/W3/Licensing.php:75
W3_Licensing->admin_notices()
Unknown location
do_action(‘admin_notices’)
wp-admin/admin-header.php:250I’ve seen other people with similar problems online, but they’ve posted it on other plugins’ support forums since they had issues because of this and the solution is usually to disable w3tc plugin which is obviously less than ideal.
Does anyone know why this directory and file don’t exist? Should I get them from the installation package and add them to the server?
- The topic ‘PHP warnings’ is closed to new replies.