• ( ! ) Fatal error: Out of memory (allocated 12582912) (tried to allocate 32768 bytes) in C:\Users\PAWAN\Documents\Websites\www.pawanl.dev.cc\wp-content\plugins\woocommerce\includes\api\class-wc-rest-authentication.php on line 484

    this is the error i am getting on my wordpress website and it keeps on changing like i am also getting this one
    ( ! ) Fatal error: Out of memory (allocated 12582912) (tried to allocate 28672 bytes) in C:\Users\PAWAN\Documents\Websites\www.pawanl.dev.cc\wp-content\plugins\woocommerce\includes\api\v1\class-wc-rest-coupons-controller.php on line 550

Viewing 1 replies (of 1 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. The plugin quoted in the error is what’s taking the last of the resources, the last drop in a full glass, but it may necessarily be the one hogging most of the resources.

    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.

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

Viewing 1 replies (of 1 total)
  • The topic ‘out of memory error’ is closed to new replies.