Title: Fatal PHP Error
Last modified: October 8, 2023

---

# Fatal PHP Error

 *  Resolved [miksa93](https://wordpress.org/support/users/miksa93/)
 * (@miksa93)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/fatal-php-error-36/)
 * Kada se pokusa pristupiti checkout stranici dodje do greske:
 *     ```wp-block-code
       [08-Oct-2023 08:02:50 UTC] PHP Fatal error:  Uncaught TypeError: Illegal offset type in /home/leatherm/public_html/wp-content/plugins/serbian-addons-for-woocommerce/lib/WooCommerce/Checkout/Field_Customizer.php:153
       Stack trace:
       #0 /home/leatherm/public_html/wp-content/plugins/serbian-addons-for-woocommerce/lib/WooCommerce/Checkout/Field_Customizer.php(47): Oblak\WCRS\WooCommerce\Checkout\Field_Customizer->add_billing_type_field(Array)
       #1 /home/leatherm/public_html/wp-includes/class-wp-hook.php(312): Oblak\WCRS\WooCommerce\Checkout\Field_Customizer->modify_billing_fields(Array)
       #2 /home/leatherm/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)
       #3 /home/leatherm/public_html/wp-content/plugins/woocommerce/includes/class-wc-countries.php(1716): apply_filters('woocommerce_bil...', Array, 'RS')
       #4 /home/leatherm/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(253): WC_Countries->get_address_fields('RS', 'billing_')
       #5 /home/leatherm/public_html/wp-content/plugins/woocommerce/templates/checkout/form-checkout.php(34): WC_Checkout->get_checkout_fields()
       #6 /home/leatherm/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/home/leatherm/...')
       #7 /home/leatherm/public_html/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-checkout.php(361): wc_get_template('checkout/form-c...', Array)
       #8 /home/leatherm/public_html/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-checkout.php(67): WC_Shortcode_Checkout::checkout()
       #9 /home/leatherm/public_html/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(72): WC_Shortcode_Checkout::output('')
       #10 /home/leatherm/public_html/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(95): WC_Shortcodes::shortcode_wrapper(Array, '')
       #11 /home/leatherm/public_html/wp-includes/shortcodes.php(395): WC_Shortcodes::checkout('', '', 'woocommerce_che...')
       #12 [internal function]: do_shortcode_tag(Array)
       #13 /home/leatherm/public_html/wp-includes/shortcodes.php(235): preg_replace_callback('/\\[(\\[?)(woocom...', 'do_shortcode_ta...', '[woocommerce_ch...')
       #14 /home/leatherm/public_html/wp-includes/class-wp-hook.php(310): do_shortcode('[woocommerce_ch...')
       #15 /home/leatherm/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters('[woocommerce_ch...', Array)
       #16 /home/leatherm/public_html/wp-includes/post-template.php(256): apply_filters('the_content', '<!-- wp:shortco...')
       #17 /home/leatherm/public_html/wp-content/plugins/oxygen/component-framework/components/classes/inner-content.class.php(103): the_content()
       #18 /home/leatherm/public_html/wp-content/plugins/oxygen/component-framework/includes/templates.php(76): CT_Inner_Content->add_shortcode(Array, '', 'ct_inner_conten...')
       #19 /home/leatherm/public_html/wp-content/plugins/oxygen/component-framework/includes/templates.php(109): do_oxygen_elements(Array)
       #20 /home/leatherm/public_html/wp-content/plugins/oxygen/component-framework/includes/templates.php(183): ct_template_output()
       #21 /home/leatherm/public_html/wp-includes/class-wp-hook.php(310): ct_templates_buffer_start('')
       #22 /home/leatherm/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array)
       #23 /home/leatherm/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
       #24 /home/leatherm/public_html/wp-content/plugins/oxygen/component-framework/component-init.php(1218): do_action('ct_builder_star...')
       #25 /home/leatherm/public_html/wp-includes/class-wp-hook.php(310): oxy_print_cached_css('')
       #26 /home/leatherm/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array)
       #27 /home/leatherm/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
       #28 /home/leatherm/public_html/wp-includes/general-template.php(3053): do_action('wp_head')
       #29 /home/leatherm/public_html/wp-content/plugins/oxygen/component-framework/oxygen-main-template.php(10): wp_head()
       #30 /home/leatherm/public_html/wp-includes/template-loader.php(106): include('/home/leatherm/...')
       #31 /home/leatherm/public_html/wp-blog-header.php(19): require_once('/home/leatherm/...')
       #32 /home/leatherm/public_html/index.php(17): require('/home/leatherm/...')
       #33 {main}
         thrown in /home/leatherm/public_html/wp-content/plugins/serbian-addons-for-woocommerce/lib/WooCommerce/Checkout/Field_Customizer.php on line 153
       ```
   
 * Privremeno sam ugasio plugin, da li može podrška za ovu grešku?

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

 *  Plugin Author [Sibin Grasic](https://wordpress.org/support/users/seebeen/)
 * (@seebeen)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/fatal-php-error-36/#post-17126343)
 * Zdravo,
 * Izbacili smo verziju 3.1.7 koja rešava problem.
 *  Thread Starter [miksa93](https://wordpress.org/support/users/miksa93/)
 * (@miksa93)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/fatal-php-error-36/#post-17132586)
 * Pozdrav,
 * Zahvaljujem na brzom fix-u.

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

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

 * ![](https://ps.w.org/serbian-addons-for-woocommerce/assets/icon-256x256.jpg?rev
   =2646310)
 * [Serbian Addons for WooCommerce](https://wordpress.org/plugins/serbian-addons-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/serbian-addons-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/serbian-addons-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/serbian-addons-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/serbian-addons-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/serbian-addons-for-woocommerce/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [miksa93](https://wordpress.org/support/users/miksa93/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/fatal-php-error-36/#post-17132586)
 * Status: resolved