• Resolved Nguy?n Hi?u

    (@batboyboy)


    This error with element pluingin !

    Warning: Undefined property: SLN_CheckoutField::$isDefault in \wp-content\plugins\salon-booking-system\views\shortcode\salon_details.php on line 168

    line 168 if(!$field->isDefault) {

    165 to 176

    <?php
            $fields = $plugin->getSettings()->get('enabled_force_guest_checkout') ?  SLN_Enum_CheckoutFields::forGuestCheckout() : SLN_Enum_CheckoutFields::forDetailsStep()->appendPassword();
            foreach($fields as $field) { //remove excessive quotes escaping
                if(!$field->isDefault) {
                    $field->offsetSet('label', stripcslashes($field->offsetGet('label')));
                }
            }
        if ($size == '900') { ?>
        <div class="row">
        <div class="col-xs-12 col-md-8">
            <div class="row">
                <?php
    • This topic was modified 3 years, 8 months ago by Nguy?n Hi?u.
    • This topic was modified 3 years, 8 months ago by Nguy?n Hi?u.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Warning: Undefined property: SLN_CheckoutField::$isDefault in’ is closed to new replies.