×

Not working properly

Home WPAli Support Forums WooCommerce Order Builder Not working properly

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #485
    Ali Khallad
    Keymaster

    When I am trying to change the setting, it through following errors.

    Fatal error: Undefined class constant ‘SEE_OTHER’ in /httpdocs/wp-content/plugins/wpali-woocommerce-order-builder/admin/partials/includes/CMB2/includes/CMB2_Options_Hookup.php on line 197

    When I am trying to add product into cart it shows following error.

    Fatal error: Can’t use function return value in write context in /var/www/vhosts/habiliss.com/httpdocs/wp-content/plugins/wpali-woocommerce-order-builder/public/partials/wpali-woocommerce-order-builder-public-display.php on line 332

    https://www.habiliss.com/WWOB-Settings/

    please check it

    #486
    Ali Khallad
    Keymaster

    Please share the details of you environment: PHP verson, WordPress version, List of plugins, Steps to replicate.

    Also make sure to update wordpress and use latest version, your WordPress is missing a core class method.

    • This reply was modified 6 years, 3 months ago by Ali Khallad.
    #488
    Ali Khallad
    Keymaster

    Fixed.

    wp-content/plugins/wpali-woocommerce-order-builder/public/partials/wpali-woocommerce-order-builder-public-display.php on line 332

    change:
    $iscolorRequired = !empty(get_post_meta( $product_id, 'wwob_available_colors_isrequired', true )) ? 'options_required="on"' : '';
    To:

    $wwob_available_colors_isrequired = get_post_meta( $product_id, 'wwob_available_colors_isrequired', true );
    $iscolorRequired = !empty($wwob_available_colors_isrequired) ? 'options_required="on"' : '';

    This will be patched in the coming version.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.