Update 9.0.004 >> error message!!!

Dear all,

I have purchased last week the newest version of SC 9.0.003 and have updated a few minutes ago to 9.0.004.

  • I had a simple grid with 2 static groupbys. (no self code inside!)
  • After update I get the following error message in a popup window if I try to run the grid which was working a few minutes ago without any problems:

2 = in_array() expects parameter 2 to be array, null given
C:\Program Files\NetMake\v9\wwwroot\scriptcase\devel\generator
m_gp_consulta_prep.php 1500

Any idea how to fix this?

Kind regards,
bysystem

Hello,

Are you using any LIMIT option in summary? Try manual update by following this tutorial. It is at version 8, but the same procedure to version 9.

https://support.scriptcase.net/index.php?/Knowledgebase/Article/View/65/53/manual-update

Hello John,

thx for your help!

Yes in the first grid I use a LIMIT (10) optio. But this ios working fine.

I copied the first grid and started a new grid application. And allthough I have deleted the old groupby (and automatically the summary) I get the error message above.

Now, I have created the second application completely new (no copy of the first) >> it works!

Strange!!! And my update process was finish without any errors!

Do I need to fix something?

Kind regards,
bysystem

Hello,

I checked the error line and could not simulate the problem. The error is displayed because the value of the second parameter is expected to be an array.
By analyzing the code, this array is the fields you are sorting in the summary with LIMIT.

I tried to debug locally using sorting and without sorting, with LIMIT and without LIMIT. Let me know if there is anything else I can do for you.
If necessary, I will handle this case with you by email, as it would be necessary for you to submit the application.

Thx a lot John!

I guess at the moment no action taking is needed!

Have a nice day.