• Resolved Summer

    (@fpmsummer)


    I did some digging, and I found references to the “Undefined variable” error that crops up for sitemaps.classes.php on line 1075.

    Here’s the weird thing… I have a handful of sites, all running v3.06, and this error pops up on only one of them… all the others don’t have this error.

    I even added the filter you suggested on Github, but it has no effect.

    What should I look for, is there another workaround for this?

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Sybre Waaijer

    (@cybr)

    Hello again ??

    This issue has been found a while back and is fixed for the next release:
    https://github.com/sybrew/the-seo-framework/issues/330

    The workaround posted there was meant for a bug in 3.0.5 and below. I got a bit confused as the filter was mentioned.

    Please note that WP_DEBUG shouldn’t be enabled on production websites; it’s meant to find issues only. It can even expose sensitive information when you get unlucky.

    Thread Starter Summer

    (@fpmsummer)

    Cool. I really like this plugin, and I love that you added a filter to increase the number of pages to index.

    I can’t tell you how many errors on Google I’d been getting on the new Search Console for “coverage issues” for indexing pages that were noindex, because the Google XML Sitemaps plugin does not recognize posts that are set to noindex using SEO Framework. But now that I can adjust the index limit in your plugin, I don’t have to use the other plugin anymore.

    Thank you!

    Plugin Author Sybre Waaijer

    (@cybr)

    I’m glad you find the filter useful ?? This weekend you’ll get an option to change the limit, too. For your convenience, I suggest removing the filter after updating and use the option instead.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Undefined variable error’ is closed to new replies.