• Resolved ant385

    (@ant385)


    Hello,

    New version 4.1.7 generate error on php 8.1 in error_log file

    Example
    PHP Warning: Undefined array key 1 in /home2/risnjak/public_html/wp-content/plugins/google-sitemap-generator/class-googlesitemapgeneratorstandard
    builder.php on line 81

    Can you please fix this issue?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi @ant385 – are you using the correct 4.1.7 version? Because line number 81 in the current SVN trunc doesn’t have anything related to array key and we actually did observe the issue in past and fixed it. Check this for reference: https://plugins.trac.www.ads-software.com/browser/google-sitemap-generator/trunk/class-googlesitemapgeneratorstandardbuilder.php#L81 thanks

    Thread Starter ant385

    (@ant385)

    Hi,

    I again update to newest version and now is ok. I dont see this error anymore.
    THANKS a lot!

    Best regards,

    Since the recent update, the sitemap stopped updating new posts in the google search console

    I started seeing this error since yesterday

    Check my URL: https://tgpbaze.com.ng/sitemap.xml

    Sitemaps: N/A
    Referring page: None detected

    please I need help on this sitemap not updating new posts/pages in search console

    Google showing Home page link instead of Post
    My website is google news approved and recently I am facing an issue. When I publish a new post it get indexed within few minutes and ranked. But after some time say 6 hours or a day Google starts showing Home Page link to that post instead of post title and link. Just search

    @ant385 – glad I could help.

    @djswagman – Please try resubmitting your sitemap XML to the Google search console. We have checked that the sitemap gets generated well and is also accessible so there must be something else. Also, we have randomly tried putting multiple links to your site into Google search and all of them redirected us to the post page rather than the home page one. The posts have canonical URLs also set up properly. Please provide us with more details with examples if you feel there is a problem. Thanks.

    The major problem now is that my posts were indexed but not showing up on google except I Site search the URL or add my site title,

    I even posted some non-competitive content with low keyword difficulty but yet still got the same error

    am just confused and frustrated please I need help with this

    Hi @djswagman – I have noticed that many of your site pages do not appear under Google results while many do. Could you please go to Google search console > select the website from the property dropdown > Provide the URL inside the top inspect URL input box > click on Test live URL

    If Google returns any results, please check if you can fix it because they are related to that specific page and not the sitemap plugin. And if there are no errors then can you please click on request for indexing? Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘New version 4.1.7 generate Undefined array key errors’ is closed to new replies.