Array
(
    [error] => Array
        (
            [code] => 500
            [message] => Internal Server Error
            [exception] => Array
                (
                    [0] => Array
                        (
                            [message] => The identifier id is missing for a query of Cas\CourseBundle\Entity\Course
                            [class] => Doctrine\ORM\ORMException
                            [trace] => Array
                                (
                                    [0] => Array
                                        (
                                            [namespace] => 
                                            [short_class] => 
                                            [class] => 
                                            [type] => 
                                            [function] => 
                                            [file] => /home/twenso/domains/twenso.nl/vendor/doctrine/orm/lib/Doctrine/ORM/ORMException.php
                                            [line] => 294
                                            [args] => Array
                                                (
                                                )

                                        )

                                    [1] => Array
                                        (
                                            [namespace] => Doctrine\ORM
                                            [short_class] => ORMException
                                            [class] => Doctrine\ORM\ORMException
                                            [type] => ::
                                            [function] => missingIdentifierField
                                            [file] => /home/twenso/domains/twenso.nl/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php
                                            [line] => 403
                                            [args] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [0] => string
                                                            [1] => Cas\CourseBundle\Entity\Course
                                                        )

                                                    [1] => Array
                                                        (
                                                            [0] => string
                                                            [1] => id
                                                        )

                                                )

                                        )

                                    [2] => Array
                                        (
                                            [namespace] => Doctrine\ORM
                                            [short_class] => EntityManager
                                            [class] => Doctrine\ORM\EntityManager
                                            [type] => ->
                                            [function] => find
                                            [file] => /home/twenso/domains/twenso.nl/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php
                                            [line] => 154
                                            [args] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [0] => string
                                                            [1] => Cas\CourseBundle\Entity\Course
                                                        )

                                                    [1] => Array
                                                        (
                                                            [0] => array
                                                            [1] => Array
                                                                (
                                                                    [id] => Array
                                                                        (
                                                                            [0] => null
                                                                            [1] => 
                                                                        )

                                                                )

                                                        )

                                                    [2] => Array
                                                        (
                                                            [0] => null
                                                            [1] => 
                                                        )

                                                    [3] => Array
                                                        (
                                                            [0] => null
                                                            [1] => 
                                                        )

                                                )

                                        )

                                    [3] => Array
                                        (
                                            [namespace] => Doctrine\ORM
                                            [short_class] => EntityRepository
                                            [class] => Doctrine\ORM\EntityRepository
                                            [type] => ->
                                            [function] => find
                                            [file] => /home/twenso/domains/twenso.nl/src/Rest/RestBundle/Controller/CourseController.php
                                            [line] => 1299
                                            [args] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [0] => null
                                                            [1] => 
                                                        )

                                                )

                                        )

                                    [4] => Array
                                        (
                                            [namespace] => Rest\RestBundle\Controller
                                            [short_class] => CourseController
                                            [class] => Rest\RestBundle\Controller\CourseController
                                            [type] => ->
                                            [function] => getCourseProductsAction
                                            [file] => /home/twenso/domains/twenso.nl/app/bootstrap.php.cache
                                            [line] => 3276
                                            [args] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [0] => object
                                                            [1] => Symfony\Component\HttpFoundation\Request
                                                        )

                                                )

                                        )

                                    [5] => Array
                                        (
                                            [namespace] => Symfony\Component\HttpKernel
                                            [short_class] => HttpKernel
                                            [class] => Symfony\Component\HttpKernel\HttpKernel
                                            [type] => ->
                                            [function] => handleRaw
                                            [file] => /home/twenso/domains/twenso.nl/app/bootstrap.php.cache
                                            [line] => 3235
                                            [args] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [0] => object
                                                            [1] => Symfony\Component\HttpFoundation\Request
                                                        )

                                                    [1] => Array
                                                        (
                                                            [0] => string
                                                            [1] => 1
                                                        )

                                                )

                                        )

                                    [6] => Array
                                        (
                                            [namespace] => Symfony\Component\HttpKernel
                                            [short_class] => HttpKernel
                                            [class] => Symfony\Component\HttpKernel\HttpKernel
                                            [type] => ->
                                            [function] => handle
                                            [file] => /home/twenso/domains/twenso.nl/app/bootstrap.php.cache
                                            [line] => 3389
                                            [args] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [0] => object
                                                            [1] => Symfony\Component\HttpFoundation\Request
                                                        )

                                                    [1] => Array
                                                        (
                                                            [0] => string
                                                            [1] => 1
                                                        )

                                                    [2] => Array
                                                        (
                                                            [0] => boolean
                                                            [1] => 1
                                                        )

                                                )

                                        )

                                    [7] => Array
                                        (
                                            [namespace] => Symfony\Component\HttpKernel\DependencyInjection
                                            [short_class] => ContainerAwareHttpKernel
                                            [class] => Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel
                                            [type] => ->
                                            [function] => handle
                                            [file] => /home/twenso/domains/twenso.nl/app/bootstrap.php.cache
                                            [line] => 2594
                                            [args] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [0] => object
                                                            [1] => Symfony\Component\HttpFoundation\Request
                                                        )

                                                    [1] => Array
                                                        (
                                                            [0] => string
                                                            [1] => 1
                                                        )

                                                    [2] => Array
                                                        (
                                                            [0] => boolean
                                                            [1] => 1
                                                        )

                                                )

                                        )

                                    [8] => Array
                                        (
                                            [namespace] => Symfony\Component\HttpKernel
                                            [short_class] => Kernel
                                            [class] => Symfony\Component\HttpKernel\Kernel
                                            [type] => ->
                                            [function] => handle
                                            [file] => /home/twenso/domains/twenso.nl/public_html/app_dev.php
                                            [line] => 69
                                            [args] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [0] => object
                                                            [1] => Symfony\Component\HttpFoundation\Request
                                                        )

                                                )

                                        )

                                )

                        )

                )

        )

)