Re: Resource/Views/Layouts/Table : Invalid Arguments Supplied for Foreach() #1751
-
This is the code I wrote while following the documentation and I got the error. I found this issue was previously closed on issue. #1691. Update: I tried copying code step by step from the documentation to receive the same error again. I can be sure of having issue in this section as commenting out layout removes the error. This is the function I reference above to pinpoint error:
What am I doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi @umangapathak999. To help you, I need a complete screen and layer file. |
Beta Was this translation helpful? Give feedback.
Hi @umangapathak999. To help you, I need a complete screen and layer file.
Because the error says that you did not pass an array to the target. Pay attention to this tutorial, which shows the table mapping step by step https://orchid.software/en/docs/quickstart-crud/