-
Notifications
You must be signed in to change notification settings - Fork 16
Description
After I installed your project today I got a fatal error:
Fatal error: Declaration of App\Filters\Options::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 /opt/lampp7/htdocs/ci4vue/app/Filters/Options.php on line 27
This must be caused by some recent changes in CI4.
I edited two lines in file app/Filters/Options.php to get over it, but I do not know if this solves the core of the problem - I just reached the normal welcome page after these changes.
On line 14 I edited function arguments to read:
public function before(RequestInterface $request, $arguments = null)
adding , $arguments = null; then did the same on line 27.
Thank you for your work!
[update: had to do the same in another file as well].