In local server it works perfectly but when I send this production server I receive following error. I
My php version is 5.2.11 on production server and in phpinfo() it shows SPL support enabled. I've tested a few more sample php code includes ArrayIterator with success but I cannot pass below error. Any thought?
PHP Fatal error: Class 'ArrayIterator' not found in ****/includes/modules/kiss_meta_tags/classes/kiss_meta_tags_class.php on line 123
SPL support enabled Interfaces Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject Classes AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilterIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RegexIterator, RuntimeException, SimpleXMLIterator, SplFileInfo, SplFileObject, SplObjectStorage, SplTempFileObject, UnderflowException, UnexpectedValueException
If ArrayIterator is not available then the host has disabled SPL ( --disable-spl ) when compiling PHP which is ridiculous.