Horde webmail shows the error: A fatal error has occurred exception 'ReflectionException'

Refers to:

  • Plesk 11.5 for Linux

Created:

2016-11-16 12:40:57 UTC

Modified:

2016-12-21 18:57:47 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Horde webmail shows the error: A fatal error has occurred exception 'ReflectionException'

Symptoms

Horde webmail shows the following error:

        A fatal error has occurred exception 'ReflectionException' with message 'Class 'fD' does not exist' in /usr/share/psa-pear/pear/php/Horde/Injector/Binder/Implementation.php:61 Stack trace: #0 /usr/share/psa-pear/pear/php/Horde/Injector/Binder/Implementation.php(61): ReflectionClass->__construct('?E??????p??????...') #1 /usr/share/psa-pear/pear/php/Horde/Injector/Binder/AnnotatedSetters.php(69): Horde_Injector_Binder_Implementation->create(Object(Horde_Injector)) #2 /usr/share/psa-pear/pear/php/Horde/Injector.php(213): Horde_Injector_Binder_AnnotatedSetters->create(Object(Horde_Injector)) #3 /usr/share/psa-pear/pear/php/Horde/Injector.php(247): Horde_Injector->createInstance('?E??????p??????...') #4 /usr/share/psa-pear/pear/php/Horde/Injector.php(242): Horde_Injector->getInstance('?E??????p??????...') #5 /usr/share/psa-pear/pear/php/Horde/Injector/Binder/Factory.php(111):

Or this one:

        [07-Jan-2014 17:54:11 Europe/London] PHP Fatal error:  Class '(V<D2>' not found in /usr/share/psa-pear/pear/php/Horde/Registry.php on line 442
[07-Jan-2014 17:52:33 Europe/London] PHP Fatal error: Class '(V^T^A' not found in /usr/share/psa-pear/pear/php/Horde/Registry.php on line 442
[07-Jan-2014 19:08:32 Europe/London] PHP Fatal error: Uncaught exception 'Horde_Injector_Exception' with message 'exception 'ReflectionException' with message 'Class <F8>^U=^B does not exist' in /usr/share/psa-pear/pear/php/Horde/Injector/Binder/Implementation.php:61

Class is generated with a new name each time.

Cause

This error may be caused by enabled eAccelerator PHP plugin. eAccelerator v0.9.6 may break Horde configuration:

http://bugs.horde.org/ticket/8810

Resolution

  1. Check if eAccelerator is enabled:

    [root@test]# php -v
    PHP 5.3.21 (cli) (built: Jan 20 2013 12:49:45)
    Copyright (c) 1997-2013 The PHP Group
    Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies
    with eAccelerator v0.9.6-svn358-dev, Copyright (c) 2004-2007 eAccelerator, by eAccelerator
    with the ionCube PHP Loader v4.2.2, Copyright (c) 2002-2012, by ionCube Ltd.
  2. Disable eAccelerator plug-in

To disable eAccelerator plug-in, modify /etc/php.d/eaccelerator.ini file and comment out the following line:

    /etc/php.d/eaccelerator.ini
;extension="eaccelerator.so"

Or move /etc/php.d/eaccelerator.ini out of /etc/php.d directory.

Alternatively, eAccelerator may be enabled in /etc/php.ini:

    /etc/php.ini
--->8---
;zend_extension="/usr/local/eaccelerator/eaccelerator.so"
;eaccelerator.shm_size="16"
;eaccelerator.cache_dir="/var/eaccelerator"
;eaccelerator.enable="1"
;eaccelerator.optimizer="1"
;eaccelerator.check_mtime="1"
;eaccelerator.debug="0"
;eaccelerator.filter=""
;eaccelerator.shm_max="0"
;eaccelerator.shm_ttl="0"
;eaccelerator.shm_prune_period="0"
;eaccelerator.shm_only="0"
;eaccelerator.compress="1"
;eaccelerator.compress_level="9"
---8<---
Have more questions? Submit a request
Please sign in to leave a comment.