Fatal error: Out of memory

[ad_1]

Hi. From one day to the next, my site happened to have this error, without having updated anything or made any changes to justify it.

Fatal error: Out of memory (allocated 367001600) (tried to allocate 262144 bytes) in /var/www/html/wp-content/plugins/w3-total-cache/ObjectCache_WpObjectCache.php on line 36

Fatal error: Out of memory (allocated 367001600) (tried to allocate 262144 bytes) in /var/www/html/wp-includes/class-wp-fatal-error-handler.php on line 35

Therefore, I proceeded to do the following things:

1) In wp-config:
define( ‘WP_MEMORY_LIMIT’, ‘512M’ );
2) In php.ini:
memory_limit = 512M
max_execution_time = 3000
3) In .htaccess:
php_value memory_limit 512M

Someone in another forum suggested the following to me “Add the line ini_set(‘memory_limit’, ‘-1’); to your wp-config.php file.” and i tried too. It didn’t work, so I deleted it.

The other three things I did keep but the site keeps giving the same error.

And yes, I reset Apache after the modifications.

I don’t know what to do. Can someone help me please?

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer