Warning: Undefined array key 0 in /home/danas/public_html/redirect.php on line 15

Warning: Trying to access array offset on value of type null in /home/danas/public_html/redirect.php on line 18

Warning: Trying to access array offset on value of type null in /home/danas/public_html/redirect.php on line 39

Fatal error: Uncaught PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'url_id' cannot be null in /home/danas/public_html/redirect.php:45 Stack trace: #0 /home/danas/public_html/redirect.php(45): PDOStatement->execute() #1 {main} thrown in /home/danas/public_html/redirect.php on line 45