Skip to content

Instantly share code, notes, and snippets.

@K-Phoen K-Phoen/gist:3875087
Created Oct 11, 2012

Embed
What would you like to do?
[vagrant@vagrant-debian-squeeze:~/www/project on develop]
% ./app/console propel:model:build
PHP Fatal error: Class 'FOS\UserBundle\Propel\om\BaseUserQuery' not found in /home/vagrant/www/project/vendor/friendsofsymfony/user-bundle/FOS/UserBundle/Propel/UserQuery.php on line 17
PHP Stack trace:
PHP 1. {main}() /home/vagrant/www/project/app/console:0
PHP 2. Symfony\Component\Console\Application->run() /home/vagrant/www/project/app/console:22
PHP 3. Symfony\Bundle\FrameworkBundle\Console\Application->doRun() /home/vagrant/www/project/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:106
PHP 4. Symfony\Bundle\FrameworkBundle\Console\Application->registerCommands() /home/vagrant/www/project/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:68
PHP 5. Symfony\Component\HttpKernel\Kernel->boot() /home/vagrant/www/project/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:83
PHP 6. Symfony\Component\HttpKernel\Kernel->initializeContainer() /home/vagrant/www/project/app/bootstrap.php.cache:566
PHP 7. Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate->warmUp() /home/vagrant/www/project/app/bootstrap.php.cache:866
PHP 8. Admingenerator\GeneratorBundle\CacheWarmer\GeneratorCacheWarmer->warmUp() /home/vagrant/www/project/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/CacheWarmer/CacheWarmerAggregate.php:47
PHP 9. Admingenerator\GeneratorBundle\CacheWarmer\GeneratorCacheWarmer->buildFromYaml() /home/vagrant/www/project/vendor/cedriclombardot/admingenerator-generator-bundle/Admingenerator/GeneratorBundle/CacheWarmer/GeneratorCacheWarmer.php:45
PHP 10. Admingenerator\GeneratorBundle\Generator\PropelGenerator->build() /home/vagrant/www/project/vendor/cedriclombardot/admingenerator-generator-bundle/Admingenerator/GeneratorBundle/CacheWarmer/GeneratorCacheWarmer.php:84
PHP 11. TwigGenerator\Builder\Generator->writeOnDisk() /home/vagrant/www/project/vendor/cedriclombardot/admingenerator-generator-bundle/Admingenerator/GeneratorBundle/Generator/PropelGenerator.php:80
PHP 12. TwigGenerator\Builder\BaseBuilder->writeOnDisk() /home/vagrant/www/project/vendor/cedriclombardot/twig-generator/src/TwigGenerator/Builder/Generator.php:156
PHP 13. Admingenerator\GeneratorBundle\Builder\BaseBuilder->getCode() /home/vagrant/www/project/vendor/cedriclombardot/twig-generator/src/TwigGenerator/Builder/BaseBuilder.php:251
PHP 14. Twig_Template->render() /home/vagrant/www/project/vendor/cedriclombardot/admingenerator-generator-bundle/Admingenerator/GeneratorBundle/Builder/BaseBuilder.php:67
PHP 15. Twig_Template->display() /home/vagrant/www/project/vendor/twig/twig/lib/Twig/Template.php:250
PHP 16. Twig_Template->displayWithErrorHandling() /home/vagrant/www/project/vendor/twig/twig/lib/Twig/Template.php:239
PHP 17. __TwigTemplate_e2179f0a9074799324ac81c7ca572aba->doDisplay() /home/vagrant/www/project/vendor/twig/twig/lib/Twig/Template.php:265
PHP 18. Twig_Template->display() /home/vagrant/www/project/app/cache/dev/TwigGenerator/e2/17/9f0a9074799324ac81c7ca572aba.php:31
PHP 19. Twig_Template->displayWithErrorHandling() /home/vagrant/www/project/vendor/twig/twig/lib/Twig/Template.php:239
PHP 20. __TwigTemplate_5037da75fb718a0a63c8749f9c7bb966->doDisplay() /home/vagrant/www/project/vendor/twig/twig/lib/Twig/Template.php:265
PHP 21. Twig_Template->displayBlock() /home/vagrant/www/project/app/cache/dev/TwigGenerator/50/37/da75fb718a0a63c8749f9c7bb966.php:157
PHP 22. call_user_func() /home/vagrant/www/project/vendor/twig/twig/lib/Twig/Template.php:134
PHP 23. __TwigTemplate_e2179f0a9074799324ac81c7ca572aba->block_processFilters() /home/vagrant/www/project/vendor/twig/twig/lib/Twig/Template.php:134
PHP 24. Twig_Template->getAttribute() /home/vagrant/www/project/app/cache/dev/TwigGenerator/e2/17/9f0a9074799324ac81c7ca572aba.php:126
PHP 25. call_user_func_array() /home/vagrant/www/project/vendor/twig/twig/lib/Twig/Template.php:425
PHP 26. Admingenerator\GeneratorBundle\Builder\Admin\ListBuilder->getFilterColumns() /home/vagrant/www/project/vendor/twig/twig/lib/Twig/Template.php:425
PHP 27. Admingenerator\GeneratorBundle\Builder\Admin\ListBuilder->findFilterColumns() /home/vagrant/www/project/vendor/cedriclombardot/admingenerator-generator-bundle/Admingenerator/GeneratorBundle/Builder/Admin/ListBuilder.php:48
PHP 28. Admingenerator\GeneratorBundle\Guesser\PropelORMFieldGuesser->getDbType() /home/vagrant/www/project/vendor/cedriclombardot/admingenerator-generator-bundle/Admingenerator/GeneratorBundle/Builder/Admin/ListBuilder.php:69
PHP 29. Admingenerator\GeneratorBundle\Guesser\PropelORMFieldGuesser->getRelation() /home/vagrant/www/project/vendor/cedriclombardot/admingenerator-generator-bundle/Admingenerator/GeneratorBundle/Guesser/PropelORMFieldGuesser.php:40
PHP 30. Admingenerator\GeneratorBundle\Guesser\PropelORMFieldGuesser->getMetadatas() /home/vagrant/www/project/vendor/cedriclombardot/admingenerator-generator-bundle/Admingenerator/GeneratorBundle/Guesser/PropelORMFieldGuesser.php:49
PHP 31. Admingenerator\GeneratorBundle\Guesser\PropelORMFieldGuesser->getTable() /home/vagrant/www/project/vendor/cedriclombardot/admingenerator-generator-bundle/Admingenerator/GeneratorBundle/Guesser/PropelORMFieldGuesser.php:24
PHP 32. class_exists() /home/vagrant/www/project/vendor/cedriclombardot/admingenerator-generator-bundle/Admingenerator/GeneratorBundle/Guesser/PropelORMFieldGuesser.php:249
PHP 33. Symfony\Component\ClassLoader\DebugClassLoader->loadClass() /home/vagrant/www/project/vendor/cedriclombardot/admingenerator-generator-bundle/Admingenerator/GeneratorBundle/Guesser/PropelORMFieldGuesser.php:0
PHP 34. require() /home/vagrant/www/project/vendor/symfony/symfony/src/Symfony/Component/ClassLoader/DebugClassLoader.php:82
<?php
namespace Admingenerated\ProjectAdminBundle\BaseUserController;
use Project\AdminBundle\Form\Type\User\FiltersType;
use Admingenerator\GeneratorBundle\Controller\Propel\BaseController as BaseController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Pagerfanta\Pagerfanta;
use Pagerfanta\Adapter\PropelAdapter as PagerAdapter;
class ListController extends BaseController
{
public function indexAction()
{
if ($this->get('request')->query->get('page'))
{
$this->setPage($this->get('request')->query->get('page'));
}
if ($this->get('request')->query->get('sort'))
{
$this->setSort($this->get('request')->query->get('sort'), $this->get('request')->query->get('order_by','ASC'));
}
$form = $this->getFilterForm();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.