skewer\core\Component\Errors\ErrorException

Argument 1 passed to skewer\build\libs\Catalog\Parser::getObject() must be an instance of skewer\build\libs\Catalog\model\GoodsRow, null given, called in /var/www/bluzmedia/skewer/build/libs/Catalog/GoodsSelector.php on line 50 and defined

/var/www/bluzmedia/skewer/build/libs/Catalog/Parser.php:135

134
135
    public static function getObject( model\GoodsRow $oGoodsRow, $sParseMode = self::ModeFull, $aAttr = array() ) {
136

137
        $aFieldList = $oGoodsRow->getFields();
138

139
        $aValList = $oGoodsRow->getVars();
140


Stack trace

build/libs/Catalog/Parser:135 skewer\core\Component\Errors\Handler::error()
build/libs/Catalog/GoodsSelector:50 skewer\build\libs\Catalog\Parser::getObject()
build/Page/CatalogViewer/State/DetailPage:27 skewer\build\libs\Catalog\GoodsSelector::getByAlias()
build/Page/CatalogViewer/State/Prototype:29 skewer\build\Page\CatalogViewer\State\DetailPage::init()
build/Page/CatalogViewer/Module:95 skewer\build\Page\CatalogViewer\State\Prototype::show()
core/classes/skProcess:142 skewer\build\Page\CatalogViewer\Module::execute()
core/classes/skProcessorPrototype:205 skProcess::execute()
build/classes/PageProcessor:125 skProcessorPrototype::executeProcessList()
build/classes/PageProcessor:64 PageProcessor::executeRootProcess()
core/classes/skProcessor:164 PageProcessor::runApplication()
/var/www/bluzmedia/index:59 skProcessor::runApplication()

skewer\core\Component\Errors\FatalException

Call to a member function getFields() on a non-object

/var/www/bluzmedia/skewer/build/libs/Catalog/Parser.php:137

134
135
    public static function getObject( model\GoodsRow $oGoodsRow, $sParseMode = self::ModeFull, $aAttr = array() ) {
136

137
        $aFieldList = $oGoodsRow->getFields();
138

139
        $aValList = $oGoodsRow->getVars();
140

141
        $aFields = self::parseFields( $aFieldList );
142


Stack trace