Title: PHP Fatal Error: Uncaught TypeOf
Last modified: May 14, 2022

---

# PHP Fatal Error: Uncaught TypeOf

 *  Resolved [billgaffney](https://wordpress.org/support/users/billgaffney/)
 * (@billgaffney)
 * [4 years ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-typeof/)
 * Afternoon…
 * After multiple large updates (Server, Apache, PHP, Maria-DB, WordPress and WooCommerce),
   I’m now receiving the following error message withthe plugin:
 * `[Sat May 14 20:44:54.846458 2022] [proxy_fcgi:error] [pid 15515:tid 140262582310656][
   client x.x.x.x:63684] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught
   TypeError: sizeof(): Argument #1 ($value) must be of type Countable|array, null
   given in /bitnami/wordpress/wp-content/plugins/pricing-deals-pro-for-woocommerce/
   core/vtprd-apply-rules.php:5179\nStack trace:\n#0 /bitnami/wordpress/wp-content/
   plugins/pricing-deals-pro-for-woocommerce/core/vtprd-apply-rules.php(1168): VTPRD_Apply_Rules-
   >vtprd_are_groups_in_inPop_list_check()\n#1 /bitnami/wordpress/wp-content/plugins/
   pricing-deals-pro-for-woocommerce/core/vtprd-apply-rules.php(979): VTPRD_Apply_Rules-
   >vtprd_manage_customer_rule_tests()\n#2 /bitnami/wordpress/wp-content/plugins/
   pricing-deals-pro-for-woocommerce/core/vtprd-apply-rules.php(182): VTPRD_Apply_Rules-
   >vtprd_manage_shared_rule_tests()\n#3 /bitnami/wordpress/wp-content/plugins/pricing-
   deals-for-woocommerce/woo-integration/vtprd-parent-cart-validation.php(4430):
   VTPRD_Apply_Rules->__construct()\n#4 /bitnami/wordpress/wp-content/plugins/pricing-
   deals-for-woocommerce/woo-integration/vtprd-parent-cart-validation.php(4290)...',
   referer: https://www.hidden.com/`
 * When the BASIC and/or PRO are enabled, it leads to a critical error. Making them
   inactive is the only option to regain functionality.
 * Although it had been working prior, obviously much was changed. It this a known
   issue or one perhaps isolated to my environment.
 * Thanks.
    -  This topic was modified 4 years ago by [billgaffney](https://wordpress.org/support/users/billgaffney/).
    -  This topic was modified 4 years ago by [billgaffney](https://wordpress.org/support/users/billgaffney/).

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

 *  Plugin Author [vark](https://wordpress.org/support/users/vark/)
 * (@vark)
 * [4 years ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-typeof/#post-15645949)
 * Hi,
    This is a PHP8 issue.
 * We’re in final testing for the PHP8 release.
 * In the meantime, suggest downgrading to PHP7+ .
 * Best,
    Vark
 *  Thread Starter [billgaffney](https://wordpress.org/support/users/billgaffney/)
 * (@billgaffney)
 * [4 years ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-typeof/#post-15647026)
 * Thank you for the incredibly prompt response, [Vark](https://wordpress.org/support/users/vark/).
   We’ll downgrade to PHP 7+ until then.
 * Marking this thread as resolved, but would direct anyone experiencing similar
   issues to watch [PHP 8 Compatibility thread](https://wordpress.org/support/topic/php-8-compatibility-51/)
   for additional updates.
    -  This reply was modified 4 years ago by [billgaffney](https://wordpress.org/support/users/billgaffney/).
 *  Plugin Author [vark](https://wordpress.org/support/users/vark/)
 * (@vark)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-typeof/#post-16056745)
 * Hi,
    The WordPress plugin team required a rewrite of the plugin, just completed.
   Best, Vark

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

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

 * ![](https://s.w.org/plugins/geopattern-icon/pricing-deals-for-woocommerce.svg)
 * [Pricing Deals for WooCommerce](https://wordpress.org/plugins/pricing-deals-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pricing-deals-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pricing-deals-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/pricing-deals-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pricing-deals-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pricing-deals-for-woocommerce/reviews/)

## Tags

 * [PHP7](https://wordpress.org/support/topic-tag/php7/)

 * 3 replies
 * 2 participants
 * Last reply from: [vark](https://wordpress.org/support/users/vark/)
 * Last activity: [3 years, 8 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-typeof/#post-16056745)
 * Status: resolved