Skip to content

PHP Warning fix#376

Open
xWildFire wants to merge 1 commit intoj4mie:masterfrom
xWildFire:patch-1
Open

PHP Warning fix#376
xWildFire wants to merge 1 commit intoj4mie:masterfrom
xWildFire:patch-1

Conversation

@xWildFire
Copy link
Copy Markdown

@xWildFire xWildFire commented Apr 17, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant