[horde] Issue with Holidays

Ralf Lang ralf.lang at gmail.com
Wed Apr 22 04:49:40 UTC 2026


 azuyalabs/yasumi requires php 8.2 - could be an option in the future but
not right now.

This is three different problems

- You seem to have some system (pear or other global search path) libraries
which don't come from the horde install
- Kronolith should be more defensive about trying to load/use holiday
- Date_Holiday has intrinsic issues and design problems which we need to
solve in the long run. I don't want to "require" it as it is optional
functionality.

An issue is welcome (against the kronolith repo)




Mike <barjunk at attglobal.net> schrieb am Mi., 22. Apr. 2026, 02:36:

> I'm getting this error:
>
> Non-static method Date_TimeZone::isValidID() cannot be called statically
> in /usr/share/php/Date/TimeZone.php:4717
>
>   1. require_once()
> /var/www/horde6-beta/web/horde/services/portal/index.php:3
>   2. Horde_Core_Block_Layout_View->toHtml()
> /var/www/horde6-beta/vendor/horde/horde/services/portal/index.php:36
>   3. Horde_Core_Block->getContent()
>
> /var/www/horde6-beta/vendor/horde/core/lib/Horde/Core/Block/Layout/View.php:99
>   4. Horde_Core_Block->_call()
> /var/www/horde6-beta/vendor/horde/core/lib/Horde/Core/Block.php:178
>   5. Kronolith_Block_Monthlist->_content()
> /var/www/horde6-beta/vendor/horde/core/lib/Horde/Core/Block.php:281
>   6. Kronolith::listEvents()
> /var/www/horde6-beta/vendor/horde/kronolith/lib/Block/Monthlist.php:102
>   7. Kronolith_CalendarsManager->get()
> /var/www/horde6-beta/vendor/horde/kronolith/lib/Kronolith.php:297
>   8. Kronolith_CalendarsManager->_getDisplayHolidays()
> /var/www/horde6-beta/vendor/horde/kronolith/lib/CalendarsManager.php:210
>   9. Kronolith_CalendarsManager->get()
> /var/www/horde6-beta/vendor/horde/kronolith/lib/CalendarsManager.php:577
> 10. Kronolith_CalendarsManager->_getAllHolidays()
> /var/www/horde6-beta/vendor/horde/kronolith/lib/CalendarsManager.php:204
> 11. class_exists()
> /var/www/horde6-beta/vendor/horde/kronolith/lib/CalendarsManager.php:554
> 12. Horde_Autoloader->loadClass()
> 13. Horde_Autoloader->_include()
> /var/www/horde6-beta/vendor/horde/autoloader/lib/Horde/Autoloader.php:66
> 14. include()
> /var/www/horde6-beta/vendor/horde/autoloader/lib/Horde/Autoloader.php:129
> 15. require_once() /usr/share/php/Date/Holidays.php:39
> 16. require_once() /usr/share/php/Date.php:55
>
>
>
> This is something specific to php-date in ubuntu needing correction as
> well as a potential problem moving forward.
>
> This is temporarily fixed by installing pear/date_holidays via composer.
>
> should pear/date_holidays be included in the require section for
> kronolith, maybe?
>
> Maybe we move to composer azuyalabs/yasumi as an option?
>
> Let me know if you'd like me to submit an issue for this.
>
>
> Mike
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>


More information about the horde mailing list