• Error Message: Allowed memory size of 16777216 bytes exhausted (tried to allocate 7680 bytes) – …/…/wp/wp-includes/post.php on line 6114

    I had an earlier Fatal error, and I tried to increase the Memory Limit to 128M in Default-Constants.php

    After that error has gone, now this one. I can’t even go to login to the dashboard.

    • This topic was modified 7 years, 3 months ago by radiantworld.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    You should increase the PHP memory limit in your PHP configuration. You can easily do that through cPanel or contact your host.

    Thread Starter radiantworld

    (@radiantworld)

    Hi RoseHosting,

    I did open php.ini and php5.ini to change the memory limit from 16M to 64M still I’m getting the following error:

    Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 122880 bytes) in /…/…/wp-includes/post.php on line 5024

    and the line 5024 is
    $del_file = path_join( dirname($meta[‘file’]), $size[‘file’] );

    Hi,

    After making the changes in the php.ini file, make sure to restart the web server for the changes to take effect. If it is still not working, try adding the following line in the wp-config.php file:

    define(‘WP_MEMORY_LIMIT’, ’64M’);

    Thread Starter radiantworld

    (@radiantworld)

    @rosehosting

    I have added the line inside the wp-config.php file. Sorry for my poor knowledge, how do I restart the web server? Is it ok if I try in any other browser?

    Regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal Error’ is closed to new replies.