Reply To: Critical Error on Website
The fatal error only occurs when the Payments for Divi plugin is activated.
Fatal error: Uncaught Error: Attempt to modify property “settings_modal_toggles” on null in /home3/elmcons1/public_html/wp-content/plugins/divi-stripe-payments/includes/modules/StripeElementsForm/StripeElementsForm.php:68 Stack trace: #0 /home3/elmcons1/public_html/wp-includes/class-wp-hook.php(309): EMDISP_StripePaymentForm->add_toggle(Array) #1 /home3/elmcons1/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters(Array, Array) #2 /home3/elmcons1/public_html/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(18539): apply_filters(‘et_builder_get_…’, Array, ”) #3 /home3/elmcons1/public_html/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(18858): ET_Builder_Element::get_parent_modules(”) #4 /home3/elmcons1/public_html/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(18845): ET_Builder_Element::get_custom_options_categories() #5 /home3/elmcons1/public_html/wp-content/themes/Divi/includes/builder/frontend-builder/helpers.php(714): ET_Builder_Element::get_options_categories() #6 /home3/elmcons1/public_html/wp-content/themes/Divi/includes/builder/frontend-builder/helpers.php(2784): et_fb_get_static_backend_helpers(‘page’) #7 /home3/elmcons1/public_html/wp-includes/class-wp-hook.php(307): et_fb_get_asset_helpers(false, ‘page’) #8 /home3/elmcons1/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters(false, Array) #9 /home3/elmcons1/public_html/wp-content/themes/Divi/includes/builder/frontend-builder/assets.php(67): apply_filters(‘et_fb_get_asset…’, false, ‘page’) #10 /home3/elmcons1/public_html/wp-content/themes/Divi/includes/builder/frontend-builder/theme-builder/frontend.php(92): et_fb_get_dynamic_asset(‘helpers’, ‘page’) #11 /home3/elmcons1/public_html/wp-includes/class-wp-hook.php(307): et_theme_builder_frontend_override_template(‘/home3/elmcons1…’) #12 /home3/elmcons1/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters(‘/home3/elmcons1…’, Array) #13 /home3/elmcons1/public_html/wp-includes/template-loader.php(104): apply_filters(‘template_includ…’, ‘/home3/elmcons1…’) #14 /home3/elmcons1/public_html/wp-blog-header.php(19): require_once(‘/home3/elmcons1…’) #15 /home3/elmcons1/public_html/index.php(17): require(‘/home3/elmcons1…’) #16 {main} thrown in /home3/elmcons1/public_html/wp-content/plugins/divi-stripe-payments/includes/modules/StripeElementsForm/StripeElementsForm.php on line 68