Quote:
This error means that within your code, there is a variable or constant that has no value assigned to it. But you may be trying to use the values index.
The error can be avoided by using the isset() function. This function will check whether the index variables are assigned a value or not, before using them.
Look at lines 1428 & 1430 that you have not shared here. You should be able to identify it.
You have the entire code. Use DEBUGGER and step through to see the same and then find why so, handle it. If
isset()
helps, go ahead and use it based on the flow.
Refer:
PHP isset() Function[
^]
PHP: Debugging in PHP - Manual[
^]