The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Notice: Undefined variable: row in
#1
Hi all,

I am new to Userspice and tried to create project using it. I put several files in \usersc\includes that based on navigation.php, header.php, page_footer.php, html_footer.php from \users\includes and all just fine.

then when i open page from admin_pages this error occured:
Notice: Undefined variable: row in E:\xampp\htdocs\mysite\users\helpers\us_helpers.php on line 169

Please help me to resolve this problems.

Regards
  Reply
#2
when I put code below:

.
.
.
//Retrieve a list of all .php files in root files folder
function getPathPhpFiles($absRoot,$urlRoot,$fullPath) {
$directory = $absRoot.$urlRoot.$fullPath;
$row ="";
.
.
.

the error message are gone, it is OK what I did??

Regards.
  Reply
#3
Can you post your whole page that was giving you the error on pastebin and share the link on here?
  Reply
#4
Sorry i am late to reply...

When i check it again the error has been disappeared. Thanks Dan.

Regards
  Reply
#5
That actually makes sense because loading the page repopulates the database if it is wrong, so it is made to fix itself. Just double check that all your permissions for your pages are right.
  Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)