Title: fatal error php 8.0
Last modified: February 7, 2023

---

# fatal error php 8.0

 *  Resolved [Eduard Doloc](https://wordpress.org/support/users/rwky/)
 * (@rwky)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-php-8-0-2/)
 * Hello,
 * I have upgraded to php 8.0 since my hosting does not allow me to use 7.4 anymore
   and I have a issue that crashes the checkout (you can’t place order).
 * `PHP Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must
   be of type array, string given in /www/xxx/public/wp-content/plugins/wc-pickup-
   store/includes/admin/wps-admin.php:132`
 * The good news is that if you upgrade to php 8.1, the error seems to solve by 
   itself, but I am pretty sure there are more people who will need to upgrade soon
   and hope they will upgrade to a newer version OR this will get fixed in the meantime!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Keylor Mendoza](https://wordpress.org/support/users/keylorcr/)
 * (@keylorcr)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-php-8-0-2/#post-16448709)
 * Thank you [@rwky](https://wordpress.org/support/users/rwky/) for your report.
 * I will be working this issue for the next release very soon
 * Best regards
 *  [nemanja.radevic](https://wordpress.org/support/users/nemanjaradevic/)
 * (@nemanjaradevic)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-php-8-0-2/#post-16558941)
 * this hasn t been resolved
 * [14-Mar-2023 15:38:29 UTC] PHP Fatal error: Uncaught Error: Class “WC_PICKUP_STORE”
   not found in /srv/htdocs/wp-content/plugins/wc-pickup-store/includes/class-wps-
   init.php:231
   Stack trace:

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘fatal error php 8.0’ is closed to new replies.

 * ![](https://ps.w.org/wc-pickup-store/assets/icon-256x256.jpg?rev=2011755)
 * [WC Pickup Store](https://wordpress.org/plugins/wc-pickup-store/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wc-pickup-store/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wc-pickup-store/)
 * [Active Topics](https://wordpress.org/support/plugin/wc-pickup-store/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wc-pickup-store/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wc-pickup-store/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [nemanja.radevic](https://wordpress.org/support/users/nemanjaradevic/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-php-8-0-2/#post-16558941)
 * Status: resolved