Home › Forums › Themes Support › Gecko › Fatal error: Allowed memory size of 268435456 bytes exhausted
Tagged: Fatal error
- This topic has 7 replies, 2 voices, and was last updated 7 years, 6 months ago by Harry.
-
AuthorPosts
-
-
June 15, 2017 at 6:29 pm #5463
Hello.
Everything was going well but all of a sudden I noticed that I get this message:
“Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 72 bytes) in /home/chatzigiannis/public_html/_wg/wp-includes/wp-db.php on line 1841”
When I try to go to the product page in the backend:
/wp-admin/edit.php?post_type=product
I can still add products or make other changes but the Products backend page doesn’t work.
I have the latest version of WordPress and the theme (1.4.5). And I’ve increased the memory limits in wp-config.php and via .user.ini file. Nothing seems to work. I was just adding products when I noticed this.
Thank you in advance.
-
June 15, 2017 at 6:44 pm #5464
Hi Dimitris73,
Do you hosting your site on WordPress.com? If you hosting your site on WordPress.org you can activate plugin Jetpack to fix issue.
Could you disable captcha, i try login your site but don’t understand your language so can’t login.
Regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
June 15, 2017 at 6:50 pm #5465
Hi Harry and thanks for the quick response.
I just disabled captcha. Please try now.
-
June 15, 2017 at 6:51 pm #5466
This site is on a shared VPS, by the way.
-
June 15, 2017 at 7:38 pm #5469
Hi,
Can you try add the code below to wp-config.php
// Increase memory limit for hosting limit with low memory
ini_set( ‘memory_limit’,’256M’ );The account you send don’t have permission to edit.
Best Regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
June 15, 2017 at 10:08 pm #5474
I added it but it didn’t work. I had also added
define(‘WP_MEMORY_LIMIT’, ‘256M’);
It’s strange because I haven’t had a problem like this on this server before. Could it be some strange configuration? What do we do now?
-
June 15, 2017 at 10:44 pm #5478
It seems that this happened when I tried to save a product and something “stuck”. It’s probably a database issue. Do you have any idea what I could do?
-
June 15, 2017 at 11:28 pm #5480
Could you try add below code
define( ‘WP_MAX_MEMORY_LIMIT’ , ‘256M’ );
I search on google have more people have same issue with you because commerce site need more memory than normal site
http://www.wpbeginner.com/wp-tutorials/fix-wordpress-memory-exhausted-error-increase-php-memory/
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio
-
-
AuthorPosts
You must be logged in to reply to this topic.