Support » Plugin: SEOPress, on-site SEO » PHP warning in template-xml-sitemaps-single-term.php

  • Resolved iapprentice

    (@iapprentice)


    Dear Support,

    I am getting multiple entries of the below warning in my log files. This is occurring on 2 sites.

    PHP Warning: Invalid argument supplied for foreach() in /wp-content/plugins/wp-seopress/inc/functions/sitemap/template-xml-sitemaps-single-term.php on line 67

    Thank you.
    Best Regards

    SEOPress 4.1.3
    WP 5.5.3

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Benjamin Denis

    (@rainbowgeek)

    Hi,

    what’s the URL of your sitemap please?

    Which PHP version do you have?

    Thread Starter iapprentice

    (@iapprentice)

    Hi Benjamin,

    The sites are running PHP 7.4.10

    I unchecked Tag Taxonomies (post tag) under the XML sitemaps settings. Since this change I have not received any further warnings.

    Thank you.
    Best Regards

    Plugin Author Benjamin Denis

    (@rainbowgeek)

    OK thanks for this update.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.