• This happens whenever i try to press any feature in the admin console. I tried manually updated wp but it still does this:

    Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 7680 bytes) in /data/16/2/120/21/2935184/user/3253080/htdocs/wp-admin/custom-background.php on line 84

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter j4yw4lk

    (@j4yw4lk)

    Moderator t-p

    (@t-p)

    Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).

    If you have access to your Dashboard’s Plugins page, try deactivating ALL (yes all) plugins temporarily to see if this resolves the problem (plugin functions can interfere). If this works, re-activate them individually (one-by-one) to find the problematic plugin(s).

    Thread Starter j4yw4lk

    (@j4yw4lk)

    Ty. It worked. Now i have a few more errors that ill post in another thread.

    This error can also be corrected by increasing your PHP Memory Limit.

    Allowed memory size of 41943040 bytes exhausted – Indicated your PHP Memory limit is set to lower than 41 MB.

    A lot of themes nowadays (such as Divi) require a memory limit of at least 128MB.

    To see exactly what your PHP Memory Limit is:

    * Create a new file in the root folder of your WordPress installation called info.php

    * Place the following code inside:

    <?php
    
    // Show all information, defaults to INFO_ALL
    phpinfo();
    
    ?>

    * Access the file from your web browser (i.e. https://yourdomain.com/wordpress/info.php

    * Look for memory_limit

    Depending on what value this is, I would recommend increasing to at least 128MB to avoid such errors with future plugins/themes.

    A lot of web hosts allow you to modify this limit from inside of cPanel or with a custom php.ini file inside your /path/to/home.

    Good luck!

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