PHP 5x throws:
PHP Warning: Use of undefined constant gns_autobuild - assumed 'gns_autobuild' (this will throw an Error in a future version of PHP) in html/wp-content/plugins/gn-xml-sitemap/main.php on line 37
PHP Warning: Use of undefined constant gns_autobuild - assumed 'gns_autobuild' (this will throw an Error in a future version of PHP) in html/wp-content/plugins/gn-xml-sitemap/main.php on line 38
Suggested patch:
37,38c37,38
< add_action('delete_post', gns_autobuild ,9999,1);
< add_action('publish_post', gns_autobuild ,9999,1);
---
> add_action('delete_post', 'gns_autobuild' ,9999,1);
> add_action('publish_post', 'gns_autobuild' ,9999,1);
]]>
Hi, I’m getting this error on the sitemap xml:
This page contains the following errors:
error on line 18 at column 55: EntityRef: expecting ‘;’
Below is a rendering of the page up to the first error.
Screenshot: https://screencloud.net/v/3dSA
Someone can help me to fix that?
Thanks.
I’m having a unique problem. When i’m trying to open my sitemap like this ::
1. https://www.pcfunkies.com/sitemap.xml : It’s working fine ….
BUT
2. https://www.pcfunkies.com/sitemap.xml.gz : Then its showing an error like this :
“This page contains the following errors:
error on line 1 at column 1: Encoding error
Below is a rendering of the page up to the first error.”
Now, while i was checking whether my robots.txt file worked fine
by this URL : https://www.pcfunkies.com/robots.txt then I’m getting the sitemap URL as the second one !! What Should I do ? Please tell me … IT’S URGENT !!
Please i am having a problem with Google XML News Sitemap
]]>PAGE post_type should not be in for inclusion as they are not really news.
Thanks.
There was an error while I tried updating or creating the google-news-sitemap.xml. Seems the file is not writable. Please chmod the file so the webserver can write to the file (i.e. 644)
Have tried the file permission but error continues. Would appreciate it if you have any suggestion. Thanks.
https://www.ads-software.com/extend/plugins/gn-xml-sitemap/
never mind – solved the problem: google-news-sitemap.xml must be located in the root directory. chmod 644 is not sufficient, it has to be 777.
]]>