Title: WordPress error
Last modified: April 18, 2023

---

# WordPress error

 *  Resolved [supashot](https://wordpress.org/support/users/supashot/)
 * (@supashot)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/wordpress-error-102/)
 * Hi,
 * I was testing the plugin and it generates an error on wordpress: “There has been
   a critical error on this website”
 * I can access the blog but the xml file generate an error. Any ideas?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwordpress-error-102%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [WP Grim](https://wordpress.org/support/users/wpgrim/)
 * (@wpgrim)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/wordpress-error-102/#post-16667082)
 * Hello [@supashot](https://wordpress.org/support/users/supashot/)
 * Please temporary enable [WP DEBUG](https://wordpress.org/documentation/article/debugging-in-wordpress/#wp_debug)
   on your site and send me PHP Error from this URL in order to check the issue.
 * Best regards
 *  Thread Starter [supashot](https://wordpress.org/support/users/supashot/)
 * (@supashot)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/wordpress-error-102/#post-16667782)
 * Thanks for your reply. Here is the log [https://terabox.com/s/1ioTlvYmGE7Ze2ON5MubL1g](https://terabox.com/s/1ioTlvYmGE7Ze2ON5MubL1g)
 *  Plugin Author [WP Grim](https://wordpress.org/support/users/wpgrim/)
 * (@wpgrim)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/wordpress-error-102/#post-16668051)
 * I found only 1 Fatal Error here, which can broke the XML Sitemap generating:
 *     ```wp-block-code
       PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 16777224 bytes) in /wp-includes/class-wpdb.php on line 2398
       ```
   
 * Please try to increase **PHP Memory Limit** on your site and check the Sitemap
   one more time.
 * If that doesn’t help, try enabling **WP_DEBUG** without logging and open the 
   Sitemap to see the exact sitemap generation error.
 * Regards
 *  Thread Starter [supashot](https://wordpress.org/support/users/supashot/)
 * (@supashot)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/wordpress-error-102/#post-16668354)
 * I added in wp-config.php: define(‘WP_MEMORY_LIMIT’, ‘256M’);
 * Same issue screenshot of memory usage: [https://teraboxapp.com/s/19YqW3Mj77zAEq3lrwjvUsA](https://teraboxapp.com/s/19YqW3Mj77zAEq3lrwjvUsA)
 *  Plugin Author [WP Grim](https://wordpress.org/support/users/wpgrim/)
 * (@wpgrim)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/wordpress-error-102/#post-16668852)
 * As we have discussed the issue on Live Chat, it needs to increase PHP Memory 
   Limit on your site, as you have more than 5000 Pages/Posts on your website.
 * Best regards
 *  Thread Starter [supashot](https://wordpress.org/support/users/supashot/)
 * (@supashot)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/wordpress-error-102/#post-16684477)
 * All sorted with the support! Thanks a lot for the amazing help. Purchased 5 licences.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘WordPress error’ is closed to new replies.

 * ![](https://ps.w.org/xml-sitemap-generator-for-google/assets/icon-256x256.gif?
   rev=3369212)
 * [Dynamic XML Sitemaps Generator for Google](https://wordpress.org/plugins/xml-sitemap-generator-for-google/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/xml-sitemap-generator-for-google/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/xml-sitemap-generator-for-google/)
 * [Active Topics](https://wordpress.org/support/plugin/xml-sitemap-generator-for-google/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/xml-sitemap-generator-for-google/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/xml-sitemap-generator-for-google/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [supashot](https://wordpress.org/support/users/supashot/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/wordpress-error-102/#post-16684477)
 * Status: resolved