This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

Error after updating to Symfony 2.5.0

Discuss installing Symfony 2 here

Error after updating to Symfony 2.5.0

by gcunha » Thu Jun 12, 2014 10:47 am

Hello

I updated my symfony project with the command
Code: Select all
php composer.phar update


Image

(I had to clear cache manually through windows file browser, and also delete the web\bundles\sensiodistribution\webconfigurator directory. Composer update was giving an error while deleting this folders)

Then, I got an error when opening my website:
An exception has been thrown during the rendering of a template ("Case mismatch between loaded and declared class names: Unipiaget\DbBundle\Entity\pages vs Unipiaget\DbBundle\Entity\Pages") in UnipiagetAdminBundle:Default:index.html.twig at line 12.


I edited the src/Symfony/Component/Debug/DebugClassLoader.php inside the vendors, added:
Code: Select all
if ($name !== $class && 0 === strcasecmp($name, $class)) {

in line number 178, but still same error. Cleared cache and everything, through CMD and manually... nothing has worked :(

Can someone help me?
gcunha
Junior Member
 
Posts: 5
Joined: Mon Jun 09, 2014 11:08 am