I recently made some changes to our sites database, and now I receive the error Trying to access array offset on value type null in /var/www/intranet/showreceipt.php on line 34. Line 34 has the following: if ($t_arr[8] == “1”) {
A few lines above that I see the $t_arr = NULL; There are several lines with this error and they all contain the $t_arr variable. I’m assuming that is where the issue is coming from. Any ideas? I’m new to coding with PHP.
Thanks