I was attempting to fix the fatal error allowed memory size of XXX exceeded problem I kept getting on my WP dashboard and when I tried accessing some of my plugins. I edited the wp-setting.php file to increase the memory from 32 mb to 64 mb.
if ( !defined('WP_MEMORY_LIMIT') ) define('WP_MEMORY_LIMIT', '32M');
if ( !defined('WP_MEMORY_LIMIT') ) define('WP_MEMORY_LIMIT', '64M');
After uploading it to the server via FTP, I could no longer access my WP dashboard and launching my website(http://loneplacebo.com) is also impossible. I get this message every time: Fatal error: Call to undefined function is_admin() in /home/loneplac/public_html/wp-includes/vars.php on line 16
I contacted my web host for advice, and they told me to install a default php.ini file and edit the memory limits there. I did as told, changing the memory to 128mb.
memory_limit = 32M ; Maximum amount of memory a script may consume (32MB)
memory_limit = 128M ; Maximum amount of memory a script may consume (128MB)
Nothing changed. I tried 64 mb. Nothing still. Then I contacted them again, and they told me to change the php configuration to php5(single php.ini). Nothing changed again.
Please help me. This is really stressing me out.