Safeurl
Safeurl copied to clipboard
On Live Server - Invalid argument supplied for foreach()
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)
Thanks for reporting. Can you give me any more info, like the code you are using that causes the error. Thanks
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