Undefined Variable _POST in system/Log/Logger.php |
I recently upgraded from CI 3 to CI 4.2.1 (running on php 7.4). My site seems to be running well, but I see continuous errors in my log files about _POST being undefined in system/Log/Logger.php.
The threshold is set to 4 in both the app/Config/Logger.php file and .env. Here is a sample from my log file: Code: [28-Sep-2022 07:16:49 America/Los_Angeles] PHP Fatal error: Uncaught ErrorException: Undefined variable: _POST in /var/www/system/Log/Logger.php:340 Anyone have any insights?
Are you placing the $_POST array into the log file some place in your code?
If so check your code, there are big changes to CodeIgniter 4 from 3. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |