those are all notices – not an error – within xml sitemap… those are lower than even a warning… could still be something, but rarely is a notice important… but I cannot look as you must not be using the version I referenced… that error does not make sense at that line in the version I have…
Support Forum
oh… what version do you use? Maybe i should clarify more.. I use the 1 in this thread because it supports multisite.. yeah.. i am on multisite and buddypress so i can’t use the singlesite version.
quickly looked at that version and those notices are harmless… he is using an array argument of ‘class’ when that element of the array may not exist… without digging too deep, to prevent the notice, he should do something like:
if (isset($b[“class”]) && $b[“class”] != __CLASS__) {
but the end result is still the same – no issue or error…
but interestingly, that looks like debug code… so only should be running in debug mode… not sure why you would get it regardless…
but it is beta code, right?
he doesn’t say much in the readme files about what he changed…
but I did a quick install of it on my multisite test site and it worked fine… no issues generating a sitemap either by cron or on every post…
so have you upped the memory and/or the execution time in the settings?
Thanks. you were right.. undefined errors no longer show up but the sitemap is still not generating. yeah.. it’s XML Sitemap Generator for WordPress 4.0beta10
Definitely not mem or execution time as i have tested it with minimal posts and plugins and even to the extent of trying the entire site copy on 2 different boxes nginx and apache. Something is wrong in between but i am not seeing it in the error log or anywhere.
Maybe i missed something… i don’t know yet.
Now I tested it on the main site vs network site… and I dont have buddypress… and its actually wp 3.5 beta…
is this on test site? can you disable buddypress temporarily just to make sure its not involved with ms/sp/bp?
My new findings:
A new wordpress test installation on the same server with Sitemap Generator 3.28 works and generates sitemap easily.
Sitemap Generator 4.0beta10 doesn’t even work on singlesite wp fresh out of box.
So the obvious is sitemap generator 4.0beta10 problem or at least my copy. Do we happen to have another version that works with multisite+sp?
so that same version works fine for me on multisite or regular wp with simple press… and I know we have other users using it too…
so we just need to find out what is happening locally for you…
have you disabled all other plugins and switched to the wp default theme and see if its still doing it with just sitemap and sp running?
Thanks. I think i might have a clue what goes wrong and it’s my part. I am super busy with my other projects so i didn’t really dig deep. No worries.. i will have it fixed when i have more time. My forum is pretty fresh so it’s not quite an issue yet.. Thanks.