laravel-admin error
Error reporting information
An error occurs when running PHP artisan admin:make:
symfony\component\debug\exception\fatalthrowableerror: class'doc\dbal\driver\pdomysql\driver'not found
Operating environment
Windows 10
php:7.3.4
mysql:5.7.26
laravel:5.8
laravel admin:1.8.17
Cause
Doctrine/dbal not found
The reason why I read other people online may be that doctrine/dbal is 3* Caused by the version of.
Solutions
Run at terminal:
composer require doctrine/dbal:2.12.1
Or modify the composer.json as the following:
"require": {
*
*
"doctrine/dbal": "^2.12.1",
*
*
},
Then run
composer update
Read More:
- Laravel-admin php artisan admin:install error reporting problem solution
- laravel The Process class relies on proc_open, which is not available on your PHP installation.
- [Solved] Fatal error: Class ‘think\Container‘ not found & [InvalidArgumentException] Could not find package
- Mac PHP Fatal error: Class ‘Memcache’ not found
- [Solved] Fatal error: Uncaught Error: Class ‘Imagick‘ not found
- [Solved] Laravel Upload Files Verificate Error: The file failed to upload.
- [WordPress Error] Fatal error undefined function is_network_admin()
- [Solved] PHP Fatal error: Uncaught Error: Class ‘Redis‘ not found in
- PHP error in Windows: class’ mysqli ‘not found
- Laravel5.5 Error: SQLSTATE[42000] Syntax error or access violation 1071 Specified key was too long; max k
- Error while injecting dependencies into App\Controller\IndexController: No entry or class found for
- [Solved] laravel proc_get_status() has been disabled for security reasons
- [PHP] __autoload function will be called when class_exists does not exist
- PHP Error Object of class mysqli could not be converted to string in
- [Solved] PostgreSQL configure: error: readline library not found
- PHP solves the problem that composer exceeds the memory size Allowed memory size
- Mac installs the php Swoole extension and appears Enable openssl support, require openssl library or fatal error:’openssl/ssl.h’ file not found
- Undefined index: name error in composer [How to Solve]
- [Solved] Fatal error: Uncaught GuzzleHttp\Exception\RequestException: cURL error 60
- PHP: The Difference between \Throwable, \Error and \Exception