Fatal error: Uncaught Error: Attempt to assign property "minDate" on null in /home/uptownshots/public_html/wp-content/plugins/woo-custom-product-addons-pro/includes/class-wcpa-form.php:4452
Stack trace:
#0 /home/uptownshots/public_html/wp-content/plugins/woo-custom-product-addons-pro/includes/class-wcpa-form.php(3761): WCPA_Form->render_date(Object(stdClass))
#1 /home/uptownshots/public_html/wp-content/plugins/woo-custom-product-addons-pro/includes/class-wcpa-front-end.php(2109): WCPA_Form->render(231)
#2 /home/uptownshots/public_html/wp-includes/class-wp-hook.php(324): WCPA_Front_End->before_add_to_cart_button('')
#3 /home/uptownshots/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#4 /home/uptownshots/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#5 /home/uptownshots/public_html/wp-content/plugins/woocommerce/templates/single-product/add-to-cart/simple.php(33): do_action('woocommerce_bef...')
#6 /home/uptownshots/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(346): include('/home/uptownsho...')
#7 /home/uptownshots/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1933): wc_get_template('single-product/...')
#8 /home/uptownshots/public_html/wp-includes/class-wp-hook.php(324): woocommerce_simple_add_to_cart('')
#9 /home/uptownshots/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#10 /home/uptownshots/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#11 /home/uptownshots/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1923): do_action('woocommerce_sim...')
#12 /home/uptownshots/public_html/wp-content/themes/Divi/includes/builder/feature/woocommerce-modules.php(1127): woocommerce_template_single_add_to_cart()
#13 /home/uptownshots/public_html/wp-content/themes/Divi/includes/builder/module/woocommerce/AddToCart.php(474): et_builder_wc_render_module_template('woocommerce_tem...', Array, Array)
#14 /home/uptownshots/public_html/wp-content/themes/Divi/includes/builder/module/woocommerce/AddToCart.php(649): ET_Builder_Module_Woocommerce_Add_To_Cart::get_add_to_cart(Array)
#15 /home/uptownshots/public_html/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(3441): ET_Builder_Module_Woocommerce_Add_To_Cart->render(Array, '', 'et_pb_wc_add_to...', '', '', '', '', '')
#16 /home/uptownshots/public_html/wp-includes/shortcodes.php(434): ET_Builder_Element->_render(Array, '', 'et_pb_wc_add_to...')
#17 [internal function]: do_shortcode_tag(Array)
#18 /home/uptownshots/public_html/wp-includes/shortcodes.php(273): preg_replace_callback('/\\[(\\[?)(et_pb_...', 'do_shortcode_ta...', '[et_pb_wc_title...')
#19 /home/uptownshots/public_html/wp-content/themes/Divi/includes/builder/main-structure-elements.php(3784): do_shortcode('[et_pb_wc_title...')
#20 /home/uptownshots/public_html/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(3441): ET_Builder_Column->render(Array, '[et_pb_wc_title...', 'et_pb_column', '', '', '', '', '')
#21 /home/uptownshots/public_html/wp-includes/shortcodes.php(434): ET_Builder_Element->_render(Array, '[et_pb_wc_title...', 'et_pb_column')
#22 [internal function]: do_shortcode_tag(Array)
#23 /home/uptownshots/public_html/wp-includes/shortcodes.php(273): preg_replace_callback('/\\[(\\[?)(et_pb_...', 'do_shortcode_ta...', '[et_pb_column t...')
#24 /home/uptownshots/public_html/wp-content/themes/Divi/includes/builder/main-structure-elements.php(2274): do_shortcode('[et_pb_column t...')
#25 /home/uptownshots/public_html/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(3441): ET_Builder_Row->render(Array, '[et_pb_column t...', 'et_pb_row', '', '', '', '', '')
#26 /home/uptownshots/public_html/wp-includes/shortcodes.php(434): ET_Builder_Element->_render(Array, '[et_pb_column t...', 'et_pb_row')
#27 [internal function]: do_shortcode_tag(Array)
#28 /home/uptownshots/public_html/wp-includes/shortcodes.php(273): preg_replace_callback('/\\[(\\[?)(et_pb_...', 'do_shortcode_ta...', '[et_pb_row _bui...')
#29 /home/uptownshots/public_html/wp-content/themes/Divi/includes/builder/main-structure-elements.php(1606): do_shortcode('[et_pb_row _bui...')
#30 /home/uptownshots/public_html/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(3441): ET_Builder_Section->render(Array, '[et_pb_row _bui...', 'et_pb_section', '', '', '', '', '')
#31 /home/uptownshots/public_html/wp-includes/shortcodes.php(434): ET_Builder_Element->_render(Array, '[et_pb_row _bui...', 'et_pb_section')
#32 [internal function]: do_shortcode_tag(Array)
#33 /home/uptownshots/public_html/wp-includes/shortcodes.php(273): preg_replace_callback('/\\[(\\[?)(et_pb_...', 'do_shortcode_ta...', '[et_pb_section ...')
#34 /home/uptownshots/public_html/wp-content/plugins/woocommerce/includes/class-wc-structured-data.php(212): do_shortcode('[et_pb_section ...')
#35 /home/uptownshots/public_html/wp-includes/class-wp-hook.php(324): WC_Structured_Data->generate_product_data(Object(WC_Product_Simple))
#36 /home/uptownshots/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#37 /home/uptownshots/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#38 /home/uptownshots/public_html/wp-content/themes/Divi/includes/builder/plugin-compat/woocommerce.php(353): do_action('woocommerce_sin...')
#39 /home/uptownshots/public_html/wp-includes/class-wp-hook.php(326): ET_Builder_Plugin_Compat_WooCommerce->maybe_trigger_woo_hooks_in_theme_builder_body('et_body_layout')
#40 /home/uptownshots/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#41 /home/uptownshots/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#42 /home/uptownshots/public_html/wp-content/themes/Divi/includes/builder/frontend-builder/theme-builder/frontend.php(330): do_action('et_theme_builde...', 'et_body_layout', 206)
#43 /home/uptownshots/public_html/wp-content/themes/Divi/includes/builder/frontend-builder/theme-builder/frontend.php(506): et_theme_builder_frontend_render_layout('et_body_layout', 206)
#44 /home/uptownshots/public_html/wp-content/themes/Divi/includes/builder/frontend-builder/theme-builder/frontend-body-template.php(7): et_theme_builder_frontend_render_body(206, true, 214)
#45 /home/uptownshots/public_html/wp-includes/template-loader.php(106): include('/home/uptownsho...')
#46 /home/uptownshots/public_html/wp-blog-header.php(19): require_once('/home/uptownsho...')
#47 /home/uptownshots/public_html/index.php(17): require('/home/uptownsho...')
#48 {main}
thrown in
/home/uptownshots/public_html/wp-content/plugins/woo-custom-product-addons-pro/includes/class-wcpa-form.php on line
4452
WordPress › Error