Use of undefined constant gns_autobuild
-
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);
- The topic ‘Use of undefined constant gns_autobuild’ is closed to new replies.