6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
7/25/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#14452] Cannot redeclare class Horde_Hooks
*
Your Email Address
*
Spam protection
Enter the letters below:
.___. __ . .. .__. _/ / `|\/|| | | ./__.\__.| ||___|__|
Comment
> The logs show an error message: > > [Wed Aug 24 08:59:10.159980 2016] [:error] [pid 19586] [client > xxx.xxx.xxx.xxx:3938] PHP Fatal error: Cannot redeclare class > Horde_Hooks in /var/www/domain.tld/public_html/config/hooks.local.php > on line 303, referer: https://domain.tld/services/prefs.php > [Wed Aug 24 08:59:10.160011 2016] [:error] [pid 19586] [client > xxx.xxx.xxx.xxx:3938] PHP Stack trace:, referer: > https://domain.tld/services/prefs.php > [Wed Aug 24 08:59:10.160020 2016] [:error] [pid 19586] [client > xxx.xxx.xxx.xxx:3938] PHP 1. {main}() > /var/www/domain.tld/public_html/services/ajax.php:0, referer: > https://domain.tld/services/prefs.php > [Wed Aug 24 08:59:10.160029 2016] [:error] [pid 19586] [client > xxx.xxx.xxx.xxx:3938] PHP 2. Horde_Core_Ajax_Application->send() > /var/www/domain.tld/public_html/services/ajax.php:70, referer: > https://domain.tld/services/prefs.php > [Wed Aug 24 08:59:10.160038 2016] [:error] [pid 19586] [client > xxx.xxx.xxx.xxx:3938] PHP 3. > Horde_Core_Ajax_Response->sendAndExit() > /usr/share/php/Horde/Core/Ajax/Application.php:241, referer: > https://domain.tld/services/prefs.php > [Wed Aug 24 08:59:10.160047 2016] [:error] [pid 19586] [client > xxx.xxx.xxx.xxx:3938] PHP 4. > Horde_Core_Ajax_Response_HordeCore->send() > /usr/share/php/Horde/Core/Ajax/Response.php:55, referer: > https://domain.tld/services/prefs.php > [Wed Aug 24 08:59:10.160055 2016] [:error] [pid 19586] [client > xxx.xxx.xxx.xxx:3938] PHP 5. > Horde_Core_Ajax_Response_HordeCore->_jsonData() > /usr/share/php/Horde/Core/Ajax/Response/HordeCore.php:76, referer: > https://domain.tld/services/prefs.php > [Wed Aug 24 08:59:10.160064 2016] [:error] [pid 19586] [client > xxx.xxx.xxx.xxx:3938] PHP 6. Horde_Themes_Css->getStylesheetUrls() > /usr/share/php/Horde/Core/Ajax/Response/HordeCore.php:133, referer: > https://domain.tld/services/prefs.php > [Wed Aug 24 08:59:10.160072 2016] [:error] [pid 19586] [client > xxx.xxx.xxx.xxx:3938] PHP 7. Horde_Themes_Css->getStylesheets() > /usr/share/php/Horde/Themes/Css.php:93, referer: > https://domain.tld/services/prefs.php > [Wed Aug 24 08:59:10.160081 2016] [:error] [pid 19586] [client > xxx.xxx.xxx.xxx:3938] PHP 8. Horde_Core_Hooks->callHook() > /usr/share/php/Horde/Themes/Css.php:189, referer: > https://domain.tld/services/prefs.php > [Wed Aug 24 08:59:10.160089 2016] [:error] [pid 19586] [client > xxx.xxx.xxx.xxx:3938] PHP 9. Horde_Core_Hooks->hookExists() > /usr/share/php/Horde/Core/Hooks.php:50, referer: > https://domain.tld/services/prefs.php > [Wed Aug 24 08:59:10.160106 2016] [:error] [pid 19586] [client > xxx.xxx.xxx.xxx:3938] PHP 10. Horde_Registry->loadConfigFile() > /usr/share/php/Horde/Core/Hooks.php:89, referer: > https://domain.tld/services/prefs.php > [Wed Aug 24 08:59:10.160115 2016] [:error] [pid 19586] [client > xxx.xxx.xxx.xxx:3938] PHP 11. > Horde_Registry_Loadconfig->__construct() > /usr/share/php/Horde/Registry.php:1840, referer: > https://domain.tld/services/prefs.php > > > This error occurs independly of the logged in user. > It occurs only, if the user is in certain tabs in the settings area > (e.g.: Preferences -> Global Preferences) > > The user's browser sends the following request that causes the error: > > POST /services/ajax.php/horde/topbarUpdate HTTP/1.1 > Host: domain.tld > User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:47.0) > Gecko/20100101 Firefox/47.0 > Accept: text/javascript, text/html, application/xml, text/xml, */* > Accept-Language: de,en-US;q=0.7,en;q=0.3 > Accept-Encoding: gzip, deflate, br > X-Requested-With: XMLHttpRequest > X-Prototype-Version: 1.7.3 > Content-Type: application/x-www-form-urlencoded; charset=UTF-8 > Referer: https://domain.tld/admin/config/config.php?app=horde > Content-Length: 165 > Cookie: tgsitpamooe=ks43bhj1ual84ig71u3vh87ro6; > horde_secret_key=DZ5R-I-QFVeZlPlHQK4M1E0 > Connection: keep-alive > app=horde&hash=f6b907f7638ae3a2559b05ec848099a9&location=https%3A%2F%2Fdomain.tld%2Fadmin%2Fconfig%2Fconfig.php%3Fapp%3Dhorde&token=q2272ohEO_-MTlHjvj9H0f2 > > The server's response is: HTTP/1.0 500 Internal Server Error > > I attached the file hooks.local.php. It only lowercases the $userId. > > This error does not affect he correct execution of the webinterface. >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers