For running J!5.1 you must https://fabrikar.com/forums/index.php?wiki/update-from-github/ or include the new file manually https://fabrikar.com/forums/index.php?threads/joomla-5-1-and-fabrik-cannot-find-files-error.54473/post-285151 See also Announcements
Please see our announcement here.
foreach ($group->subgroups as $subgroup) {
foreach (array_reverse($group->subgroups) as $subgroup) {
and change it to:Code:foreach ($group->subgroups as $subgroup) {
Code:foreach (array_reverse($group->subgroups) as $subgroup) {
uasort($group->subgroups, function($a, $b) {
return strcasecmp($a['order_field_name'], $b['order_field_name']);
});
uasort($group->subgroups, function($a, $b) {
return $a['order_field_name']->value > $b['order_field_name']->value;
});