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

admin:import redis-manager error #36

Open
LindolfoJunior opened this issue Aug 3, 2021 · 0 comments
Open

admin:import redis-manager error #36

LindolfoJunior opened this issue Aug 3, 2021 · 0 comments

Comments

@LindolfoJunior
Copy link

Hi!
I'm trying to upload the redis-manager, however, when I run the command it shows the error below. Where am I going wrong?

command: php artisan admin:import redis-manager

Error:

Symfony\Component\Debug\Exception\FatalThrowableError : Class name must be a valid object or a string

at /var/www/pecarara_dev/vendor/encore/laravel-admin/src/Extension.php:362
358| protected static function createMenu($title, $uri, $icon = 'fa-bars', $parentId = 0, array $children = [])
359| {
360| $menuModel = config('admin.database.menu_model');
361|

362| $lastOrder = $menuModel::max('order');
363| /**
364| * @var Model
365| */
366| $menu = $menuModel::create([

Exception trace:

1 Encore\Admin\Extension::createMenu("Redis manager", "redis", "fa-database")
/var/www/pecarara_dev/vendor/laravel-admin-ext/redis-manager/src/BootExtension.php:44

2 Encore\Admin\RedisManager\RedisManager::import(Object(Encore\Admin\Console\ImportCommand))
/var/www/pecarara_dev/vendor/encore/laravel-admin/src/Console/ImportCommand.php:46

Please use the argument -v to see more details.

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

1 participant