Title: PHP Fatal Error
Last modified: February 22, 2022

---

# PHP Fatal Error

 *  Resolved [craighobson](https://wordpress.org/support/users/craighobson/)
 * (@craighobson)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/php-fatal-error-290/)
 * We keep getting this fatal error even with the latest version 3.0.4
 *     ```
       2022/02/22 22:37:08 [error] 60634#60634: *923192 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given in /www/buycolorguard_710/public/wp-content/plugins/wc-fields-factory/includes/wcff-injector.php:91
       Stack trace:
       #0 /www/buycolorguard_710/public/wp-content/plugins/wc-fields-factory/includes/wcff-injector.php(91): method_exists(NULL, '__unset')
       #1 /www/buycolorguard_710/public/wp-content/plugins/wc-fields-factory/includes/wcff-product-fields.php(119): Wcff_FieldsInjector->inject('woocommerce_bef...')
       #2 /www/buycolorguard_710/public/wp-includes/class-wp-hook.php(307): Wcff_ProductFields->fields_injector('')
       #3 /www/buycolorguard_710/public/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
       #4 /www/buycolorguard_710/public/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
       #5 /www/buycolorguard_710/public/wp-content/themes/Avada/woocommerce/single-product/add-to-cart/variable.php(30): do_action('woocommerce_bef...')
       #6 /www/buycolorguar" while reading response header from upstream, client: 73.50.10.193, server: www.colorguardrailing.com, request: "GET /wp-json/wc-quick-view-pro/v1/view/52008 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php8.0-fpm-buycolorguard.sock:", host: "www.colorguardrailing.com:48194", referrer: "https://www.colorguardrailing.com/classic-railing-configurator"
       ```
   
 * Help? Thanks!

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

 *  Plugin Author [Saravana Kumar K](https://wordpress.org/support/users/mycholan/)
 * (@mycholan)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/php-fatal-error-290/#post-15393826)
 * Hi, could you delete the WC Fields Factory plugin and reinstall it, I had released
   a silent update (a week ago), for the same issue.
 * Pls let me know if you still facing this issue.
 *  Thread Starter [craighobson](https://wordpress.org/support/users/craighobson/)
 * (@craighobson)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/php-fatal-error-290/#post-15396550)
 * That worked. Thanks!

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

The topic ‘PHP Fatal Error’ is closed to new replies.

 * ![](https://ps.w.org/wc-fields-factory/assets/icon-128x128.jpg?rev=2738843)
 * [WC Fields Factory](https://wordpress.org/plugins/wc-fields-factory/)
 * [Support Threads](https://wordpress.org/support/plugin/wc-fields-factory/)
 * [Active Topics](https://wordpress.org/support/plugin/wc-fields-factory/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wc-fields-factory/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wc-fields-factory/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [craighobson](https://wordpress.org/support/users/craighobson/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/php-fatal-error-290/#post-15396550)
 * Status: resolved