WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
Getting error in dashboard widgets for newly created sites (2 posts)

  1. SiteSubscribe
    Member
    Posted 3 years ago #

    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

  2. SiteSubscribe
    Member
    Posted 3 years ago #

    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:
    http://sitesubscribe.com/test/wp-admin/post.php

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic