open-admin
open-admin copied to clipboard
Scaffold usage errors in Laravel 11
Please help to adjust compatibility for Laravel 11. I am unable to use the Scaffold helpers to create models and tables. Yet doctrines has been removed in Laravel 11
Clicking on Scaffold on the admin section gives error. Error: Method Illuminate\Database\MySqlConnection::getDoctrineDriver does not exist.
Please help to adjust compatibility for Laravel 11.
System
- Open-admin 1.0
- PHP version 8.2.4
- Laravel Version 11.1.1
- Win OS
- Chrome Browser
Thank You
copy that error, run it through gpt, it will tell you what you can do, else google it, i had a similar issue regarding postgresql and doctrine, i just changed package after showing the message to gpt... most likely to do with your composer defined version of doctrine or perhaps not even installed. Difficult to say from the little you provide on the error
Same issue here... No results when you google it! I'm installing laravel 10.x to avoid it
Hello @samadelowokan To use OpenAdmin in Laravel 11, you have to replace one file of that package: src/Console/ResourceGenerator.php
You can find it from OpenAdmin official github repo. Just replace the https://github.com/open-admin-org/open-admin/blob/develop/src/Console/ResourceGenerator.php file with your OpenAdmin main openadmin package file, then the resource generator will work smoothly.
when creating the Scaffold I’m getting error : Method Illuminate\Database\MySqlConnection::isDoctrineAvailable does not
I'm using Laravel 11