The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (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
Invalid Argument Foreach (Admin-pages)
#1
Hey guys,

So having a weird issue, just popped up today and haven't noticed it before.

[Image: 2af3cd8047.png]

On admin-pages.php I am receiving the following error:

Quote:Warning: Invalid argument supplied for foreach() in /#PATH#/admin-pages.php on line 33

The code it's referring to is the part that lists all the php files:

Code:
//Get list of php files for each $path
Code:
foreach ($paths as $path){
Code:
$rows=getPathPhpFiles($abs_us_root,$us_url_root,$path);
Code:
foreach ($rows as $row){
Code:
$pages[]=$row;
Code:
}
Code:
}


As far as I know I haven't changed anything that would effect this, and as you can see in the screenshot, the page is working as intended. I can still manage all the pages and they are all listed properly. Anyone run in to this before?
  Reply


Messages In This Thread
Invalid Argument Foreach (Admin-pages) - by winterswolf - 11-28-2016, 06:22 AM

Forum Jump:


Users browsing this thread: 4 Guest(s)