Find the "Error handling and logging" section in the php.ini.
set the display_errors to Off to hide the notic on your website
and restart your web server
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
But trying to get my head around teh code... it looks like in edituserprofile you do -
foreach (array('Read','Write','Edit','Admin') as $p) {
echo '<input type="hidden" name="perm<span>[' . $pi . ']</span>" value="' . $func . '|' . $p . '">';
$permA[$func][$p] = $pi++;
}
before using $permA
whilst in viewuserprofile you just try and use it without putting anything in $permA first?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Find the "Error handling and logging" section in the php.ini.
set the display_errors to Off to hide the notic on your website
and restart your web server
umm.. no, we need to find the coding error and fix it... not hide it ! :)
Anyway this is data from my logs...
But trying to get my head around teh code... it looks like in edituserprofile you do -
foreach (array('Read','Write','Edit','Admin') as $p) {
echo '<input type="hidden" name="perm<span>[' . $pi . ']</span>" value="' . $func . '|' . $p . '">';
$permA[$func][$p] = $pi++;
}
before using $permA