Alex Kwon Sun Mar 20 21:17:14 -0400 2011

Subject: Fatal error: Uncaught exception 'ReflectionException'

Hello,

I ran into an issue recently when pushing the our code to our production server. The code works flawlessly locally.

Fatal error: Uncaught exception 'ReflectionException' with message 'Class Category does not exist' in /home/webapp/plugins/php-activerecord/lib/Reflections.php:33
Stack trace:
#0 /home/webapp/plugins/php-activerecord/lib/Reflections.php(33): ReflectionClass->_construct('Category')
#1 /home/webapp/plugins/php-activerecord/lib/Relationship.php(254): ActiveRecord\Reflections->add('Category')
#2 /home/webapp/plugins/php-activerecord/lib/Relationship.php(249): ActiveRecord\AbstractRelationship->set_class_name('Category')
#3 /home/webapp/plugins/php-activerecord/lib/Relationship.php(432): ActiveRecord\AbstractRelationship->set_inferred_class_name()
#4 /home/webapp/plugins/php-activerecord/lib/Table.php(461): ActiveRecord\HasMany->
_construct(Array)
#5 /home/webapp/plugins/php-activereco in /home/webapp/plugins/php-activerecord/lib/Reflections.php on line 33

Anyone have any experience with this or can provide some insite?

Thanks!