• Resolved Pranske

    (@pranske)


    Hi,
    When the Yoast SEO plugin is enabled i see the following warning messages:

    Warning: array_map(): Expected parameter 2 to be an array, bool given in xxx/public_html/wp-content/plugins/wordpress-seo/src/actions/indexation/indexable-post-type-archive-indexation-action.php on line 154

    Warning: array_diff(): Expected parameter 2 to be an array, null given in xxx/public_html/wp-content/plugins/wordpress-seo/src/actions/indexation/indexable-post-type-archive-indexation-action.php on line 112

    Warning: count(): Parameter must be an array or an object that implements Countable in xxx/public_html/wp-content/plugins/wordpress-seo/src/actions/indexation/indexable-post-type-archive-indexation-action.php on line 64

    Warning: array_slice() expects parameter 1 to be array, null given in xxx/public_html/wp-content/plugins/wordpress-seo/src/actions/indexation/indexable-post-type-archive-indexation-action.php on line 115

    Warning: Invalid argument supplied for foreach() in xxx/public_html/wp-content/plugins/wordpress-seo/src/actions/indexation/indexable-post-type-archive-indexation-action.php on line 76

    if Yoast SEO plugin is disabled, no error warnings.

    WordPress version: latest
    Yoast SEO version: latest

    Uninstalled Yoast SEO, reinstalled again – the same errors

    • This topic was modified 4 years, 9 months ago by Pranske.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @pranske,

    Sorry to see that you’re getting these types of errors with Yoast SEO 14.3. They all seem to be related to invalid data, so it’s possible that resetting the Yoast SEO data would help if you haven’t done so already.

    Please try the following steps:

    1. Install & activate the Yoast Test Helper plugin
    2. Go to Tools -> Yoast Test
    3. Click the “Reset indexables & migrations” button
    4. (Optional) Go to SEO -> Tools and under SEO data, click the “Speed up your site” button.
    Thread Starter Pranske

    (@pranske)

    Thank you Priscilla Chapman (@priscillamc)
    this solved my problem.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Warning isues’ is closed to new replies.