pilot/jobeet2 — Issue #2: uploading a image when adding a job. 
Author: yaido
Created: 2011-10-20 01:36:31+00:00
State: open

If i add a logo i get the following error

Whoops, looks like something went wrong.
2/2 Exception: Symfony\Bridge\Doctrine\DataCollector\DoctrineDataCollector::serialize() must return a string or NULL

in /var/www/html/Symfony/vendor/symfony/src/Symfony/Component/HttpKernel/Profiler/Profiler.php line 177
at serialize() in /var/www/html/Symfony/vendor/symfony/src/Symfony/Component/HttpKernel/Profiler/Profiler.php line 0
at Profiler->collect() in /var/www/html/Symfony/vendor/symfony/src/Symfony/Component/HttpKernel/EventListener/ProfilerListener.php line 90
at ProfilerListener->onKernelResponse()
at call_user_func() in /var/www/html/Symfony/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Debug/TraceableEventDispatcher.php line 82
at TraceableEventDispatcher->doDispatch() in /var/www/html/Symfony/app/cache/dev/classes.php line 3685
at EventDispatcher->dispatch() in /var/www/html/Symfony/app/cache/dev/classes.php line 4774
at ContainerAwareEventDispatcher->dispatch() in /var/www/html/Symfony/app/cache/dev/classes.php line 3911
at HttpKernel->filterResponse() in /var/www/html/Symfony/app/cache/dev/classes.php line 3903
at HttpKernel->handleRaw() in /var/www/html/Symfony/app/cache/dev/classes.php line 3853
at HttpKernel->handle() in /var/www/html/Symfony/app/cache/dev/classes.php line 4832
at HttpKernel->handle() in /var/www/html/Symfony/app/bootstrap.php.cache line 547
at Kernel->handle() in /var/www/html/Symfony/web/app_dev.php line 18

1/2 Exception: Serialization of 'Symfony\Component\HttpFoundation\File\UploadedFile' is not allowed

in /var/www/html/Symfony/vendor/symfony/src/Symfony/Component/HttpKernel/DataCollector/DataCollector.php line 29
at serialize() in /var/www/html/Symfony/vendor/symfony/src/Symfony/Component/HttpKernel/DataCollector/DataCollector.php line 29
at DataCollector->serialize()
at serialize() in /var/www/html/Symfony/vendor/symfony/src/Symfony/Component/HttpKernel/Profiler/Profiler.php line 177
at Profiler->collect() in /var/www/html/Symfony/vendor/symfony/src/Symfony/Component/HttpKernel/EventListener/ProfilerListener.php line 90
at ProfilerListener->onKernelResponse()
at call_user_func() in /var/www/html/Symfony/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Debug/TraceableEventDispatcher.php line 82
at TraceableEventDispatcher->doDispatch() in /var/www/html/Symfony/app/cache/dev/classes.php line 3685
at EventDispatcher->dispatch() in /var/www/html/Symfony/app/cache/dev/classes.php line 4774
at ContainerAwareEventDispatcher->dispatch() in /var/www/html/Symfony/app/cache/dev/classes.php line 3911
at HttpKernel->filterResponse() in /var/www/html/Symfony/app/cache/dev/classes.php line 3903
at HttpKernel->handleRaw() in /var/www/html/Symfony/app/cache/dev/classes.php line 3853
at HttpKernel->handle() in /var/www/html/Symfony/app/cache/dev/classes.php line 4832
at HttpKernel->handle() in /var/www/html/Symfony/app/bootstrap.php.cache line 547
at Kernel->handle() in /var/www/html/Symfony/web/app_dev.php line 18