Safeurl icon indicating copy to clipboard operation
Safeurl copied to clipboard

On Live Server - Invalid argument supplied for foreach()

Open SilverFoxA opened this issue 7 years ago • 2 comments

Invalid argument supplied for foreach()

in Safeurl.php (line 26)
at HandleExceptions->handleError(2, 'Invalid argument supplied for foreach()', '/var/www/websites/test/vendor/jaybizzle/safeurl/src/Jaybizzle/Safeurl/Safeurl.php', 26, array('default' => null))in Safeurl.php (line 26)

SilverFoxA avatar Aug 26 '17 13:08 SilverFoxA

Thanks for reporting. Can you give me any more info, like the code you are using that causes the error. Thanks

JayBizzle avatar Aug 27 '17 11:08 JayBizzle

It's not able to fetch the config file, the file path is the issue. So, an easy hack is to just add the config file manually but it that makes it non-dynamic. You might want to check that out

SilverFoxA avatar Sep 24 '17 10:09 SilverFoxA