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

Class ArrayObject Not Found

Discussion in 'Troubleshooting and Problems' started by Jeremy P, Jan 30, 2011.

  1. Jeremy P

    Jeremy P Well-Known Member

    This is something I had seen briefly before, but it's recently become a bigger problem.

    Fatal error: Class 'ArrayObject' not found in /www/.../library/Zend/Registry.php on line 31
    That class is from the SPL, which is being loaded correctly and appears in my phpinfo();

    Every once in a while, that error will appear. I believe XCache is the culprit because removing it makes the issue go away. Has anyone come across this before? Is this some known XCache issue?

    I've always liked XCache, but what would be the recommended alternative, APC?
  2. a legacy reborn

    a legacy reborn Well-Known Member

    I would recommend APC, I have installed both before and APC completely dominates XCache.
  3. SchmitzIT

    SchmitzIT Well-Known Member

    I saw this error today for the very first time. SPL was installed and running on the server.

    At the time it happened, I was working in a .htaccess file, which I do not believe is related to the issue. I simply reverted what I did, but the error remained.

    Any ideas as to what caused this, or how to work around it, and better yet, how to prevent it from happening again?
  4. Jeremy P

    Jeremy P Well-Known Member

    In my case it was related to XCache, so I swapped it out with APC.
  5. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

Share This Page