Subform: non Addable - apache warning
Posted: Sun Oct 06, 2019 1:57 am
Checking some apache2 logs I noticed some PHP warnings (not visible in nuBuilder).
After some more checking: warning are generated during save or delete operation of the main form when the subfom has the option Addable set to NO (no empty line at the bottom of the subform)
AND when the subform is still empty.
then I have the following warnings in apache2:
If the Addable is set to YES then there is no warnings at all.
So currently I put the Addable ON to avoid warning.
If subform is set to grid then there are warnings as described above - if it is set as from - then it blocks the main form (majority of objects are not appearing)
It's just for info - maybe during the next release this issue cloud be corrected.
After some more checking: warning are generated during save or delete operation of the main form when the subfom has the option Addable set to NO (no empty line at the bottom of the subform)
AND when the subform is still empty.
then I have the following warnings in apache2:
Code: Select all
PHP Warning: in_array() expects parameter 2 to be array, null given in ..../nudata.php on line 161, referer: ... index.php?i=2&opener=.....
PHP Warning: count(): Parameter must be an array or an object that implements Countable in ... nudata.php on line 163, referer:
PHP Warning: count(): Parameter must be an array or an object that implements Countable in .. on line 309, referer:....index.php?i=2&opener=....
So currently I put the Addable ON to avoid warning.
If subform is set to grid then there are warnings as described above - if it is set as from - then it blocks the main form (majority of objects are not appearing)
It's just for info - maybe during the next release this issue cloud be corrected.