chatter icon indicating copy to clipboard operation
chatter copied to clipboard

How To Uninstall The Package

Open acedesigns opened this issue 5 years ago • 1 comments

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 ...

  • Remove/Delete the "devdojo/chatter=0.2.*" from composer.json
  • Remove/Delete vendor folder inside public
  • Remove/Delete config/chatter.php file
  • Remove/Delete the @yield('css') and @yield('js') from my master layout file
  • Removed/Deleted the Vendor folder for all Laravel dependencies
  • I run composer install anagin
  • Run composer dump-autoload

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

acedesigns avatar Jun 15 '19 12:06 acedesigns

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.

JustinLawrenceMS avatar Jul 13 '19 16:07 JustinLawrenceMS