The above notice, is just there to notify you about a undefined variable you are trying to use somewhere in your script. This issue can result in not ( properly) working functions or weird results.
When you collide with this notice you have to search for the line which has been handed by the notice. For example:
As you can see this notice is a about a variable $user on line 6 of the php file: home.php.
The file home.php
<?php
// User detials
$user_details = array(
'user' => $user, // Line 6
'data' => 'user'
);
?>
As you can see the variable $user has been requested as the value of the first index of the user details array. Since the variable $user has not been defined, it will cause this notice.
So if you have the misfortune to collide with this notice, search for the undefined variable on the line of the file which has been handed over by the notice. Define the variable or change it with something else so the notice will disappear.
Mail this!
- Comments (0)
- PingBacks (0)
- TrackBacks (0)

» Latest comments