routes polluted by relic of VoyagerFrontEnd
When running
php artisan route:list
I get this error: Capture_d_écran_2020-10-16_à_14.58.10
I thought I had removed all reference to VoyagerFrontEnd, so i look for code specifying a call to a VoyagerFrontEnd by typing:
grep -R 'Pvtl' ./
and this lists some seeders:
./database/seeders/FunctionalityTrackingByIseedDataTypesTableSeeder.php: 'controller' => '\\Pvtl\\VoyagerFrontend\\Http\\Controllers\\PostController',
./database/seeders/FunctionalityTrackingByIseedDataTypesTableSeeder.php: 'model_name' => 'Pvtl\\VoyagerFrontend\\BlogPost',
./database/seeders/FunctionalityTrackingByIseedDataTypesTableSeeder.php: 'model_name' => 'Pvtl\\VoyagerBlog\\Category',
./database/seeders/FunctionalityTrackingByIseedDataTypesTableSeeder.php: 'controller' => '\\Pvtl\\VoyagerFrontend\\Http\\Controllers\\PageController',
./database/seeders/FunctionalityTrackingByIseedDataTypesTableSeeder.php: 'model_name' => 'Pvtl\\VoyagerFrontend\\Page',
So, I look in the database and see that indeed, the dataType has some entries with these controllers. The problem certainly comes from this: Voyager reads the dataTYpe table to define routes, and these entries are obsolete now that the vendor/Pvtl/ package was removed.
I must see how to cleanly update the dataType and dataRows tables and seeders.