• I just upgraded wordpress for two sites. One site had not issues with the upgrade, the other I am getting the below message.

    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 49152 bytes) in /home/integumetr1x/public_html/wp-content/themes/Divi/includes/builder/module/Shop.php on line 369

    Any help?
    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator James Huff

    (@macmanx)

    If you’re seeing this error either suddenly (no specific task was done to cause the error) or frequently, try deactivating all plugins to rule-out a plugin-specific issue and try switching themes to rule-out a theme-specific issue.

    Otherwise, 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)

    Thread Starter cahaden

    (@cahaden)

    Thank you for the quick information James. Where would I find the php.ini file?

    Moderator James Huff

    (@macmanx)

    You’ll need to check your hosting provider’s documentation for specifics, it varies depending on the server configuration, and some use a file called phprc instead.

    Thread Starter cahaden

    (@cahaden)

    Thanks. Was working with them yesterday. Hoping to have everything resolved today.

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

The topic ‘Fatal error: Allowed memory size’ is closed to new replies.