• Pranav MT

    (@pranavmtn)


    Hi Team,

    I have seen these errors/warnings in the version 1.1.40 and 1.1.41(Latest) as well.Please fix those

    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Class_Pi_cefw_Add_Edit::$tab is deprecated in class-conditional-fees-rule-woocommerce-add-fees-rule.php on line 21
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Class_Pi_cefw_List::$tab is deprecated in class-conditional-fees-rule-woocommerce-list-fees-rules.php on line 24
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property pisol_cefw_pro_rules::$slug is deprecated in pro_rules.php on line 5
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_selection_rule_country::$slug is deprecated in country.php on line 5
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_selection_rule_country::$condition is deprecated in country.php on line 6
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_selection_rule_product::$slug is deprecated in product.php on line 5
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_selection_rule_product::$condition is deprecated in product.php on line 6
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_selection_rule_product_quantity::$slug is deprecated in product_quantity.php on line 5
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_selection_rule_product_quantity::$condition is deprecated in product_quantity.php on line 6
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_selection_rule_category_product::$slug is deprecated in category_product.php on line 5
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_selection_rule_category_product::$condition is deprecated in category_product.php on line 6
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_selection_rule_cart_subtotal_before_fees::$slug is deprecated in cart-subtotal-before-discount.php on line 5
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_selection_rule_cart_subtotal_before_fees::$condition is deprecated in cart-subtotal-before-discount.php on line 6
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_selection_rule_quantity::$slug is deprecated in quantity.php on line 5
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_selection_rule_quantity::$condition is deprecated in quantity.php on line 6
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_selection_rule_user::$slug is deprecated in user.php on line 5
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_selection_rule_user::$condition is deprecated in user.php on line 6
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_selection_rule_user_role::$slug is deprecated in user_role.php on line 5
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_selection_rule_user_role::$condition is deprecated in user_role.php on line 6
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_selection_rule_coupon::$slug is deprecated in coupon.php on line 5
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_selection_rule_coupon::$condition is deprecated in coupon.php on line 6
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_selection_rule_height::$slug is deprecated in height.php on line 5
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_selection_rule_height::$condition is deprecated in height.php on line 6
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_selection_rule_length::$slug is deprecated in length.php on line 5
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_selection_rule_length::$condition is deprecated in length.php on line 6
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_selection_rule_shipping_class::$slug is deprecated in shipping_class.php on line 5
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_selection_rule_shipping_class::$condition is deprecated in shipping_class.php on line 6
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_selection_rule_state::$slug is deprecated in state.php on line 5
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_selection_rule_state::$condition is deprecated in state.php on line 6
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_selection_rule_weight::$slug is deprecated in weight.php on line 5
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_selection_rule_weight::$condition is deprecated in weight.php on line 6
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_selection_rule_width::$slug is deprecated in width.php on line 5
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_selection_rule_width::$condition is deprecated in width.php on line 6
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_selection_rule_zones::$slug is deprecated in zone.php on line 5
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_selection_rule_zones::$condition is deprecated in zone.php on line 6
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_selection_rule_pickup_location::$slug is deprecated in pickup_location.php on line 5
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_selection_rule_pickup_location::$condition is deprecated in pickup_location.php on line 6
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_selection_rule_delivery_type::$slug is deprecated in delivery_type.php on line 5
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_selection_rule_delivery_type::$condition is deprecated in delivery_type.php on line 6
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_selection_rule_selected_delivery_date::$slug is deprecated in selected_delivery_date.php on line 5
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_selection_rule_selected_delivery_date::$condition is deprecated in selected_delivery_date.php on line 6
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_selection_rule_selected_delivery_day::$slug is deprecated in selected_delivery_day.php on line 5
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_selection_rule_selected_delivery_day::$condition is deprecated in selected_delivery_day.php on line 6
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property pisol_cefw_cart_quantity_extra_charges_setting::$slug is deprecated in cart-quantity-charges.php on line 6
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property pisol_cefw_weight_based_extra_charges_setting::$slug is deprecated in weight-based-charges.php on line 6
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property pisol_cefw_cart_subtotal_extra_charges_setting::$slug is deprecated in cart-subtotal-charges.php on line 6
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property pisol_cefw_combine_methods::$tab is deprecated in combine-method.php on line 29
    [24-Oct-2024 06:10:10 UTC] PHP Deprecated: Creation of dynamic property Pi_cefw_Menu::$version is deprecated in class-conditional-fees-rule-woocommerce-menu.php on line 10

    There are more.

    Thanks Pranav

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author rajeshsingh520

    (@rajeshsingh520)

    This will be done in the next release mean while what you can do is downgrade your PHP to version 8.1

    Thread Starter Pranav MT

    (@pranavmtn)

    Hey @rajeshsingh520 ,

    Glad you were able to replicate the issue.This notice is due to because PHP 8.2 now discourages adding new properties to objects on the fly without explicitly declaring them in the class. The plugin is attempting to dynamically create properties such as $slug and $condition without predefining them, which is no longer allowed in PHP 8.2.

    class Class_Pi_cefw_Add_Edit {
    public $tab; // Declare the property explicitly
    }

    Similairly for other as well.Please close this ticket once you fixed.

    Thank you!

    Pranav

    Plugin Author rajeshsingh520

    (@rajeshsingh520)

    Hi,

    Upgrade to latest version of the plugin released 5 days back 1.1.42 that has the fix

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