Wordpress Plugin

Imagen de ernesto
Español

Al intentar editar como administrador un plugin aparece el siguiente emnsaje de error

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 131072 bytes) in /home/usuario/directorio/subdirectorio/wp-admin/includes/misc.php on line 278

Taxonomy upgrade extras: 
Imagen de ernesto

el proyecto esta alojado en bluehost y ellos ofrecen como alternativa modificar el PHP.INI para solucionar el problema.
Es lo que hice agregando el PHP.INI en directorio raiz y el problema quedo solucionado

Ernesto Fuentes Webmaster&SEO

Imagen de dev2512

El problema se soluciono aplicando estas sugerencias del soporte tecnico de Bluehost:

  • Your php.ini file limits the amount of memory a process can use to prevent performance problems on your site. This error is caused by a process trying to exceed that limit.

    To raise the limit, follow these steps.

    1. Log into http://www.Bluehost.com. 2. Click on File Manager and choose Web Root. 3. Navigate to the directory your program uses for it's php.ini. This is generally the public_html directory, which should already be open. 4. Right click on the php.ini file and select Code Edit. 5. Go to line 232 and raise the value. If you've customized your php.ini file memory_limit may not be on line 232. In that case you may need to run a search for memory_limit using ctrl+f.

    By default your memory limit is 32 MB. Generally you don't want to go higher than 64MB.

    If needed you can set your entire account to use the php.ini file in your public_html directory for all php.ini calls. This is done with the PHP Config tool in your cPanel by choosing the PHP5 (Single php.ini) option.

    This is most often done when the memory error doesn't clear after raising the value.

    Finally it may still be necessary to copy the php.ini file into the folder your script is stored in or it's administration/configuration folder. You'll need to consult the script's documentation to find the needed location.