• Hi all,

    I’m building a site using network solutions hosting. The setup of wordpress on the site was done by a friend and I didn’t realize that the wordpress version installed wasn’t up to date and I went ahead and installed the virtue theme by kadence (free version). Now the following fatal error shows up anytime I click out of the dashboard and doesn’t allow me to update wordpress or remove the theme:

    Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 71 bytes) in /data/11/1/23/74/1023726/user/1054057/htdocs/gammarino/wordpress/wp-includes/capabilities.php on line 432

    Any thoughts/suggestions much appreciated.

    All the best!
    Maddy

Viewing 1 replies (of 1 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    It sounds like the theme is pushing you past PHP’s memory allocation on your hosting account.

    Here are three ways to increase PHP’s memory allocation:

    1. If you can edit or override the system php.ini file, increase the memory limit. For example, memory_limit = 128M

    2. If you cannot edit or override the system php.ini file, add php_value memory_limit 128M to your .htaccess file.

    3. If neither of these work, it’s time to ask your hosting provider to temporarily increase PHP’s memory allocation on your account. Keep in mind that most decent hosting providers allocate 64 MB to PHP under each account, and most decent hosting providers allow users to temporarily increase the memory allocation. If your hosting provider won’t accommodate you, perhaps it’s time to find a new hosting provider.

    (in the above examples, the limit is set to 128MB)

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal Error after Installing Theme’ is closed to new replies.