Error Code :
"Fatal error: Out of memory (allocated 19398656) (tried to allocate 30720 bytes) in /home/xxx/public_html/wp-admin/includes/plugin.php on line 675"
How to solve it :
1. Open your wp-config.php, then add this:
define('WP_MEMORY_LIMIT', '256M');
2. Create new file named php.ini on Your wordpress root directory, add this:
memory_limit=64M
3. Also, copy php.ini file to folder wp-admin.
4. Now, refresh your website.
NOTE :
If you got this error :
"Parse error: syntax error, unexpected T_STRING in home/name/public_html/wp-config.php on line 21"
Delete:
define('WP_MEMORY_LIMIT', '256M');
on your wp-config.php file.
define('WP_MEMORY_LIMIT', '256M');
2. Create new file named php.ini on Your wordpress root directory, add this:
memory_limit=64M
3. Also, copy php.ini file to folder wp-admin.
4. Now, refresh your website.
NOTE :
If you got this error :
"Parse error: syntax error, unexpected T_STRING in home/name/public_html/wp-config.php on line 21"
Delete:
define('WP_MEMORY_LIMIT', '256M');
on your wp-config.php file.
Tidak ada komentar:
Posting Komentar