459 $filters->enableFilter($routeFilter, 'before');
460 $filters->enableFilter($routeFilter, 'after');
461 }
462 }
463
464 // Run "before" filters
465 $this->benchmark->start('before_filters');
466 $possibleResponse = $filters->run($uri, 'before');
467 $this->benchmark->stop('before_filters');
468
469 // If a ResponseInterface instance is returned then send it back to the client and stop
470 if ($possibleResponse instanceof ResponseInterface) {
471 $this->outputBufferingEnd();
472
473 return $possibleResponse;
72 *---------------------------------------------------------------
73 * LAUNCH THE APPLICATION
74 *---------------------------------------------------------------
75 * Now that everything is set up, it's time to actually fire
76 * up the engines and make this app do its thang.
77 */
78
79 $app->run();
80
81 // Save Config Cache
82 // $factoriesCache->save('config');
83 // ^^^ Uncomment this line if you want to use Config Caching.
84
85 // Exits the application, setting the exit code for CLI-based applications
86 // that might be watching.
Steps to Reproduce
after updating to dev-develop 0cd5f3f I got the error
Call to undefined function CodeIgniter\Shield\Filters\auth()
PHP Version
8.1.8
CodeIgniter4 Version
4.4.
Shield Version
dev-develop 0cd5f3f
Which operating systems have you tested for this bug?
Linux
Which server did you use?
apache
Database
MySQL
Did you customize Shield?
No
What happened?
I was on shiled (dev-develop 189017e) and it was working fine
after updating to dev-develop 0cd5f3f I got the error
Call to undefined function CodeIgniter\Shield\Filters\auth()
VENDORPATH/codeigniter4/shield/src/Filters/SessionAuth.php at line 43
Tracing:
SYSTEMPATH/Filters/Filters.php : 182 — CodeIgniter\Shield\Filters\SessionAuth->before ()
2. SYSTEMPATH/CodeIgniter.php : 466 — CodeIgniter\Filters\Filters->run ()
3.SYSTEMPATH/CodeIgniter.php : 353 — CodeIgniter\CodeIgniter->handleRequest ()
4. FCPATH/index.php : 79 — CodeIgniter\CodeIgniter->run ()
Steps to Reproduce
after updating to dev-develop 0cd5f3f I got the error
Call to undefined function CodeIgniter\Shield\Filters\auth()
Expected Output
Normal
Anything else?
No response