[horde] 2025/23 releases - The path towards beta

Brent impuser at bitrealm.com
Sat Jun 7 15:11:31 UTC 2025


  I can also wrap the "Horde_Application" class definition statement  
with a check to see if it is already defined and skip it if it exists:

Add a line 25 in <install-dir>/vendor/horde/horde/lib/Application.php

if (!class_exists('Horde_Application')) {
class Horde_Application extends Horde_Registry_Application
.....

Then add a "}" at the end of the file to close the "if" statement.

Then I can leave the commit in place.

Seems like something is double-calling this class statement in  
Application.php.

brent

Quoting Brent <impuser at bitrealm.com>:

> I get a 500 error. Nothing in the horde log, so I enabled php 500  
> reporting. The error I get is:
>
> Fatal error: Cannot redeclare class Horde_Application (previously  
> declared in  
> /var/www/horde/vendor/horde/horde/lib/Application.php:26) in  
> /var/www/horde/vendor/horde/horde/lib/Application.php on line 26
>
> bkrent
>
> Quoting Brent <impuser at bitrealm.com>:
>
>> I also have to revert this commit to get my installation to work if  
>> imp handles authentication. I have done clean installs on new  
>> systems with nary a trace of any prior Horde installation.
>>
>> Horde->Authentication->Auth Driver->Let Horde Handle authentication->imp
>>
>> Once I set this, then I need to revert the commit below. If I use  
>> another authentication method (like IMAP authentication), then I  
>> can leave the commit in place.
>>
>> brent
>>
>> Quoting Ralf Lang <ralf.lang at gmail.com>:
>>
>>> Hi Jean, no worries. However I need to investigate how you end up with that
>>> issue and I don't, both in upgrade and in clean reinstalls.
>>>
>>> Reverting that commit won't be the upstream solution though as it would
>>> break another use case we also want to support.
>>>
>>> Jean Charles Delépine <delepine at u-picardie.fr> schrieb am Sa., 7. Juni
>>> 2025, 11:48:
>>>
>>>> Hi Ralf,
>>>>
>>>> Quoting Jean Charles Delépine <delepine at u-picardie.fr>:
>>>>
>>>> horde 6 development setup require php 8.4. I will setup another test
>>>> machine in Debian/testing dedicated for horde.
>>>>
>>>> As expected, all my Composer-related issues were resolved by using the
>>>> new test environment running Debian/testing with PHP 8.4. The proxy
>>>> mode is enabled, I’m using the latest version of horde-component.phar,
>>>> and updates are working smoothly.
>>>>
>>>> However, after installing my applications, I once again encountered the
>>>> issue:
>>>>      PHP Fatal error:  Cannot redeclare class Horde_Application
>>>>
>>>> Yesterday, Michael Schlueter mentioned that reverting the  
>>>> following commit:
>>>>
>>>> https://github.com/horde/Core/commit/d25c2b87ea462240209bd2fa93d3c8656c1d1890
>>>> fixed the fatal error for him.
>>>>
>>>> I can confirm that reverting this commit also resolved the issue on my
>>>> setup.
>>>>
>>>> Sorry for the extra work caused by my initial faulty setup.
>>>>
>>>> Best regards,
>>>>
>>>> Sincerly,
>>>>        Jean Charles Delépine
>>>>
>>>> --
>>>> Service systèmes et réseaux - DISI
>>>>
>>>> Université de Picardie Jules Verne
>>>> 5, rue du moulin neuf - 80000 Amiens
>>>>  
>>>
>>> --
>>> 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