jan-vandenberg/cruddiy

Warning upon wizard completion

Lovor01 opened this issue · 5 comments

On last screen of app generating wizard, I get:

Warning: count(): Parameter must be an array or an object that implements Countable in C:\Wamp.NET\sites\grocery\public\core\generate.php on line 3

Interesting, I notice you're using a Windows environment? What PHP version are you using?

php 7.4.15 (x64) on Apache via FastCGI

I use 7.4.18 so that can't be the problem I think.

To debug/test you can delete the top piece of code in generate.php (delete line 3 through 11) or replace it for this version: https://raw.githubusercontent.com/jan-vandenberg/cruddiy/f8655699b9e42ff5d093b92cc80570300fd5be38/core/generate.php

Thanks, I may look into it later, but it is not a critical issue (I thought it might be connected to ID's showing instead of related values from referenced tables, but this is not the case, as you reported it is not yet done).

I will close this issue for now, since there are no updates and I can't reproduce.