Datepicker field gives error when selecting 25th of December

  • Posts: 290
  • Thank you received: 22
4 months 2 weeks ago #357377

-- url of the page with the problem -- : slagerijpaulvangool.nl
-- HikaShop version -- : 5.0.2
-- Joomla version -- : 4.4.1
-- PHP version -- : 8.2.13

Hi,
I'm having an issue when trying to select the 25th of december in the advanced datepicker.

It gives an error message "Foutive datum voor het veld 'Afhaaldatum'.
When I turn on error reporting etc. I see this message :

Deprecated: Creation of dynamic property hikashopDatepickerfield::$timeoffset is deprecated in /home/xxx/public_html/plugins/hikashop/datepickerfield/datepickerfield_class.php on line 157

Deprecated
: Creation of dynamic property hikashopDatepickerfield::$timeoffset is deprecated in
/home/xxx/public_html/plugins/hikashop/datepickerfield/datepickerfield_class.php
on line
157

There are no exclude days entered.

Last edit: 4 months 2 weeks ago by nico.van.leeuwen. Reason: solved

Please Log in or Create an account to join the conversation.

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
4 months 2 weeks ago #357380

Hi,

Could you please provide screenshots of all the settings of that custom field ?

Please Log in or Create an account to join the conversation.

  • Posts: 290
  • Thank you received: 22
4 months 2 weeks ago #357392

Sure, see attachement.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
4 months 2 weeks ago #357406

Hi,

I don't have the problem on my local test server with the exact same settings.
I think there is something else going on on your end. For example, a problem with how time zones are configured.
In the settings of the date picker plugin, there is a setting "Set hour to noon when processing time" which you can activate so that the plugin will use noon instead of midnight for the time of the date. This should help prevent time zone issues, so I would recommend activating this option.

Regarding the deprecated messages, thanks for your feedback. We'll add a patch for that in the next version. You can ignore them for now.

Please Log in or Create an account to join the conversation.

  • Posts: 290
  • Thank you received: 22
4 months 2 weeks ago #357416

This is indeed the solution. Thanks !

Please Log in or Create an account to join the conversation.

Time to create page: 0.070 seconds
Powered by Kunena Forum