Downloaded the latest version Metronic from your site for Laravel.
And I could not even reach the migration. Error at the sixth stage.Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
Illuminate\Database\QueryException
SQLSTATE[HY000] [1045] Access denied for user 'forge'@'localhost' (using password: NO) (SQL: select * from `settings`)
at C:\Users\aaspe\PhpstormProjects\laravel\vendor\laravel\framework\src\Illuminate\Database\Connection.php:759
755â // If an exception occurs when attempting to run a query, we'll format the error
756â // message to include the bindings with SQL, which will make this exception a
757â // lot more helpful to the developer instead of just the database's errors.
758â catch (Exception $e) {
â 759â throw new QueryException(
760â $query, $this->prepareBindings($bindings), $e
761â );
762â }
763â }
1 [internal]:0
Illuminate\Foundation\Application::Illuminate\Foundation\{closure}(Object(App\Providers\AppServiceProvider))
2 C:\Users\aaspe\PhpstormProjects\laravel\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php:70
PDOException:"SQLSTATE[HY000] [1045] Access denied for user 'forge'@'localhost' (using password: NO)")
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
Hi,
Here is a workaround. A quick solution would be to comment out:/app/helpers.php Line: 191
and/app/Core/Bootstraps/BootstrapDemo1.php Line: 28-39
Then after migrating and seeding you can uncomment back those lines.
We will fix it as soon as possible
Thanks
Of course, I tried to make a migration, since the error is related to the database. Renamed .env and added access to the database. But here a new error is associated with the same table:PS C:\Users\aaspe\PhpstormProjects\laravel> php artisan migrate:fresh --seed
Illuminate\Database\QueryException
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'import.settings' doesn't exist (SQL: select * from `settings`)
at C:\Users\aaspe\PhpstormProjects\laravel\vendor\laravel\framework\src\Illuminate\Database\Connection.php:759
755â // If an exception occurs when attempting to run a query, we'll format the error
756â // message to include the bindings with SQL, which will make this exception a
757â // lot more helpful to the developer instead of just the database's errors.
758â catch (Exception $e) {
â 759â throw new QueryException(
760â $query, $this->prepareBindings($bindings), $e
761â );
762â }
763â }
1 [internal]:0
Illuminate\Foundation\Application::Illuminate\Foundation\{closure}(Object(App\Providers\AppServiceProvider))
2 C:\Users\aaspe\PhpstormProjects\laravel\vendor\laravel\framework\src\Illuminate\Database\Connection.php:413
PDOException:"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'import.settings' doesn't exist")