Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Strict Standards error with WPSEO_Taxonomy::update_term #721

Closed
benfreke opened this Issue · 4 comments

4 participants

@benfreke

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');
@jdevalk
Owner

Hmm asked @w3edge for input :)

@andreasnrb

@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()

@jrfnl
Collaborator

This should be fixed with pull request #746

@jrfnl
Collaborator

Closing as pull request is now merged in master.

@jrfnl jrfnl closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.