Out of memory error when adding a new plugin [duplicate]

-3

After updating wordpress to the latest version it is not possible to install plugins, add new articles or edit articles.

Any action you do appears on this message.

Fatal error: Out of memory (allocated 247726080) (tried to allocate 17615693 bytes) in /backup/public_html/teste/wp-includes/wp-db.php on line 1094
    
asked by anonymous 09.09.2015 / 19:36

1 answer

0

Do the following:

Create a php.ini file and insert it into the wp-admin folder with these codes:

max_input_vars = 9000
upload_max_filesize = 8M
session.cache_limiter = public
memory_limit = QTDE_MEMORIA_PONHA; 

No wp-config: define('WP_MEMORY_LIMIT', '64M');

SOURCE

    
09.09.2015 / 19:49