-
Notifications
You must be signed in to change notification settings - Fork 919
Closed
Labels
Description
Bug report
What I did
php artisan backpack:crud sth
What I expected to happen
To generate a CRUD controller as usual
What happened
xxx@MacBook lookinglass-backend % php artisan backpack:crud something
Model created successfully.
BadMethodCallException
Method Jenssegers\Mongodb\Schema\Grammar::compileColumnListing does not exist.
at vendor/laravel/framework/src/Illuminate/Macroable/Traits/Macroable.php:113
109▕ */
110▕ public function __call($method, $parameters)
111▕ {
112▕ if (! static::hasMacro($method)) {
➜ 113▕ throw new BadMethodCallException(sprintf(
114▕ 'Method %s::%s does not exist.', static::class, $method
115▕ ));
116▕ }
117▕
• Bad Method Call: Did you mean Jenssegers\Mongodb\Schema\Grammar::compileRenameColumn() ?
+30 vendor frames
31 artisan:37
Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
What I've already tried to fix it
Searched the function and tried to implement a stub, but other errors come up.
That class inherits directly from Illuminate\Database\Schema\Grammars\Grammar
, so there should't be any missing functions.
Is it a bug in the latest version of Backpack?
After I run composer update backpack/crud
the bug... is it still there?
Backpack, Laravel, PHP, DB version
When I run php artisan backpack:version
the output is:
### PHP VERSION:
PHP 7.4.26 (cli) (built: Nov 28 2021 17:11:17) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.26, Copyright (c), by Zend Technologies
### LARAVEL VERSION:
v8.74.0@004ea195012d5132eca07a176a6e587c6a74815e
### BACKPACK VERSION:
4.1.61@4400187391eb5b73672c2b166a990cd737277409