Closed AbdulRafay closed 4 years ago
finally get it to work. I changed following in Filters.php
\agungsugiarto\boilerplate\Filters\PermissionFilter::class
to \Myth\Auth\Filters\PermissionFilter::class
please see below my Filters.php
can some please have a look at this configuration changes and comment if i missed something trivial
Regards
thanks @agungsugiarto
Describe the bug I have installed the package step-by-step, only issue that i faced during installation was, seeder didn't work. After configuring rest of the settings, database, views and filter etc, when i navigate to
/admin
i get an exception:Fatal error: Declaration of agungsugiarto\boilerplate\Filters\PermissionFilter::after(CodeIgniter\HTTP\RequestInterface $request, CodeIgniter\HTTP\ResponseInterface $response) must be compatible with CodeIgniter\Filters\FilterInterface::after(CodeIgniter\HTTP\RequestInterface $request, CodeIgniter\HTTP\ResponseInterface $response, $arguments = NULL) in /mnt/hgfs/apps/alhaan_app/ciapp/vendor/agungsugiarto/boilerplate/src/Filters/PermissionFilter.php on line 14
To Reproduce Steps to reproduce the behavior:
Screenshots
I must be doing something wrong, can someone please point me in right direction.
Regards