# Critical error after pushing local to staging

**URL:** <https://community.kinsta.com/t/critical-error-after-pushing-local-to-staging/2598>\
**Category:** Questions\
**Created:** [October 20, 2023, 1:43am UTC](https://community.kinsta.com/t/critical-error-after-pushing-local-to-staging/2598 "2023-10-20T01:43:47Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Warih\_Artiko](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/warih_artiko/32/2525_2.png) [@Warih\_Artiko](https://community.kinsta.com/u/Warih_Artiko)\
**Post date:** [October 20, 2023, 1:43am UTC](https://community.kinsta.com/t/critical-error-after-pushing-local-to-staging/2598/1 "2023-10-20T01:43:47Z")

</div>

Hello, pardon my english… after developing my website in DevKinsta (local), i’ve tried to bring it to staging. all the transfer process went well, but when to “critical error” after it. Any suggestion what i supposed to do?

---

<div class="post-metadata">

**Author:** ![Agus](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/agus/32/1515_2.png) [@Agus](https://community.kinsta.com/u/Agus)\
**Post date:** [October 20, 2023, 2:22am UTC](https://community.kinsta.com/t/critical-error-after-pushing-local-to-staging/2598/2 "2023-10-20T02:22:11Z")

</div>

Hi there @Warih_Artiko 👋 and welcome to Kinsta Community!

To clarify, did you get the “Critical Error” on your local site on your local computer, or did you get it on your Staging site (and what’s the site name in question that is hosted in MyKinsta) ?  
Could you please also upload some screenshots of the error in question so that we can take a look and see what might be causing it and if we can suggest anything to be done based on that?

regards,  
Agus

---

<div class="post-metadata">

**Author:** ![Warih\_Artiko](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/warih_artiko/32/2525_2.png) [@Warih\_Artiko](https://community.kinsta.com/u/Warih_Artiko)\
**Post date:** [October 20, 2023, 2:30am UTC](https://community.kinsta.com/t/critical-error-after-pushing-local-to-staging/2598/3 "2023-10-20T02:30:31Z")

</div>

Hi Pak Agus, i get it on my staging site ([https://stg-turtlewaxindonesia-staging.kinsta.cloud/](https://stg-turtlewaxindonesia-staging.kinsta.cloud/))

 ![Screenshot 2023-10-20 at 09.27.29](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/5/53b50fb525d165c0b0008c9dd02728b3a5385c0a.png)

---

<div class="post-metadata">

**Author:** ![Agus](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/agus/32/1515_2.png) [@Agus](https://community.kinsta.com/u/Agus)\
**Post date:** [October 20, 2023, 2:42am UTC](https://community.kinsta.com/t/critical-error-after-pushing-local-to-staging/2598/4 "2023-10-20T02:42:22Z")

</div>

Thank you sir! 😃

I checked your staging site (both with `?nocache` and without bypassing cache) but I couldn’t replicate that critical error issue as shown in your screenshot

 ![Screenshot from 2023-10-20 09-33-43](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/9/981355eaa7bcfeaa3c86ddf56bce71e1ae74310b.jpeg)  
 ![Screenshot from 2023-10-20 09-33-08](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/9/9f0cb834e951e8255c7402c1ce3cda676e535438.jpeg)

Did you get the error when you logged in to the WP Dashboard? as I only checked it from the homepage (without logging in to your dashboard).

I also checked in your MyKinsta , and in the “ **Logs** ” section of that staging site in question and noticed several recent Fatal Error like as follow:

```auto
2023/10/20 02:27:04 [error] 4231#4231: *578 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught WC_Data_Exception: Invalid billing email address in /www/............/public/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php:943

```

something related to that `woocommerce` plugin .

As this seems to be a specific plugin related issue and the error happens on the hosting server, I would suggest to reach out to our [support team via chat instead - that can be done from your MyKinsta control panel](https://kinsta.com/docs/contact-kinsta-support/#open-a-support-chat), so they can help to assist you with the above fatal error issue.

Hope that helps!

Cheers (greetings from Jakarta/Tangerang 😃 ),  
Agus

---

<div class="post-metadata">

**Author:** ![Warih\_Artiko](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/warih_artiko/32/2525_2.png) [@Warih\_Artiko](https://community.kinsta.com/u/Warih_Artiko)\
**Post date:** [October 20, 2023, 2:45am UTC](https://community.kinsta.com/t/critical-error-after-pushing-local-to-staging/2598/5 "2023-10-20T02:45:23Z")

</div>

Thank you Pak! will chat the support team ASAP.

Iko - Jakarta/Pluit

---

<div class="post-metadata">

**Author:** ![Agus](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/agus/32/1515_2.png) [@Agus](https://community.kinsta.com/u/Agus)\
**Post date:** [October 20, 2023, 2:46am UTC](https://community.kinsta.com/t/critical-error-after-pushing-local-to-staging/2598/6 "2023-10-20T02:46:42Z")

</div>

You’re most welcome sir Iko! 😃  
Alright sounds good then! 👍

---

<div class="post-metadata">

**Author:** ![Agus](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/agus/32/1515_2.png) [@Agus](https://community.kinsta.com/u/Agus)\
**Post date:** [October 20, 2023, 3:14am UTC](https://community.kinsta.com/t/critical-error-after-pushing-local-to-staging/2598/7 "2023-10-20T03:14:26Z")

</div>

I can see that my colleague from the support team has handled you there 😃

I also informed him internally what I noticed/found on your Staging site, and most likely the Fatal Error was due to the incorrect email set in the wp\_options ( **admin\_email** ) - which somehow got changed during the search and replace process (and the email address would look something like this incorrect email format: `info@https://yourstagingsitename.kinsta.cloud` ) .

This is a _known bug_ issue with DevKinsta indeed (similar to what has been reported in the [other thread here](https://community.kinsta.com/t/email-addresses-changes-when-pulling-from-live-to-local/2588) as well) and we have reported this issue before to our internal devs team 🙇‍♂️ .

So yeah my colleague will help to assist you on how to change that email address with the correct mail address/format. I told him the same about this and the solution that can be tried (as [shown here](https://stackoverflow.com/questions/66708210/fatal-error-uncaught-wc-data-exception-invalid-billing-email-address) as well)

Regards,  
Agus

---

<div class="post-metadata">

**Author:** ![Warih\_Artiko](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/warih_artiko/32/2525_2.png) [@Warih\_Artiko](https://community.kinsta.com/u/Warih_Artiko)\
**Post date:** [October 20, 2023, 3:17am UTC](https://community.kinsta.com/t/critical-error-after-pushing-local-to-staging/2598/8 "2023-10-20T03:17:45Z")

</div>

once again, thank you Sir Agus!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/8/80f8c4e56fecc02327a0964e6bf63a716483529f.png) [@system](https://community.kinsta.com/u/system)\
**Post date:** [October 22, 2023, 3:18pm UTC](https://community.kinsta.com/t/critical-error-after-pushing-local-to-staging/2598/9 "2023-10-22T15:18:43Z")

</div>

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