PHP-8 Compatibility ?

More
2 years 9 months ago #152789 by Toro
PHP-8 Compatibility ? was created by Toro
I have got so many error-messages when trying to work on events, that it almost becomes impossible to so.
In the global-config I've set error-readings to "off", but that doesn't help. I have checked other Extensions, but there are no errors on them.
The errors only occur in backend, when trying to add or to edit one event.

Error says:
"Deprecated: Function strftime() is deprecated in ...\libraries\src\HTML\HTMLHelper.php on line 1199
and there is another (different)message.

   - it occurs specifially on places where there is calender (at least it looks like that)
   - I tried to put some screenshots  as attachment, not sure if that works.

Since I purchased this Extension only yesterday ... I'm obviously not a happy-chappy.

I'm working on Joomla-4.1.5 (brand new installation) on xampp with PHP-8.14
Is Event-Booking capable of running on that, or should I use an older PHP-version ... or what else could be the problem?

Thanks for any help in advance
 
Attachments:

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

More
2 years 9 months ago #152795 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic PHP-8 Compatibility ?
Hello Dieter

Actually, that is a problem with a Joomla core function, see github.com/joomla/joomla-cms/issues/38276 . For the time being, there are two options :

- Make sure Debug Mode config option in Events Booking set to No and the warning messages like that won't be displayed
- Or switch to use PHP 7.4

I will see if I can come up with a good solution to fix that bug for Joomla in next Joomla release. But that's just a deprecated error messages, and could be turned off

Regards,

Tuan

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

More
2 years 9 months ago #152796 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic PHP-8 Compatibility ?
If you still see that warning messages after set Debug Mode config option in Events Booking to No, please go to System -> Global configuration, look at Server tab, set Error Reporting to None and it should hide the message.

Tuan

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

Moderators: Tuan Pham Ngoc