DONOTCACHEPAGE redefined warning when used with “Google XML Sitemaps” plugin
-
Hi, there,
The following warning appears when using the News sitemap portion of this plugin in conjunction with the “Google XML Sitemaps” plugin.
Notice: Constant DONOTCACHEPAGE already defined in \wp-content\plugins\xml-sitemap-feed\models\public\sitemap-news.php on line 48
This can be solved checking for the defined constant first as follows…
if ( ! defined('DONOTCACHEPAGE') ) define('DONOTCACHEPAGE', true);
Thanks for the great plugin,
TL
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘DONOTCACHEPAGE redefined warning when used with “Google XML Sitemaps” plugin’ is closed to new replies.