WooCommerce Checkout Blank After Migration

Hey Guys, how you doing :slight_smile: Hope each one of you are doing great.

I have been scratching my head the whole day around this, so I finally decided to see if any of you could help with the issue.

I have built this site in a dev enviroment, once I migrated the site to the new hosting and adjusted a few things I realized the checkout page is blank.

I have been looking and looking and nothing so far, would anyone have a light on the issue? I have asked the hosting provider to turn on SSL certificate which seems to be working according to : https://www.sslshopper.com/ssl-checker.html#hostname=http://hypoxicum.de/ I also ran better search and replace to replace the http for https

I would appreciate any help.

Thank you and miss you all!

Hi Joao,

It’s good to hear from you. I have logged in and checked your site. When setting SSL, please make sure that you using is using https too. You can go to Settings > General and edit the Site URL and WordPress address URL to use https.

Once it is changed, you can check the check out page again. If it is still displaying a white blank page then it could be a fatal error that is causing it. You have to enable the debug mode so that we can find out what is the error. You can do this by opening wp-config.php and adding


define('WP_DEBUG', false);

/* That's all, stop editing! Happy blogging. */

When you revisit the check out page, you should have some error output describing the issue in more detail.

Please let us know how it goes.

Hi Rue,

Thanks for the help, I indeed had forgot to replace the URLs General.

I have been trying to solve that myself, and I believed it was a memory related issue as stated on log.

[08-Dec-2018 15:44:32 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 32768 bytes) in /kunden/412996_81241/wordpress/wordpress/wp-content/themes/pro/cornerstone/includes/views/elements/text.php on line 1
[08-Dec-2018 15:44:32 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 32768 bytes) in /kunden/412996_81241/wordpress/wordpress/wp-includes/functions.php on line 3743
[08-Dec-2018 15:44:32 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 32768 bytes) in Unknown on line 0

I trying set the memory on WP Config and even called the hosting to improve their memory limit on server, do you think this numbers look correct?

Any Insight on the issue? So Pretty much everything works but checkout, really dont know what could be causing it.

Thanks

I also trying exporting the website to another installation in a different server and I am getting a different error on the same screen

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@sorrymomdesign.com to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Hello Joao,

Thanks for updating in! I have investigated this issue further. I ended up editing the checkout page using only the [woocommerce_checkout] and it is still giving me a white blank screen. I temporarily switched the theme using Twenty Seventeen and I still got the same result. I therefore conclude that this issue has something to do with your server configuration. I noticed that you are using PHP version 7.0.28 and WordPress 4.9 requires at least 7.2 (https://wordpress.org/about/requirements/). Please make sure that you have meet the requirements to run the latest WordPress so that the theme and plugin features will work properly. This could possibly be the cause of the issue. In most cases you cannot update your PHP version yourself and need to contact your host about this. The upgrade process is an easy process and should be something your host can do for you without affecting your website or charging you for it. Here’s a letter you can send to your hosting company:

Dear host,

I'm interested in running the open-source WordPress <https://wordpress.org/> web software and 
I was wondering if my account supported the following:

- PHP version 7.2 or greater
- MySQL version 5.6 or greater OR MariaDB version 10.0 or greater
- Nginx or Apache with mod_rewrite module
- HTTPS support

Looking forward to your reply.

Hope this helps. Kindly let us know.

Hey Rue,

Thanks for your reply, Had no idea we needed php 7.2.

I will check that.

Thanks for your help :slight_smile:

I will let you know how it goes!

No problem.
Please let us know how it goes then.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.