Open b23prodtm opened 8 months ago
Error: Table achats for model Achat was not found in datasource default. #0 /var/www/localhost/htdocs/lib/Cake/Model/Model.php(3686): Model->setSource() #1 /var/www/localhost/htdocs/app/Plugin/Backups/Console/Command/BackupShell.php(74): Model->getDataSource() #2 /var/www/localhost/htdocs/lib/Cake/Console/Shell.php(462): BackupShell->main() #3 /var/www/localhost/htdocs/lib/Cake/Console/ShellDispatcher.php(222): Shell->runCommand() #4 /var/www/localhost/htdocs/lib/Cake/Console/ShellDispatcher.php(66): ShellDispatcher->dispatch() #5 /var/www/localhost/htdocs/app/Console/cake.php(46): ShellDispatcher::run() #6 {main} bash-5.1# cake Backups.backup Welcome to CakePHP v2.10.20 Console --------------------------------------------------------------- App : app Path: /var/www/localhost/htdocs/app/ --------------------------------------------------------------- Backing up... Model "Achat" (0) Model "Article" (0) Error: Call to undefined method CakeSession::getDataSource() #0 /var/www/localhost/htdocs/lib/Cake/Console/Shell.php(462): BackupShell->main() #1 /var/www/localhost/htdocs/lib/Cake/Console/ShellDispatcher.php(222): Shell->runCommand() #2 /var/www/localhost/htdocs/lib/Cake/Console/ShellDispatcher.php(66): ShellDispatcher->dispatch() #3 /var/www/localhost/htdocs/app/Console/cake.php(46): ShellDispatcher::run() #4 {main} bash-5.1#