[24-Mar-2026 03:29:01 UTC] PHP Fatal error:  Uncaught PDOException: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`passara1_pramithi_new`.`subtopics`, CONSTRAINT `subtopics_ibfk_2` FOREIGN KEY (`officer_id`) REFERENCES `officers` (`id`) ON DELETE SET NULL) in /home/passara1/public_html/pramithi/subtopics.php:58
Stack trace:
#0 /home/passara1/public_html/pramithi/subtopics.php(58): PDOStatement->execute(Array)
#1 {main}
  thrown in /home/passara1/public_html/pramithi/subtopics.php on line 58
[03-Jun-2026 06:25:17 UTC] PHP Fatal error:  Uncaught PDOException: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`passara1_pramithi_new`.`subtopics`, CONSTRAINT `subtopics_ibfk_2` FOREIGN KEY (`officer_id`) REFERENCES `officers` (`id`) ON DELETE SET NULL) in /home/passara1/public_html/pramithi/subtopics.php:58
Stack trace:
#0 /home/passara1/public_html/pramithi/subtopics.php(58): PDOStatement->execute(Array)
#1 {main}
  thrown in /home/passara1/public_html/pramithi/subtopics.php on line 58
