thedevdojo / chatter

Chatter is a Simple Laravel Forum Package
https://devdojo.com/forums
MIT License
897 stars 295 forks source link

How To Uninstall The Package #250

Open acedesigns opened 5 years ago

acedesigns commented 5 years ago

Hi TheDevDojo Team.

So I was able to install the package as per read me for my Laravel 5.6.39 project.

Half way the project, I was asked to remove the "Forum" feat. So i followed these steps to un-install and remove the package. Not in any particular order ...

Now, Every time I navigate to any page in my App, I get the following error. Seems like there is a file I missed that is checking for DB connected tables

Please help

Imgur

JustinLawrenceMS commented 5 years ago

I usually check the tab that says "Application frames (1)" first. Sometimes that will take you directly to the offending file. Failing that, check php artisan route:list to see if there are any routes still looking for the deleted packages. You maybe able to find out where the controller or whatever is that is messing you up. In routes/web.php, look for something like 'DevDojoController@thisisjustanexample'. Make sure you also delete routes. Another thing about vendors, with Laravel, they sometimes circumvent the traditional Laravel directory structure, so do this: grep -r 'example_keyword' ../laravel_root

In this case, example_keyword would be some text containing information gleamed from above, and laravel_root would be the root directory of you laravel project. This will help you find where the files are.