11-28-2016, 06:22 AM
Hey guys,
So having a weird issue, just popped up today and haven't noticed it before.
On admin-pages.php I am receiving the following error:
The code it's referring to is the part that lists all the php files:
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?
So having a weird issue, just popped up today and haven't noticed it before.
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?