Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scaffold usage errors in Laravel 11 #167

Open
samadelowokan opened this issue Mar 30, 2024 · 3 comments
Open

Scaffold usage errors in Laravel 11 #167

samadelowokan opened this issue Mar 30, 2024 · 3 comments

Comments

@samadelowokan
Copy link

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
Captureasa

@RCyrix
Copy link

RCyrix commented Apr 9, 2024

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

@yuryja
Copy link

yuryja commented Apr 14, 2024

Same issue here... No results when you google it!
I'm installing laravel 10.x to avoid it

@nkuldip
Copy link

nkuldip commented Dec 25, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants