PHP Fatal error: Class 'Sabre\VObject\Property\Text' not found

hede kolab983 at der-he.de
Sat Jun 25 13:09:10 CEST 2016


Am Sat, 25 Jun 2016 12:38:42 +0200 schrieb hede <kolab983 at der-he.de>:

> PHP Fatal error:  Class 'Sabre\VObject\Property\Text' not found in /usr/share/roundcubemail/plugins/libcalendaring/libvcalendar.php on line 1386

Btw: Autoloading is the problem here. I'm not familar with php autoloading, but if I add the following lines to libvcalendar.php it works: 

###
spl_autoload_register(function ($class) {
    if (strpos($class, 'Sabre\\')===0) {
        $file = '/usr/share/php/'.str_replace('\\', '/', $class).'.php';
        @include $file;
    }
});
###
(with my php-sabre-vobject_3.4.5-1_all.deb installed)

Obviously with Red Hat this is not needed. What's the difference there?

Or is Winterfell also broken for Red Hat!?

regards
hede


More information about the users mailing list