Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Strict Standards error with WPSEO_Taxonomy::update_term #721

Closed
benfreke opened this Issue Mar 7, 2014 · 4 comments

Comments

Projects
None yet
4 participants

benfreke commented Mar 7, 2014

WP 3.8.1 (au version)
WPSEO 1.4.25

Error message is:
Strict standards: Non-static method W3_ObjectCache::instance() should not be called statically, assuming $this from incompatible context in /var/www/wordpress/wp-content/plugins/wordpress-seo/admin/class-taxonomy.php on line 150

That line currently is:

$w3_objectcache = & W3_ObjectCache::instance();

I think it should be (not sure as I don't have time right now to dig into the code):

$w3_objectcache = w3_instance('W3_ObjectCache');
Owner

jdevalk commented Mar 9, 2014

Hmm asked @w3edge for input :)

@jdevalk The functions to use for integration is in http://plugins.svn.wordpress.org/w3-total-cache/tags/0.9.3/inc/functions/plugin.php in this case its: w3tc_objectcache_flush()

Contributor

jrfnl commented Mar 12, 2014

This should be fixed with pull request #746

Contributor

jrfnl commented Mar 12, 2014

Closing as pull request is now merged in master.

@jrfnl jrfnl closed this Mar 12, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment