Title: PHP8 error
Last modified: February 3, 2023

---

# PHP8 error

 *  Resolved [onurguler](https://wordpress.org/support/users/onurguler/)
 * (@onurguler)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/php8-error-10/)
 * Hello sir, first of all I really loved your plugin there is lots of things to
   customize. But there is one problem. Since I updated the website php8 the error
   comes with it. One of the websites when i try to select zipcode “error:” text
   comes on prompt. And other website when i try to select some meals with ingredients
   I see same error

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

 *  Thread Starter [onurguler](https://wordpress.org/support/users/onurguler/)
 * (@onurguler)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/php8-error-10/#post-16436430)
 * I deactivated all plugins and change theme to Hello elementor but still error
   is coming. There is nothing in logs either but for these two error
 * -POST /wp-admin/admin-ajax.php HTTP/1.1
 * -“PHP message: PHP Warning: Constant FS_METHOD already defined in (/var/www/vhosts/
   domainname/httpdocs/wp-config.php) on line 96” while reading response header 
   from upstream
 * the line 96 is = define (‘FS_METHOD’, ‘direct’);
 *  Plugin Author [ollybach](https://wordpress.org/support/users/ollybach/)
 * (@ollybach)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/php8-error-10/#post-16436804)
 * Hi
 * this hasn’t really got anything to do specifically with wppizza or indeed php8.
 * you’ve simply added your ‘FS_METHOD’ constant in the wrong place in your wp-config.
   php
 * Hope that helps
    -  This reply was modified 3 years, 4 months ago by [ollybach](https://wordpress.org/support/users/ollybach/).
 *  Plugin Author [ollybach](https://wordpress.org/support/users/ollybach/)
 * (@ollybach)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/php8-error-10/#post-16452500)
 * Marked as resolved due to inactivity
    -  This reply was modified 3 years, 4 months ago by [ollybach](https://wordpress.org/support/users/ollybach/).

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

The topic ‘PHP8 error’ is closed to new replies.

 * ![](https://ps.w.org/wppizza/assets/icon-256x256.png?rev=2498121)
 * [WPPizza - A Restaurant Plugin](https://wordpress.org/plugins/wppizza/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wppizza/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wppizza/)
 * [Active Topics](https://wordpress.org/support/plugin/wppizza/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wppizza/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wppizza/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [ollybach](https://wordpress.org/support/users/ollybach/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/php8-error-10/#post-16452500)
 * Status: resolved