Ignaz Pfefferkorn

Requested block 'BookListBlock' could not be loaded.

yii\base\UnknownMethodException: Calling unknown method: stison\lib\db\ActiveQuery::getRawSql() in /home/ubcpress/public_html/vendor/yiisoft/yii2/base/Component.php:300
Stack trace:
#0 /home/ubcpress/public_html/vendor/stison/yii2-webcore/models/SearchForm.php(448): yii\base\Component->__call('getRawSql', Array)
#1 /home/ubcpress/public_html/blocks/book_list/models/SearchForm.php(45): stison\models\SearchForm->getQuery(false)
#2 /home/ubcpress/public_html/blocks/book_list/BookListBlock.php(146): app\blocks\book_list\models\SearchForm->getQuery()
#3 /home/ubcpress/public_html/vendor/stison/yii2-webcore/lib/widgets/SectionWidget.php(101): app\blocks\book_list\BookListBlock->run()
#4 /home/ubcpress/public_html/vendor/stison/yii2-webcore/lib/widgets/SectionWidget.php(59): stison\lib\widgets\SectionWidget->renderBlocks(Array)
#5 /home/ubcpress/public_html/vendor/yiisoft/yii2/base/Widget.php(146): stison\lib\widgets\SectionWidget->run()
#6 /home/ubcpress/public_html/layouts/dynamic/slots/main/column3/views/index.php(34): yii\base\Widget::widget(Array)
#7 /home/ubcpress/public_html/vendor/yiisoft/yii2/base/View.php(347): require('/home/ubcpress/...')
#8 /home/ubcpress/public_html/vendor/yiisoft/yii2/base/View.php(257): yii\base\View->renderPhpFile('/home/ubcpress/...', Array)
#9 /home/ubcpress/public_html/vendor/yiisoft/yii2/base/View.php(156): yii\base\View->renderFile('/home/ubcpress/...', Array, Object(app\layouts\dynamic\slots\main\column3\Column3Slot))
#10 /home/ubcpress/public_html/vendor/stison/yii2-webcore/layouts/dynamic/components/Slot.php(63): yii\base\View->render('index', Array, Object(app\layouts\dynamic\slots\main\column3\Column3Slot))
#11 /home/ubcpress/public_html/vendor/stison/yii2-webcore/layouts/dynamic/components/Slot.php(45): stison\layouts\dynamic\components\Slot->renderView('index')
#12 /home/ubcpress/public_html/vendor/stison/yii2-webcore/layouts/dynamic/views/index.php(53): stison\layouts\dynamic\components\Slot->render()
#13 /home/ubcpress/public_html/vendor/yiisoft/yii2/base/View.php(347): require('/home/ubcpress/...')
#14 /home/ubcpress/public_html/vendor/yiisoft/yii2/base/View.php(257): yii\base\View->renderPhpFile('/home/ubcpress/...', Array)
#15 /home/ubcpress/public_html/vendor/yiisoft/yii2/base/View.php(156): yii\base\View->renderFile('/home/ubcpress/...', Array, Object(app\controllers\SiteController))
#16 /home/ubcpress/public_html/vendor/yiisoft/yii2/base/Controller.php(407): yii\base\View->render('/index', Array, Object(app\controllers\SiteController))
#17 /home/ubcpress/public_html/vendor/stison/yii2-webcore/controllers/SiteController.php(306): yii\base\Controller->render('/index')
#18 [internal function]: stison\controllers\SiteController->actionIndex()
#19 /home/ubcpress/public_html/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#20 /home/ubcpress/public_html/vendor/yiisoft/yii2/base/Controller.php(178): yii\base\InlineAction->runWithParams(Array)
#21 /home/ubcpress/public_html/vendor/yiisoft/yii2/base/Module.php(552): yii\base\Controller->runAction('index', Array)
#22 /home/ubcpress/public_html/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction('site/index', Array)
#23 /home/ubcpress/public_html/vendor/yiisoft/yii2/base/Application.php(384): yii\web\Application->handleRequest(Object(yii\web\Request))
#24 /home/ubcpress/public_html/web/index.php(6): yii\base\Application->run()
#25 {main}
Find what you’re looking for...
Stay Informed

Receive the latest UBC Press news, including events, catalogues, and announcements.


Read past newsletters

Publishers Represented
UBC Press is the Canadian agent for several international publishers. Visit our Publishers Represented page to learn more.