[09-Aug-2025 11:35:54 UTC] Stock update error: Database connection failed
[09-Aug-2025 11:35:54 UTC] PHP Warning:  session_start(): Session cannot be started after headers have already been sent in /home/dknowled/sms.noc.co.ke/noc111.php on line 40
[09-Aug-2025 11:35:54 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/dknowled/sms.noc.co.ke/noc111.php:35) in /home/dknowled/sms.noc.co.ke/noc111.php on line 42
[09-Aug-2025 11:43:48 UTC] Error: Access denied for user 'db_user'@'localhost' (using password: YES)
[09-Aug-2025 11:43:48 UTC] PHP Warning:  Undefined variable $stocks in /home/dknowled/sms.noc.co.ke/noc111.php on line 178
[09-Aug-2025 11:43:48 UTC] PHP Fatal error:  Uncaught Error: Call to a member function fetch_assoc() on null in /home/dknowled/sms.noc.co.ke/noc111.php:178
Stack trace:
#0 {main}
  thrown in /home/dknowled/sms.noc.co.ke/noc111.php on line 178
[09-Aug-2025 11:47:00 UTC] Error: Invalid input. Please provide all required fields.
[09-Aug-2025 11:47:00 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function getUsername() in /home/dknowled/sms.noc.co.ke/noc111.php:113
Stack trace:
#0 {main}
  thrown in /home/dknowled/sms.noc.co.ke/noc111.php on line 113
[09-Aug-2025 11:55:08 UTC] updateStock error: Table 'dknowled_nocapp.noc_reductions' doesn't exist
[09-Aug-2025 12:04:31 UTC] updateStock error: Table 'dknowled_nocapp.noc_reductions' doesn't exist
[09-Aug-2025 12:04:45 UTC] updateStock error: Table 'dknowled_nocapp.noc_reductions' doesn't exist
[09-Aug-2025 12:04:58 UTC] updateStock error: Table 'dknowled_nocapp.noc_reductions' doesn't exist
[09-Aug-2025 12:05:17 UTC] updateStock error: Table 'dknowled_nocapp.noc_reductions' doesn't exist
[09-Aug-2025 12:05:30 UTC] updateStock error: Table 'dknowled_nocapp.noc_reductions' doesn't exist
[09-Aug-2025 12:24:42 UTC] notifyStockReduction error: Call to undefined function mail()
[09-Aug-2025 12:24:42 UTC] PHP Warning:  Undefined variable $stocks in /home/dknowled/sms.noc.co.ke/noc111.php on line 246
[09-Aug-2025 12:50:16 UTC] notifyStockReduction error: Call to undefined function mail()
[09-Aug-2025 12:50:16 UTC] PHP Warning:  Undefined variable $stocks in /home/dknowled/sms.noc.co.ke/noc111.php on line 246
[09-Aug-2025 12:59:47 UTC] notifyStockReduction error: Call to undefined function mail()
