Unsure what is causing this error:
Fatal error: Trying to clone an uncloneable object of class ReflectionObject in /var/www/html/testlink/lib/functions/object.class.php on line 54
Thanks for any insight.
Reflection Object error?
Moderators: Amaradana, TurboPT, TL Developers
Re: Reflection Object error?
...a little more info. This happens immediately after clicking 'proceed' on the license screen.TurboPT wrote: Fatal error: Trying to clone an uncloneable object of class ReflectionObject in /var/www/html/testlink/lib/functions/object.class.php on line 54
Figured out the error...
After trudging through php.net, for the ReflectionClass, an anonymous user's comment [similar in nature, but not exactly the same] had this:
; Enable compatibility mode with Zend Engine 1 (PHP 4.x)
;zend.ze1_compatibility_mode = On // causes 'Reflection' class problems.
zend.ze1_compatibility_mode = Off
Hope this helps others that might encounter the same problem.
...and sure enough, that setting WAS enabled in my php.ini file:If you are getting
Fatal error: Trying to clone an uncloneable object of class ReflectionClass in …
Ensure that this is set.
zend.ze1_compatibility_mode=Off in php.ini
Thanks to anil who posted this on www.tecpages.com
; Enable compatibility mode with Zend Engine 1 (PHP 4.x)
;zend.ze1_compatibility_mode = On // causes 'Reflection' class problems.
zend.ze1_compatibility_mode = Off
Hope this helps others that might encounter the same problem.