-
Notifications
You must be signed in to change notification settings - Fork 250
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
Demo_Source_Code Demo-Posts can't run normally, Sir #35
Comments
The lacked file (HasResourceActions) has been copied from laravel-admin folder. But another issue occur as below: Symfony\Component\Debug\Exception\FatalErrorException thrown with message "Method Encore\Admin\Grid::__toString() must not throw an exception, caught TypeError: Argument 1 passed to Encore\Admin\Grid\Filter\Where::__construct() must be an instance of Closure, string given, called in E:\DD\laravel_admin_demo\vendor\encore\laravel-admin\src\Grid\Filter.php on line 303" Stacktrace: |
Cannot use object of type Encore\Admin\Grid\Tools\BatchDelete as array (View: E:\DD\laravel_admin_demo\vendor\encore\laravel-admin\resources\views\grid\batch-actions.blade.php) (View: E:\DD\laravel_admin_demo\vendor\encore\laravel-admin\resources\views\grid\batch-actions.blade.php) |
|
Run |
You'd better clone this repo and reinstall it, don't just use git pull to update. |
Thanks, it's done now. |
FatalErrorExceptionTrait 'Encore\Admin\Controllers\HasResourceActions' not foundin UserController.php line 12 |
The lacked file (HasResourceActions) has been copied from laravel-admin folder? |
@space-blank Clone this repo and reinstall |
v1.5.8和master分支上的代码不一样, 重新安装也是缺少这个文件 |
@space-blank 这个demo依赖的laravel-admin版本是 |
好的,我再试试,我按照教程安装之后,laravel-admin版本都是v1.5.18,可是这个版本和master分支不一样,我还是直接下载master的分支才发现有这个HasResourceActions文件 |
弱弱的问一句 ,对于分表的查询,能否指教下? |
I'm trying to update an old codebase with the latest laravel-admin and still seeing this. I have confirmed that HasResourceActions is present in vendor/encore/laravel-admin/src/Controllers, what can I do to fix this? I'm currently configuring composer like so: |
Symfony \ Component \ Debug \ Exception \ FatalErrorException (E_UNKNOWN)
Trait 'Encore\Admin\Controllers\HasResourceActions' not found
The text was updated successfully, but these errors were encountered: