Fatal error: Uncaught Propel\Runtime\Map\Exception\TableNotFoundException: Cannot fetch TableMap for undefined table phpName: \StocktakingHasBrand in database pleinair2022. in /opt/propel_2.0.beta4/src/Propel/Runtime/Map/DatabaseMap.php:340
Stack trace:
#0 /opt/propel_2.0.beta4/src/Propel/Runtime/Map/DatabaseMap.php(316): Propel\Runtime\Map\DatabaseMap->determineTableMapClassNameByPhpName()
#1 /opt/propel_2.0.beta4/src/Propel/Runtime/Map/TableMap.php(793): Propel\Runtime\Map\DatabaseMap->getTableByPhpName()
#2 /home/bpasf/public_html/mod/gen/Map/BrandTableMap.php(398): Propel\Runtime\Map\TableMap->addRelation()
#3 /opt/propel_2.0.beta4/src/Propel/Runtime/Map/TableMap.php(878): Map\BrandTableMap->buildRelations()
#4 /opt/propel_2.0.beta4/src/Propel/Runtime/Map/TableMap.php(862): Propel\Runtime\Map\TableMap->getRelations()
#5 /home/bpasf/public_html/mod/gen/Base/BrandQuery.php(3030): Propel\Runtime\Map\TableMap->getRelation()
#6 /home/bpasf/public_html/mod/gen/Base/BrandQuery.php(3334): Base\BrandQuery->joinBrandI18n()
#7 /home/bpasf/public_html/mod/gen/Base/BrandQuery.php(3350): Base\BrandQuery->joinI18n()
#8 /home/bpasf/public_html/mod/store/app/component/Product.php(314): Base\BrandQuery->joinWithI18n()
#9 /home/bpasf/public_html/mod/store/app/component/Product.php(188): Products->initProduct()
#10 /home/bpasf/public_html/mod/store/catalogue.php(19): Products->getPageContent()
#11 /home/bpasf/public_html/mod/template.php(49): include('/home/bpasf/pub...')
#12 /home/bpasf/public_html/inc/index.menu.php(109): require_once('/home/bpasf/pub...')
#13 /home/bpasf/public_html/index.php(39): include('/home/bpasf/pub...')
#14 {main}
thrown in /opt/propel_2.0.beta4/src/Propel/Runtime/Map/DatabaseMap.php on line 340