WordPress Error – Quick Fix

Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 32768 bytes) in /home/NavneetVishwas/public_html/navneetvishwas.com/wp-content/plugins/all-in-one-seo-pack/modules/aioseop_sitemap.php on line 3076

There has been a critical error on your website.

Solution:

To solve this problem you have to increase memory limit
First you need to edit the

wp-config.php

file on your WordPress site.

It is located in your WordPress site’s root folder, and you will need to use an FTP client or file manager in your web hosting control panel.

Next, you need to paste the following code in wp-config.php file just before the line that says ‘That’s all, stop editing! Happy blogging.’

define( ‘WP_MEMORY_LIMIT’, ‘256M’ );

Go to WordPress site’s root folder

  • wp-config.php
  • Edit this File
  • Paste The Code

define( ‘WP_MEMORY_LIMIT’, ‘256M’ );

  • Next, you need to paste the code in wp-config.php file just before the line that says ‘That’s all, stop editing! Happy blogging.’

I Hope Problem Resolved

Same Solution for some Other Problem Like 

Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 4096 bytes) in /home/Navneet Vishwas/public_html/navneetvishwas.com/wp-content/plugins/all-in-one-seo-pack/modules/aioseop_sitemap.php on line 2760

Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 20480 bytes) in /home/Navneet Vishwas /public_html/navneetvishwas.com/wp-includes/functions.php on line 6066

or

Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 131072 bytes) in /home/Navneet Vishwas /public_html/navneetvishwas.com/wp-content/plugins/elementor/core/editor/editor.php on line 763

There has been a critical error on your website. Please check your site admin email inbox for instructions.

Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 65536 bytes)

Leave a Reply

Your email address will not be published. Required fields are marked *