• Resolved ARTWORX

    (@artworxdigi)


    Hi,

    a client shop of us is experiencing an issue, that another user also stated in this forum. His post is closed due to inactivity. https://www.ads-software.com/support/topic/internal-server-error-at-checkout-5/

    Using WooCommerce Stripe Payment Gateway – When the customer goes to complete the Payment, they get an error message – “Internal Server Error” – in a red warning box. The page is still visible.

    It appears to the customer that their payment wasn’t taken, but in fact it was. It shows both in the Orders section of the Dashboard and also in the Stripe Dashboard.

    Customers then try to place another order, because they think their payment failed because of the red error box.

    The fatal-error.logs always state in such a case

    PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 53248 bytes) in /home/wp/disk/wordpress/wp-includes/wp-db.php on line 2022

    which means, that the PHP Worker process doesn’t have enough memory and therefore failed. Last time this happend we increased the PHP memory limit from 512MB to 1024MB which is the maximum our hoster allows. But since 10 days the error reappears again now going over 1024MB.

    To be honest: consuming more than 1GB of RAM to simply place an order by creditcard doesn’t seem to be the right thing. We’ve already disabled every plugin we do not need to keep the shop running in it’s current state.

    Can you please give us a hint, what may be the cause here? We’re hosting on raidboxes.io a german hoster specialized in WordPress hosting.

    Another thing the live error log is throwing every 5minutes:

    PHP Warning: php_uname() has been disabled for security reasons in /home/wp/disk/wordpress/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-api.php on line 69

    Please can you help us? Our client is not amused about the situation…
    Thank you very much in advance
    Lars

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ARTWORX

    (@artworxdigi)

    Ok, we’ve isolated our problem. It was not related to the WooCommerce Stripe Plugin, but to another plugin called PostSMTP, that was in charge of sending out e-mails via an external SMTP. It caused the memory exhaust in combination with stripe.

    We’ve changed the plugin to WP Mail SMTP, which at the end does the very same and our error disappeared.

    Plugin Support Gui A. a11n

    (@guicmazeredo)

    Hi @artworxdigi ! I’m glad to hear you figured it out. Thanks for posting your findings here. That helps other users experiencing similar issues in the future.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Internal Server Error after checkout’ is closed to new replies.