While running drupal import database command or any similar drupal command using command line, if you get following error :
Fatal error: Interface 'Symfony\Component\HttpKernel\HttpKernelInterface' not found in core/lib/Drupal/Core/DrupalKernelInterface.php on line 15
You need to update composer with optimize autoloader, Here is the command.
Solution :
Fatal error: Interface 'Symfony\Component\HttpKernel\HttpKernelInterface' not found in core/lib/Drupal/Core/DrupalKernelInterface.php on line 15
You need to update composer with optimize autoloader, Here is the command.
Solution :
composer update --optimize-autoloader