• In the admin I’m getting the warning

    Warning: Missing argument 1 for wpseo_activate(), called in /path/to/wp-content/plugins/wordpress-seo/wp-seo-main.php on line 224 and defined in /path/to/wp-content/plugins/wordpress-seo/wp-seo-main.php on line 110

    This is caused by you calling wpseo_activate(); in your wpseo_on_activate_blog() method despite the function being defined like so: function wpseo_activate( $networkwide ).

    It’s a simple enough change. On line 224 of *wp-seo-main.php* change

    wpseo_activate();

    to

    wpseo_activate(false);

    https://wordpress.org/plugins/wordpress-seo/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[PATCH] Missing argument 1 for wpseo_activate()’ is closed to new replies.