[Plugin: W3 Total Cache] w3 total cache – deprecated php errors
-
on my site I got a bunch of errors regarding deprecated after the host’s
server had an upgrqade this week to phph 5.3.9W3 Total Cache was the only plugin falling over. I edited some of the files (identified as Minify.php and tempcache.php in plugins/w3-total-cache/lib/W3/Plugin/ ) to elimate the errors by removing the & in lines with
=& new
(which has been deprecated in php 5) to read= new
this removed a chunk of the error lines but the rest of the deprication errors couldn’t be resolved that way.I have had to deactivate the plugin for now. I will reactivate at the next update. Still a great plugin!
The remaining lines are:
Deprecated: Assigning the return value of new by reference is deprecated in /home/lodgeofh/public_html/wp-content/plugins/w3-total-cache/lib/W3/Plugin/TotalCacheAdmin.php on line 1929 Deprecated: Assigning the return value of new by reference is deprecated in /home/lodgeofh/public_html/wp-content/plugins/w3-total-cache/lib/W3/Plugin/TotalCacheAdmin.php on line 1966 Deprecated: Assigning the return value of new by reference is deprecated in /home/lodgeofh/public_html/wp-content/plugins/w3-total-cache/lib/W3/Plugin/TotalCacheAdmin.php on line 2983 Deprecated: Assigning the return value of new by reference is deprecated in /home/lodgeofh/public_html/wp-content/plugins/w3-total-cache/lib/W3/Plugin/TotalCacheAdmin.php on line 5244 Warning: Cannot modify header information - headers already sent by (output started at /home/lodgeofh/public_html/wp-content/plugins/w3-total-cache/lib/W3/Plugin/TotalCacheAdmin.php:1878) in /home/lodgeofh/public_html/wp-content/plugins/w3-total-cache/lib/W3/Referrer.php on line 47
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘[Plugin: W3 Total Cache] w3 total cache – deprecated php errors’ is closed to new replies.