• Getting error in dashboard widgets for newly created sites (under multisite):

    Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/mysite/public_html/wp-content/plugins/wordpress-seo/inc/class-sitemaps.php on line 540

    This error shows under the following dashboard widgets:
    -WordPress Blog
    -Other WordPress News
    -Incoming Links

Viewing 1 replies (of 1 total)
  • Thread Starter SiteSubscribe

    (@sitesubscribe)

    Just found out that when I create a ‘test’ post, when viewing the post I get fatal errors related to WordPress SEO plugin:

    Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/mysite/public_html/wp-content/plugins/wordpress-seo/inc/class-sitemaps.php on line 540

    Warning: Cannot modify header information – headers already sent by (output started at /home/mysite/public_html/wp-content/plugins/wordpress-seo/inc/class-sitemaps.php:540) in /home/sitesubs/public_html/wp-includes/pluggable.php on line 897

    this is the url for the test post:
    https://sitesubscribe.com/test/wp-admin/post.php

Viewing 1 replies (of 1 total)
  • The topic ‘Getting error in dashboard widgets for newly created sites’ is closed to new replies.