• useStrict

    (@usestrict)


    When using wp-cli, I keep seeing the following warning:

    Warning: call_user_func() expects parameter 1 to be a valid callback, array must have exactly two members in /path/to/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1244
    Warning: call_user_func() expects parameter 1 to be a valid callback, array must have exactly two members in /path/to/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1244
    Warning: call_user_func() expects parameter 1 to be a valid callback, array must have exactly two members in /path/to/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1244

    I finally took the time to investigate what it was and found that it happens when woocommerce and google-site-kit plugins are active. I tested with just those two plugins and got the warnings.

    Plugin versions:

    Woocommerce: 4.1.0
    Google Site Kit: 1.7.1

    I have cross posted this in Google Site Kit’s support forums as I haven’t checked which plugin has the bad code.

    Cheers!

The topic ‘Conflict with Google Site Kit’ is closed to new replies.