Closed rikiins closed 1 year ago
Disable Toolbar
in app/Config/Filters and refresh page?
Add this to the $globals, and worked as usual. Thanks!
'after' => [
'toolbar' => [
'except' => [
'Controller1/Method',
'Controller2/Method'
]
],
// 'honeypot',
// 'secureheaders',
]
PHP Version
8.2
CodeIgniter4 Version
4.4.3
CodeIgniter4 Installation Method
Composer (using
codeigniter4/appstarter
)Which operating systems have you tested for this bug?
Windows
Which server did you use?
apache
Database
MySQL (Oracle) 8.0.30 on win64
What happened?
If i have google/apiclient ^2.15 installed, and validation helper
Config\Services::validation()
is called, for example in Login controller it will load the page very slow and in the end it will throw this error :Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 21558616 bytes) in\htdocs\SimpleDrive\vendor\codeigniter4\framework\system\ThirdParty\Kint\Renderer\RichRenderer.php on line 363
Example controller that will produce the behaviour :
Steps to Reproduce
composer create-project codeigniter4/appstarter MyProject
composer require google/apiclient:^2.15
CI_ENVIRONMENT
toproduction
Expected Output
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 21558616 bytes) in\htdocs\SimpleDrive\vendor\codeigniter4\framework\system\ThirdParty\Kint\Renderer\RichRenderer.php on line 363
Anything else?