• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Zend/Registry.php on line 30

#1
my site just stop and i get this

Fatal error: Class 'ArrayObject' not found in /home/gri***r/domains/***********.com/public_html/library/Zend/Registry.php on line 30
 

Jake Bunce

XenForo moderator
Staff member
#2
This is a problem with your PHP configuration. ArrayObject is part of the standard library. Your PHP installation must be using --disable-spl.

I recommend you upgrade PHP on your server to 5.3.x (latest is currently 5.3.15). This upgrade is recommended anyways. And 5.3 no longer allows you to disable the standard library which should fix this error.
 
V

veseoj

Guest
#4
I'm having the same problem - not sure what to do, server is fine. It just "happened", no recent changes or anything.

Running Nginx 1.2.3 and PHP-FPM 5.3.16.
 

Jake Bunce

XenForo moderator
Staff member
#5
I'm having the same problem - not sure what to do, server is fine. It just "happened", no recent changes or anything.

Running Nginx 1.2.3 and PHP-FPM 5.3.16.
The same exact error? On PHP 5.3? Are you sure? Because that error shouldn't be possible on PHP 5.3
 

Jake Bunce

XenForo moderator
Staff member
#7
Same exact error.
Then you need to:

1) Confirm your PHP version. This error shouldn't be possible on PHP 5.3

2) While you're at it, make sure your PHP Configure Command does not include --disable-spl.

You can check both of these things by uploading a phpinfo page.
 

Attachments

Jake Bunce

XenForo moderator
Staff member
#11
Sure enough. That's the same error.

So basically this error shouldn't be possible on your current setup. Either your forum is running a different instance of PHP than the one you are checking, or this is some strange problem with your PHP configuration in which case I recommend reinstalling PHP on your server (contact your host or server person). ArrayObject is part of the standard library so it's a PHP problem and not a XenForo problem.
 
V

veseoj

Guest
#12
The host/server person is me so I guess I will try to re install it. Running CentOS 6 for reference.