• Hello Fabrik Community

    Fabrik is now in the hands of the development team that brought you Fabrik for Joomla 4. We have recently transitioned the Fabrik site over to a new server and are busy trying to clean it up. We have upgraded the site to Joomla 4 and are running the latest version of Fabrik 4. We have also upgraded the Xenforo forum software to the latest version. Many of the widgets you might have been used to on the forum are no longer operational, many abandoned by the developers. We hope to bring back some of the important ones as we have time.

    Exciting times to be sure.

    The Fabrik 4.0 Official release is now available. In addition, the Fabrik codebase is now available in a public repository. See the notices about these in the announcements section

    We wish to shout out a very big Thank You to all of you who have made donations. They have really helped. But we can always use more...wink..wink..

    Also a big Thank You to those of you who have been assisting others in the forum. This takes a very big burden off of us as we work on bugs, the website and the future of Fabrik.

Getting notices on group form display

skyrun

Active Member
https://testlocation.skyrun.com/index.php?option=com_fabrik&view=form&formid=138&rowid=4248

Seems to work if i suppress the notices. and the cascading dropdown is pre-populating now (another ticket) so thanks! not sure if fixing that caused this or not.

this is test data, so you can change and add and remove groups if you like. if you press save, you can use the same url to get back to the form or search (probably best)
or use arrival date 11/25/17 and any email or phone number you have put on the search form which is a front-end form to find and display a reservation.
 
Wow, that was interesting. I learn something new about PHP every day.

I managed to replicate this here - it was happening with non-repeat groups with >1 columns. But just couldn't figure it out in the debugger - the code looked like it was definitely passing an int into getGridSpan(), which was correctly figuring out the span size, but still barfing about "mujst be int or string".

Long story short, no ... it wasn't passing an int, because we passed it the result of floor(12 / $colCount), to get the span width from the col count ... and even though floor() always returns a whole integer (that's the point of it), apparently it returns it as a floating point number instead of an actual integer. And you can't use float to index arrays.

Anyway. Fixed as of:

https://github.com/Fabrik/fabrik/commit/348d54e5236302b664159486f2713ea50858c2d7

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top