• Resolved tim237

    (@tim237)


    Hi,

    because of lots of trouble with the greenshift theme with other plugins, or maybe with my server configuration, I switch to twenty twenty-four theme. This constellation is stable beside one issue: when I klick the ad to card bottom an internal server error shows up. This only happens with the additional product fields activated. Is the twenty-four theme incompatible with woo commerce, or the green shift wc-add ons? With the green shift theme this works properly, so the advanced product field plugin should be configured fine.

    I’m really lost and hope for help.

    This is the error log:

    2023-11-14T19:38:13+00:00 CRITICAL Uncaught TypeError: SW_WAPF\Includes\Classes\Fields::should_field_be_filled_out(): Argument #1 ($group) must be of type SW_WAPF\Includes\Models\FieldGroup, SW_WAPF\Includes\Models\FieldGroup given, called in /homepages/16/d4297839769/htdocs/wordpress/wp-content/plugins/advanced-product-fields-for-woocommerce/includes/controllers/class-product-controller.php on line 139 and defined in /homepages/16/d4297839769/htdocs/wordpress/wp-content/plugins/advanced-product-fields-for-woocommerce/includes/classes/class-fields.php:330
    Stack trace: 0 /homepages/16/d4297839769/htdocs/wordpress/wp-content/plugins/advanced-product-fields-for-woocommerce/includes/controllers/class-product-controller.php(139): SW_WAPF\Includes\Classes\Fields::should_field_be_filled_out() 1 /homepages/16/d4297839769/htdocs/wordpress/wp-includes/class-wp-hook.php(324): SW_WAPF\Includes\Controllers\Product_Controller->validate_cart_data() 2 /homepages/16/d4297839769/htdocs/wordpress/wp-includes/plugin.php(205): WP_Hook->apply_filters() 3 /homepages/16/d4297839769/htdocs/wordpress/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(832): apply_filters() 4 /homepages/16/d4297839769/htdocs/wordpress/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(806): WC_Form_Handler::add_to_cart_handler_simple() 5 /homepages/16/d4297839769/htdocs/wordpress/wp-includes/class-wp-hook.php(324): WC_Form_Handler::add_to_cart_action() 6 /homepages/16/d4297839769/htdocs/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 7 /homepages/16/d4297839769/htdocs/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action() 8 /homepages/16/d4297839769/htdocs/wordpress/wp-settings.php(665): do_action() 9 /homepages/16/d4297839769/htdocs/wordpress/wp-config.php(192): require_once(‘/homepages/16/d…’) 10 /homepages/16/d4297839769/htdocs/wordpress/wp-load.php(50): require_once(‘/homepages/16/d…’) 11 /homepages/16/d4297839769/htdocs/wordpress/wp-blog-header.php(13): require_once(‘/homepages/16/d…’) 12 /homepages/16/d4297839769/htdocs/wordpress/index.php(17): require(‘/homepages/16/d…’) 13 {main}

    thrown in /homepages/16/d4297839769/htdocs/wordpress/wp-content/plugins/advanced-product-fields-for-woocommerce/includes/classes/class-fields.php in Zeile 330

  • The topic ‘Error twenty twenty-four Theme Woocommerce’ is closed to new replies.