So sure it's in the overloads that there is something incompatible with: 1 - wordpress version or 2 - php version, 3 - something in the database (but I can't find 3599?).
Not to mention that this plugin should be updated, it's from 2016... anyway it's not that. Because it still works, except for this date of 3599
By scanning the code with PHP Compatibility Checker I find alerts on these overloads.
It is compatible with the version of php but...
There must be a line that gives the wrong direction...
But I'm not php. and my head explodes. I'm going to have a coffee
FILE: wp-content/plugins/woocommerce-appointments-surcharge/includes/integrations/woocommerce-product-addons/classes/class-product-addon-cart.php
FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES
---------------------------------------------------------------------------------------------------------
340 | WARNING | Targeting a 'switch' control structure with a 'continue' statement is strongly discouraged and will throw a warning as of PHP 7.3.
357 | WARNING | Targeting a 'switch' control structure with a 'continue' statement is strongly discouraged and will throw a warning as of PHP 7.3.
390 | WARNING | Targeting a 'switch' control structure with a 'continue' statement is strongly discouraged and will throw a warning as of PHP 7.3.
409 | WARNING | Targeting a 'switch' control structure with a 'continue' statement is strongly discouraged and will throw a warning as of PHP 7.3.
———————————————————————————————————————————————————————
my problem is progressing, but in php I'm having trouble...
the debugger on the plugin tells me that..:
Deprecated: The get_product function is deprecated since version 3.0! Use wc_get_product instead. in /home/sc1vabw9579/development.sc1vabw9579.universe.wf/wp-includes/functions.php on line 5379
Notice: The function wc_appointment_max_date has been called incorrectly. Product properties should not be accessible directly. Backtrace: require('wp-admin/edit-form-advanced.php'), do_meta_boxes, WC_Appointments_Admin_Details_Meta_Box->meta_box_inner, WC_Product_Appointment->get_max_date, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please read Debugging in WordPress for more information. (This message was added in version 3.0.) in /home/sc1vabw9579/development.sc1vabw9579.universe.wf/wp-includes/functions.php on line 5831
Notice: The function wc_appointment_max_date has been called incorrectly. Product properties should not be accessible directly. Backtrace: require('wp-admin/edit-form-advanced.php'), do_meta_boxes, WC_Appointments_Admin_Details_Meta_Box->meta_box_inner, WC_Product_Appointment->get_max_date, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please read Debugging in WordPress for more information. (This message was added in version 3.0.) in /home/sc1vabw9579/development.sc1vabw9579.universe.wf/wp-includes/functions.php on line 5831
Notice: The function wc_appointment_max_date_unit has been called incorrectly. The product properties should not be accessible directly. Backtrace: require('wp-admin/edit-form-advanced.php'), do_meta_boxes, WC_Appointments_Admin_Details_Meta_Box->meta_box_inner, WC_Product_Appointment->get_max_date, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please read Debugging in WordPress for more information. (This message was added in version 3.0.) in /home/sc1vabw9579/development.sc1vabw9579.universe.wf/wp-includes/functions.php on line 5831
Notice: The function wc_appointment_max_date_unit has been called incorrectly. The product properties should not be accessible directly. Backtrace: require('wp-admin/edit-form-advanced.php'), do_meta_boxes, WC_Appointments_Admin_Details_Meta_Box->meta_box_inner, WC_Product_Appointment->get_max_date, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please read Debugging in WordPress for more information. (This message was added in version 3.0.) in /home/sc1vabw9579/development.sc1vabw9579.universe.wf/wp-includes/functions.php on line 5831
Deprecated: The get_product function is deprecated since version 3.0! Use wc_get_product instead. in /home/sc1vabw9579/development.sc1vabw9579.universe.wf/wp-includes/functions.php on line 5379 Translated with
www.DeepL.com/Translator (free version)