• Resolved vaka2vaka

    (@vaka2vaka)


    Hello Found out that after any page change, the sitemap gives an error.
    Sample test site attached https://test2demo.ru/page-sitemap.xml
    rank seo math

    In the analysis of the sitemap, it writes Wrong page address (5 errors)
    `1
    <link rel=’stylesheet’ id=’kadence-blocks-infobox-css’ href=’https://test2demo.ru/wp-content/plugins/kadence-blocks/dist/blocks/infobox.style.build.css?ver=2.4.15′ media=’all’ />
    2
    <link rel=’stylesheet’ id=’kadence-blocks-column-css’ href=’https://test2demo.ru/wp-content/plugins/kadence-blocks/dist/blocks/column.style.build.css?ver=2.4.15′ media=’all’ />

    ……………………
    That is, he sees an error in kadence-blocks

    I noticed that if the sitemap is removed from the cache (wpsupercache), then the error appears once. And after refreshing the sitemap page, it disappears.
    If the sitemap is in the cache, then the error disappears only after deactivating rank-math
    The error is observed on six sites This site is a test

    When authorizing in the admin panel, the error is not visible.

    To reproduce the error.
    1 Make any change on the page.
    2 Log out of the admin panel
    3 Open site map (pages)

    Topic on rank seo math created. Since Kadence Blocks gives an error, I duplicate it here.

    • This topic was modified 2 years, 1 month ago by vaka2vaka.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter vaka2vaka

    (@vaka2vaka)

    Yes ! Rank Math SEO map stops working with Kadence Blocks enabled. description above,
    Additional errors in the panel

    VM110:162 Uncaught TypeError: Cannot read properties of null (reading 'appendChild')
        at <anonymous>:162:30
        at <anonymous>:486:5
        at <anonymous>:487:3
    (anonymous) @ VM110:162
    (anonymous) @ VM110:486
    (anonymous) @ VM110:487
    VM111:1 Uncaught TypeError: Cannot read properties of undefined (reading 'libReady')
        at <anonymous>:1:20
    (anonymous) @ VM111:1
    VM112:1 Uncaught TypeError: Cannot read properties of undefined (reading 'errorCode')
        at <anonymous>:1:20
    (anonymous) @ VM112:1
    VM113:1 Uncaught TypeError: Cannot read properties of undefined (reading 'libReady')
        at <anonymous>:1:20
    (anonymous) @ VM113:1
    VM114:1 Uncaught TypeError: Cannot read properties of undefined (reading 'errorCode')
        at <anonymous>:1:20
    (anonymous) @ VM114:1
    VM115:1 Uncaught TypeError: Cannot read properties of undefined (reading 'libReady')
        at <anonymous>:1:20
    (anonymous) @ VM115:1
    VM116:1 Uncaught TypeError: Cannot read properties of undefined (reading 'errorCode')
        at <anonymous>:1:20
    (anonymous) @ VM116:1
    VM117:1 Uncaught TypeError: Cannot read properties of undefined (reading 'libReady')
        at <anonymous>:1:20
    (anonymous) @ VM117:1
    VM118:1 Uncaught TypeError: Cannot read properties of undefined (reading 'errorCode')
        at <anonymous>:1:20
    (anonymous) @ VM118:1
    VM119:1 Uncaught TypeError: Cannot read properties of undefined (reading 'libReady')
        at <anonymous>:1:20
    (anonymous) @ VM119:1
    VM120:1 Uncaught TypeError: Cannot read properties of undefined (reading 'errorCode')
        at <anonymous>:1:20
    <link rel='stylesheet' id='kadence-blocks-infobox-css' href='https://test2demo.ru/wp-content/plugins/kadence-blocks/dist/blocks/infobox.style.build.css?ver=2.4.15' media='all' />
    
    <link rel='stylesheet' id='kadence-blocks-column-css' href='https://test2demo.ru/wp-content/plugins/kadence-blocks/dist/blocks/column.style.build.css?ver=2.4.15' media='all' />
    
    <link rel='stylesheet' id='kadence-blocks-btn-css' href='https://test2demo.ru/wp-content/plugins/kadence-blocks/dist/blocks/btn.style.build.css?ver=2.4.15' media='all' />
    
    <link rel='stylesheet' id='kadence-blocks-rowlayout-css' href='https://test2demo.ru/wp-content/plugins/kadence-blocks/dist/blocks/row.style.build.css?ver=2.4.15' media='all' />
    
    <link rel='stylesheet' id='kadence-blocks-tabs-css' href='https://test2demo.ru/wp-content/plugins/kadence-blocks/dist/blocks/tabs.style.build.css?ver=2.4.15' media='all' />
    • This reply was modified 2 years, 1 month ago by vaka2vaka.
    Thread Starter vaka2vaka

    (@vaka2vaka)

    Can I find out why there is a kadence-blocks at the top of the sitemap page?
    view-source !!!

    view-source:https://test2demo.ru/page-sitemap.xml

    https://ibb.co/ySg3hr2

    • This reply was modified 2 years, 1 month ago by vaka2vaka.
    • This reply was modified 2 years, 1 month ago by vaka2vaka.
    • This reply was modified 2 years, 1 month ago by vaka2vaka.
    • This reply was modified 2 years, 1 month ago by vaka2vaka.
    • This reply was modified 2 years, 1 month ago by vaka2vaka.
    Thread Starter vaka2vaka

    (@vaka2vaka)

    Hello. Rank Math support unequivocally recommends contacting you with this problem

    https://www.ads-software.com/support/topic/%d0%be%d1%88%d0%b8%d0%b1%d0%ba%d0%b0-sitemap-xml/#post-16130840

    All plugins have been updated. Theme Ocean WP An implementation from the Kadence Blocks plugin appears in the sitemap.
    Disabling Kadence Blocks fixes the problem
    Detailed description above

    Plugin Author Ben Ritner – Kadence WP

    (@britner)

    Hi,

    Thanks for posting, I’m looking into this, it appears Rank Math is calling the function “do_blocks” in a time and place where blocks are not supposed to be rendered. I’m going to put on my list to add a check to see if the request is an XMLRPC_REQUEST, if it is I’ll then ignore it which should fix the issue.

    Ben

    Thread Starter vaka2vaka

    (@vaka2vaka)

    Unfortunately the problem remained. I noticed that the problem occurs only when the “Images in sitemaps” option is turned on Rank Math SEO.

    Thread Starter vaka2vaka

    (@vaka2vaka)

    In my opinion before version 2.4.18, the “Images in sitemaps” option in Rank Math SEO did not affect the problem. So there is progress for me.

    Plugin Author Ben Ritner – Kadence WP

    (@britner)

    Hi,
    Are you saying after updating to 2.4.18 you still have an issue? Can you send me a link to the page so I can see what you are seeing?

    Ben

    Ankit

    (@freakkajla)

    I am also using rankmath and getting sitemap errors. Even after the update 2.4.18.

    I am getting the following error:

    This page contains the following errors:
    error on line 2 at column 1: Extra content at the end of the document
    Below is a rendering of the page up to the first error.

    And @vaka2vaka is right. No error when the “Images in sitemaps” option is turned off.

    • This reply was modified 2 years ago by Ankit.
    Plugin Author Ben Ritner – Kadence WP

    (@britner)

    No error when the “Images in sitemaps” option is turned off.

    Yes, that is because for some reason RankMath devs thought it was a good idea to call render block for that feature.

    @freakkajla can you link to this so I can see the source code on the pagemap?

    Ben

    Ankit

    (@freakkajla)

    Here you do: https://truexplainers.com/sitemap_index.xml (Click on post or page sitemap for the error to show up)

    Since I’ve removed the sitemap caching (wprocket), the error will appear only once.

    Plugin Author Ben Ritner – Kadence WP

    (@britner)

    Hi I wasn’t able to see the error. When I clicked through no error was shown?

    Ben

    Thread Starter vaka2vaka

    (@vaka2vaka)

    Ankit described everything exactly. I re-enabled the pictures option RankMath

    https://test2demo.ru/page-sitemap.xml

    The site is a test site, so I will leave the option to make it more convenient for you.

    • This reply was modified 2 years ago by vaka2vaka.
    • This reply was modified 2 years ago by vaka2vaka.
    Plugin Author Ben Ritner – Kadence WP

    (@britner)

    Thanks!

    Here is an updated version if you want to test: https://www.kadencewp.com/wp-content/uploads/2022/11/kadence-blocks_v2_4_19.zip

    That should resolve.

    Ben

    Thread Starter vaka2vaka

    (@vaka2vaka)

    (@britner)

    Thank you! v2_4_19.zip fixed everything for me.

    sunnyt13

    (@sunnyt13)

    I was having this issue as well when using when using this snippet (https://newpulselabs.com/rank-math-sitemaps-not-updating-fix/) to disable RankMath’s caching.

    2.4.19 seems to resolve it for me also.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Error sitemap.xml’ is closed to new replies.