• Resolved sebi23du

    (@sebi23du)


    Hello,

    since the update 4.4 of wordpress, the plugin shows errors in the news sitemap like:

    Warning: array_map(): Argument #2 should be an array in /kunden/343215_47198/webseiten/starsontv/wordpress2/wp-includes/category-template.php on line 1158 de

    What is here the problem and how can i fix it?

    Can someone help me please?

    Thank you

    Sebastian

    https://wordpress.org/plugins/xml-sitemap-feed/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi, wp-includes/category-template.php is not part of the plugin. Can you tell me where you see these errors occur? A link might be helpful…

    Thread Starter sebi23du

    (@sebi23du)

    Hi RavanH,

    i see the errors here:

    http://www.starsontv.com/sitemap-news.xml

    and Google search console says, that something with the language is not correct and a publication tag is missing.

    This happened right after the wordpress update.

    I hope this will help you.

    Greetz
    Sebastian

    Hi Sebastian, first: you should disable the public output of notices and warnings by PHP. If you not have the WP_DEBUG constant switched on, you’ll need to switch that off. Otherwise, you’ll need to tell PHP to hide public messages.

    If you don’t how to do that or don’t know what I’m talking about then you’ll have to ask your hosting provider…

    That sayd, this is an interesting warning. It occurs in the WordPress internal function get_the_terms() so it looks like a ‘bug’ in WordPress itself.

    I’ll have to find out which circumstances trigger this error because so far I have not been able to reproduce it. Are you using a language plugin? And if so, which one? And if not, is there any other plugin or theme customization that could explain why there seems to be an ‘language’ taxonomy available on your site?

    Thread Starter sebi23du

    (@sebi23du)

    Hi,

    i don´t have a language plugin installed.

    But i solve the problem. I un installed your lugin and installed it again. And now the plugin works fine again.

    See here: http://www.starsontv.com/sitemap-news.xml

    Thank you for your patience and for your help 🙂

    Greetings
    Sebastian

    That’s very strange… Can’t explain how uninstaling and reinstalling would resolve the issue.

    Anyway, glad to hear it works now and thanks for sharing 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error after updating to WordPress 4.4’ is closed to new replies.