I tried to upload a "little" picture (0.9MB) to my new wordpress blog (newest version, plain install with studio theme, membership plugin). It is just a day old ... so not much on it.
When uploading this picture I get this error:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 491520 bytes) in ......./wp-includes/class-simplepie.php on line 4186
(I also played with the buddy press plug in but I never got it working - it gives me these errors a lot ... so I deactivated it again and it was fine). There are already a few pictures on it which are fine.
I googled a little and think I have a php memory problem (not really sure ... haha)
Here is what I found:
A) I create a file with the name ‘php.ini’ in the directory where your WordPress site is installed. In that just add the command memory_limit = 64M in it to increase the Memory Limit to 64 MB. No success.
B) I added a htaccess file with the following line: php_value memory_limit 64 No success. I even got only a Server error 500 ... so I had to remove this line again.
C) I added define('WP_MEMORY_LIMIT', '64M'); in my ‘wp-config.php’ file ... no success.
What else can I do? Or is it maybe something else ... ???
Do I need to do something after I changed the files ... restart it or something ...
Not sure if I have access to my php.ini file and where to find it?
Next thing I would do is to contact my Hoster to have a look at it ...