Uncaught Error: Call to a member function moveNext() on bool

Hi,
i’m having this error when i add the second row in a table.
So, in the table is empty no error, with one row no error, from the second row error.


Fatal error: Uncaught Error: Call to a member function moveNext() on bool in …\collaudopiattaformelist.php on line 330

the rows in the php file with the error are:

328 }
329 if (!$collaudopiattaforme_list->isGridAdd())
330 $collaudopiattaforme_list->Recordset->moveNext();
331 }

do you have any idea what could be causing the error?
Thanks

That means the $collaudopiattaforme_list->Recordset is FALSE, meaning you probably have an error in the SQL, you may try to synchronize your project with database again and generate scripts for that table again.