• Resolved mamatobaby

    (@mamatobaby)


    Hi there,

    We have been in contact with our host and they tell us it’s a coding issue. Since the updates, our website is unable to add/change any products within woocommerce. One such error is:

    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 12288 bytes) in /home/kellymtb/public_html/wp-admin/includes/ajax-actions.php on line 3047

    Please advise! Thank you.

Viewing 3 replies - 1 through 3 (of 3 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 32 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 mamatobaby

    (@mamatobaby)

    Oh goodness. I’ve forgotten about the deactivating each plugin to see if one of them was causing the problem and lo and behold, one of the plugins was indeed causing the issue! Thank you so much! I contacted the developer. ??

    Moderator James Huff

    (@macmanx)

    You’re welcome!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Coding Issues after updating’ is closed to new replies.