SQLSTATE[42S22]: Column not found: 1054 Unknown column 'course.openDay' in 'where clause'
File: %root%/src/Bcom/Phalcon/Dao/DynamicQueryBuilder.php
Line: 116
#0 [internal function]: PDOStatement->execute() #1 [internal function]: Phalcon\Db\Adapter\Pdo->executePrepared(Object(PDOStatement), Array, NULL) #2 [internal function]: Phalcon\Db\Adapter\Pdo->query('SELECT count(co...', Array, NULL) #3 [internal function]: Phalcon\Db\Adapter->fetchOne('SELECT count(co...', 4, Array) #4 %root%/src/Bcom/Phalcon/Dao/DynamicQueryBuilder.php(116): Phalcon\Db\Adapter->fetchColumn('SELECT count(co...', Array, 0) #5 %root%/src/Bcom/Phalcon/Dao/BaseDao.php(358): Bcom\Phalcon\Dao\DynamicQueryBuilder->fetchColumn(0) #6 %root%/src/Bedu/CourseBundle/Services/Course/Impl/CourseServiceImpl.php(680): Bcom\Phalcon\Dao\BaseDao->fetchCount(Array) #7 %root%/src/Bedu/CourseBundle/Services/Course/Impl/CourseServiceImpl.php(727): Bedu\CourseBundle\Services\Course\Impl\CourseServiceImpl->getCourseCount(Array) #8 %root%/src/Bedu/WebBundle/Services/Home/Impl/HomeServiceImpl.php(16): Bedu\CourseBundle\Services\Course\Impl\CourseServiceImpl->getCourseCountBySchoolId(1) #9 %root%/src/Bedu/WebBundle/Controllers/DefaultController.php(97): Bedu\WebBundle\Services\Home\Impl\HomeServiceImpl->top() #10 [internal function]: Bedu\WebBundle\Controllers\DefaultController->indexAction() #11 [internal function]: Phalcon\Dispatcher->callActionMethod(Object(Bedu\WebBundle\Controllers\DefaultController), 'indexAction', Array) #12 [internal function]: Phalcon\Dispatcher->dispatch() #13 %root%/src/Bedu/KernelBundle/Kernel.php(488): Phalcon\Mvc\Application->handle('/') #14 %root%/public/index.php(30): Bedu\KernelBundle\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #15 {main}