Query:

SELECT thptc.categoryId as id, thptc.categoryParentId as parentId 
FROM tecdoc_help_products_to_categories thptc 
WHERE motorizationId = 44231 AND nodeType = 2

Error message

Table 'autotechna_sk.tecdoc_help_products_to_categories' doesn't exist

Trace:

#0 /var/www/vhosts/autotechna.sk/httpdocs/vendor/dibi/dibi/src/Dibi/Drivers/MySqliDriver.php(151): Dibi\Drivers\MySqliDriver::createException('Table 'autotech...', 1146, 'SELECT thpt...') #1 /var/www/vhosts/autotechna.sk/httpdocs/vendor/dibi/dibi/src/Dibi/Connection.php(275): Dibi\Drivers\MySqliDriver->query('SELECT thpt...') #2 /var/www/vhosts/autotechna.sk/httpdocs/vendor/dibi/dibi/src/Dibi/Connection.php(203): Dibi\Connection->nativeQuery('SELECT thpt...') #3 /var/www/vhosts/autotechna.sk/httpdocs/application/lib/Model/Dibi.php(68): Dibi\Connection->query(Array) #4 /var/www/vhosts/autotechna.sk/httpdocs/application/lib/Model/Category.php(434): Model_Dibi->query(Array) #5 /var/www/vhosts/autotechna.sk/httpdocs/class/Category.php(272): Model_Category->getCategoriesByMotorization(44231, NULL, 2) #6 /var/www/vhosts/autotechna.sk/httpdocs/class/Template/IntroTecdoc.php(160): Category::getCategoriesTreeByMotorization(44231, 2710, 2) #7 /var/www/vhosts/autotechna.sk/httpdocs/class/Template/IntroTecdoc.php(53): Template\IntroTecdoc->getSubCategories() #8 /var/www/vhosts/autotechna.sk/httpdocs/class/Template/System.php(42): Template\IntroTecdoc->loadTemplateSmartyData() #9 /var/www/vhosts/autotechna.sk/httpdocs/class/LayoutSmarty.php(30): Template\System->render() #10 /var/www/vhosts/autotechna.sk/httpdocs/class/Reflex.php(619): LayoutSmarty::render(Object(PageData), 'pt_intro_tecdoc') #11 /var/www/vhosts/autotechna.sk/httpdocs/index.php(88): Reflex::display() #12 {main}