• Resolved silneu

    (@silneu)


    Hello,

    I am creating a new shop with woocommerce and the sante theme from https://qodeinteractive.com.

    When the customer is in his shopping cart and want to check out after he filled in all necessary fields, the screen scolls up and shows an invisible error message. When I examine the site I can see the following message: “Failed to load resource: the server responded with a status of 500 () /?wc-ajax=checkout:1”

    When I check in the Log-Files my Woocommerce status I find the following message: “CRITICAL Out of memory (allocated 698363904) (tried to allocate 20480 bytes) in /homepages/10/d421981990/htdocs/clickandbuilds/Flairie/wp-includes/class-wp-hook.php in Zeile 280”

    I already added “define( ‘WP_MEMORY_LIMIT’, ‘256M’ );” to my wp-config.php file.

    And I added
    post_max_size=256M;
    max_execution_time = 300;
    max_input_vars = 5000;
    to my PHP.ini file.

    I don`t know what else I can do.
    Hope anybody has an idea.

    Kind regards,
    Silvia

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello @silneu ,

    I am sorry to see the problem.

    It looks like you have tried the correct steps but sometimes your hosting provider can limit the PHP memory allocation. When that happens, you are unable to increase the limit by yourself.

    Please get in touch with your hosting provider and share the same details as you have shared here. I am sure they will be able to sort out the problem for you.

    Thank you ??

    Thread Starter silneu

    (@silneu)

    Hello,

    I got in touch with my hosting provide and I have now a PHP memory limit of 512 MB – but I still have the same problem.

    This is the message I get: CRITICAL Out of memory (allocated 693121024) (tried to allocate 8388616 bytes) in /homepages/8/d241488640/htdocs/Flairie/wp-includes/class-wp-hook.php in Zeile 275

    Kind regards,

    Silvia

    Thread Starter silneu

    (@silneu)

    Some additions:

    I now have uploaded a oho info.php to see how much memory I have really available. There is under the section Core/PHP Version 7.4.15 under the Point memory_limit -1.
    Does that mean I have no memory limit at all?
    The employee of my provider also told me to rename my php.ini files in the main folder and all subfolders into .user.ini . Was that helpful?

    The line “memory_limit=1024M” I only added in the .user.ini file in the main folder, not in the .user.ini files in the subfolders. Do I have to add it there as well?

    Kind regards,
    Silvi

    Thread Starter silneu

    (@silneu)

    Now in the info.php under memory_limit in the column Local Value is 1024M and under Master Value -1.

    Hello @silneu ,

    I understand this has been difficult to figure out the problem. The settings and file locations can be different in the different servers so providing a concrete answer regarding file locations is quite hard.

    In general, you should be fine if you follow this article to increase your memory limit.

    If these are not working, I will recommend to deactivate all plugins except WooCommerce and then try to checkout. More details on the conflict test here.

    In these cases, taking direct help from the server managers will be the right approach since tweaking server settings can be a little confusing at times.

    Let us know the update.

    Thank you ??

    Hi there,

    We’ve not heard back from you in a while, so I’m marking this thread as resolved.

    Hopefully, you were able to find a solution to your problem! If you have further questions, please feel free to open a new topic.

    Thank you ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘status of 500 – wc-ajax=checkout:1 – CRITICAL Out of memory’ is closed to new replies.