New Landing How can we help? Themeforest Theme Support Dante Fatal error: Allowed memory size

Viewing 2 posts - 1 through 2 (of 2 total)
  • Posted in: Dante
  • #211171
    VSVDenBosch
    Member

    While adjusting my website I got the following error:

    Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 311296 bytes) in /var/www/vhosts/schapendonk-verharen.nl/httpdocs/wp-admin/menu.php on line 261

    From that moment I can not log into wordpress.

    What should I do now?

    #211181
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Methods for increasing the amount of memory a PHP script may consume

    1. If you have access to your install and are running a version of WordPress earlier than 3.0, try the plugin
    http://wordpress.org/extend/plugins/memory-bump/ as this is the easiest way to increase your RAM for WordPress.

    2. If you have access to your PHP.ini file, change the line in PHP.ini
    If your line shows 32M try 64M. If your line shows 64M try 128M
    memory_limit = 64M ; Maximum amount of memory a script may consume (32MB)

    3. If you don’t have access to PHP.ini try adding this to an .htaccess file:
    php_value memory_limit 64M

    4. Try adding this line to your wp-config.php file:
    Increasing memory allocated to PHP
    define(‘WP_MEMORY_LIMIT’, ’64M’);

    5. Talk to your host.

    Thanks
    Mohammad

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register