• Bashirahmed

    (@bashirahmed)


    Hi,
    I have a problem, and am a new user WordPress, I can’t login my site, whenever I tried I receive this message,
    ( Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 122880 bytes) in /home/jubbalan/public_html/wp-admin/menu.php on line 81 )
    I need your help how I can sort out this mess.

    THX

Viewing 2 replies - 1 through 2 (of 2 total)
  • Cyber735

    (@cyber735)

    Great, finally a question I can answer 😀

    I’m pretty new too, but I figured out how to fix this after many hours hahaha

    Here’s a pretty informative guide

    In short, you’ve got 5 options.

    FTP your site and

    1. Create php.ini and add memory_limit = 64M on the first line
    2. Stick in define('WP_MEMORY_LIMIT', '64M'); in wp-config.php
    3. Add php_value memory_limit 64M to .htaccess
    4. Place ini_set('memory_limit','64M'); in install.php
    5. Contact your hosting provider.

    In my case, I was on a shared hosting server, and I needed to get my host to migrate it to a new one and then I added define('WP_MEMORY_LIMIT', '64M'); in wp-config.php

    If you just need to access your dashboard, ftp your site and remove any unnecessary plugins (just move them temporarily) and you should get in.

    Good Luck 😉

    Thread Starter Bashirahmed

    (@bashirahmed)

    thanks for your replly, but still can you tell me how i can do step by step as i am new user;

    1- Create php.ini and add memory_limit=64 on the first line

    if you think is easy number two

    2- Stick in define(‘WP_MEMORY_LIMIT’, ’64M’); in wp-config.php

    also please how i can do

    THX Your help

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

The topic ‘Fatal error’ is closed to new replies.