[horde] Issue with Holidays

Mike barjunk at attglobal.net
Wed Apr 22 00:35:29 UTC 2026


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



More information about the horde mailing list