Fatal error: Uncaught PropelException: Cannot fetch TableMap for undefined table phpName: NotaFiscalTnt in /home/redefacilbrasil/www/qcommerce/vendors/propel/runtime/lib/map/DatabaseMap.php:181 Stack trace: #0 /home/redefacilbrasil/www/qcommerce/vendors/propel/runtime/lib/map/TableMap.php(564): DatabaseMap->getTableByPhpName('NotaFiscalTnt') #1 /home/redefacilbrasil/www/qcommerce/propel/build/classes/qcommerce/map/PedidoTableMap.php(119): TableMap->addRelation('NotaFiscalTnt', 'NotaFiscalTnt', 2, Array, NULL, NULL, 'NotaFiscalTnts') #2 /home/redefacilbrasil/www/qcommerce/vendors/propel/runtime/lib/map/TableMap.php(618): PedidoTableMap->buildRelations() #3 /home/redefacilbrasil/www/qcommerce/vendors/propel/runtime/lib/map/TableMap.php(602): TableMap->getRelations() #4 /home/redefacilbrasil/www/qcommerce/propel/build/classes/qcommerce/om/BasePedidoQuery.php(2536): TableMap->getRelation('Historico') #5 /home/redefacilbrasil/www/qcommerce/propel/build/classes/qcommerce/om/BasePedidoQuery.php(2571): BasePedidoQuery->joinHistor in /home/redefacilbrasil/www/qcommerce/vendors/propel/runtime/lib/map/DatabaseMap.php on line 181