idiorm
idiorm copied to clipboard
PHP Warning fix
Invalid argument supplied for foreach() in /XXX/vendor/j4mie/idiorm/idiorm.php : 2104
foreach() argument must be of type array\|object, bool given in /XXX/vendor/j4mie/idiorm/idiorm.php : 2104
When a table has a insert before trigger then $row is equal to false and produces this warnings, thats a postgresql problem so i think that catch is all we can do here.