Title: Fatal Error under PHP8.2
Last modified: March 5, 2024

---

# Fatal Error under PHP8.2

 *  Resolved [pid1984](https://wordpress.org/support/users/pid1984/)
 * (@pid1984)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-under-php8-2/)
 * Hey folks; having a White Screen of Death on our checkout page. Disabling the
   AgeChecker.Net plugin resolves it, but isn’t ideal for the client.
 * Please see logs:
 *     ```wp-block-code
       [Tue Mar 05 12:08:46.410834 2024] [fcgid:warn] [pid 201861:tid 140267769902848] [client 54.39.148.35:64431] mod_fcgid: stderr: PHP Fatal error:  Uncaught TypeError: property_exists(): Argument #1 ($object_or_class) must be of type object|string, array given in /home/dh_6t6mff/tradesmencigar.com/wp-content/plugins/agecheckernet/class-wc-integration-agechecker-integration.php:1444, referer: https://tradesmencigar.com/cart/
       [Tue Mar 05 12:08:46.410882 2024] [fcgid:warn] [pid 201861:tid 140267769902848] [client 54.39.148.35:64431] mod_fcgid: stderr: Stack trace:, referer: https://tradesmencigar.com/cart/
       [Tue Mar 05 12:08:46.410889 2024] [fcgid:warn] [pid 201861:tid 140267769902848] [client 54.39.148.35:64431] mod_fcgid: stderr: #0 /home/dh_6t6mff/tradesmencigar.com/wp-content/plugins/agecheckernet/class-wc-integration-agechecker-integration.php(1444): property_exists(Array, 'Cigar Tax'), referer: https://tradesmencigar.com/cart/
       [Tue Mar 05 12:08:46.410895 2024] [fcgid:warn] [pid 201861:tid 140267769902848] [client 54.39.148.35:64431] mod_fcgid: stderr: #1 /home/dh_6t6mff/tradesmencigar.com/wp-content/plugins/agecheckernet/class-wc-integration-agechecker-integration.php(1601): WC_Integration_AgeChecker_Integration->get_api_key(false), referer: https://tradesmencigar.com/cart/
       [Tue Mar 05 12:08:46.410900 2024] [fcgid:warn] [pid 201861:tid 140267769902848] [client 54.39.148.35:64431] mod_fcgid: stderr: #2 /home/dh_6t6mff/tradesmencigar.com/wp-content/plugins/agecheckernet/class-wc-integration-agechecker-integration.php(1756): WC_Integration_AgeChecker_Integration->print_script_beforepayment(), referer: https://tradesmencigar.com/cart/
       [Tue Mar 05 12:08:46.410906 2024] [fcgid:warn] [pid 201861:tid 140267769902848] [client 54.39.148.35:64431] mod_fcgid: stderr: #3 /home/dh_6t6mff/tradesmencigar.com/wp-includes/class-wp-hook.php(324): WC_Integration_AgeChecker_Integration->add_script_head(''), referer: https://tradesmencigar.com/cart/
       [Tue Mar 05 12:08:46.410911 2024] [fcgid:warn] [pid 201861:tid 140267769902848] [client 54.39.148.35:64431] mod_fcgid: stderr: #4 /home/dh_6t6mff/tradesmencigar.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array), referer: https://tradesmencigar.com/cart/
       [Tue Mar 05 12:08:46.410929 2024] [fcgid:warn] [pid 201861:tid 140267769902848] [client 54.39.148.35:64431] mod_fcgid: stderr: #5 /home/dh_6t6mff/tradesmencigar.com/wp-includes/plugin.php(517): WP_Hook->do_action(Array), referer: https://tradesmencigar.com/cart/
       [Tue Mar 05 12:08:46.410945 2024] [fcgid:warn] [pid 201861:tid 140267769902848] [client 54.39.148.35:64431] mod_fcgid: stderr: #6 /home/dh_6t6mff/tradesmencigar.com/wp-includes/general-template.php(3052): do_action('wp_head'), referer: https://tradesmencigar.com/cart/
       [Tue Mar 05 12:08:46.410952 2024] [fcgid:warn] [pid 201861:tid 140267769902848] [client 54.39.148.35:64431] mod_fcgid: stderr: #7 /home/dh_6t6mff/tradesmencigar.com/wp-content/themes/generatepress/header.php(16): wp_head(), referer: https://tradesmencigar.com/cart/
       [Tue Mar 05 12:08:46.410957 2024] [fcgid:warn] [pid 201861:tid 140267769902848] [client 54.39.148.35:64431] mod_fcgid: stderr: #8 /home/dh_6t6mff/tradesmencigar.com/wp-includes/template.php(790): require_once('/home/dh_6t6mff...'), referer: https://tradesmencigar.com/cart/
       [Tue Mar 05 12:08:46.410962 2024] [fcgid:warn] [pid 201861:tid 140267769902848] [client 54.39.148.35:64431] mod_fcgid: stderr: #9 /home/dh_6t6mff/tradesmencigar.com/wp-includes/template.php(725): load_template('/home/dh_6t6mff...', true, Array), referer: https://tradesmencigar.com/cart/
       [Tue Mar 05 12:08:46.410968 2024] [fcgid:warn] [pid 201861:tid 140267769902848] [client 54.39.148.35:64431] mod_fcgid: stderr: #10 /home/dh_6t6mff/tradesmencigar.com/wp-includes/general-template.php(48): locate_template(Array, true, true, Array), referer: https://tradesmencigar.com/cart/
       [Tue Mar 05 12:08:46.410973 2024] [fcgid:warn] [pid 201861:tid 140267769902848] [client 54.39.148.35:64431] mod_fcgid: stderr: #11 /home/dh_6t6mff/tradesmencigar.com/wp-content/themes/generatepress/page.php(17): get_header(), referer: https://tradesmencigar.com/cart/
       [Tue Mar 05 12:08:46.410978 2024] [fcgid:warn] [pid 201861:tid 140267769902848] [client 54.39.148.35:64431] mod_fcgid: stderr: #12 /home/dh_6t6mff/tradesmencigar.com/wp-includes/template-loader.php(106): include('/home/dh_6t6mff...'), referer: https://tradesmencigar.com/cart/
       [Tue Mar 05 12:08:46.410983 2024] [fcgid:warn] [pid 201861:tid 140267769902848] [client 54.39.148.35:64431] mod_fcgid: stderr: #13 /home/dh_6t6mff/tradesmencigar.com/wp-blog-header.php(19): require_once('/home/dh_6t6mff...'), referer: https://tradesmencigar.com/cart/
       [Tue Mar 05 12:08:46.410987 2024] [fcgid:warn] [pid 201861:tid 140267769902848] [client 54.39.148.35:64431] mod_fcgid: stderr: #14 /home/dh_6t6mff/tradesmencigar.com/index.php(17): require('/home/dh_6t6mff...'), referer: https://tradesmencigar.com/cart/
       [Tue Mar 05 12:08:46.410992 2024] [fcgid:warn] [pid 201861:tid 140267769902848] [client 54.39.148.35:64431] mod_fcgid: stderr: #15 {main}, referer: https://tradesmencigar.com/cart/
       [Tue Mar 05 12:08:46.410997 2024] [fcgid:warn] [pid 201861:tid 140267769902848] [client 54.39.148.35:64431] mod_fcgid: stderr:   thrown in /home/dh_6t6mff/tradesmencigar.com/wp-content/plugins/agecheckernet/class-wc-integration-agechecker-integration.php on line 1444, referer: https://tradesmencigar.com/cart/
       ```
   
 * Running on a Dreamhost VPS with PHP 8.2
 * Thanks!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-under-php8-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [AgeChecker.Net](https://wordpress.org/support/users/agechecker/)
 * (@agechecker)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-under-php8-2/#post-17483428)
 * Thank you for reporting this issue. As discussed with your team through the support
   ticket earlier this should now be fixed in the latest version (1.16.2). Please
   let us know if the issue continues to occur.

Viewing 1 replies (of 1 total)

The topic ‘Fatal Error under PHP8.2’ is closed to new replies.

 * ![](https://ps.w.org/agecheckernet/assets/icon-256x256.png?rev=2280527)
 * [Age Verification for your checkout page. Verify your customer's identity](https://wordpress.org/plugins/agecheckernet/)
 * [Support Threads](https://wordpress.org/support/plugin/agecheckernet/)
 * [Active Topics](https://wordpress.org/support/plugin/agecheckernet/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/agecheckernet/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/agecheckernet/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [AgeChecker.Net](https://wordpress.org/support/users/agechecker/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-under-php8-2/#post-17483428)
 * Status: resolved