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.
list 1 has a databasejoin field (element exer) connected with the field (element_esercizio) of list2How are the two lists related? In other words, how do you know which row in list 2 should have the value from which row in list 1?
-- hugh
$myDb = JFactory::getDbo();
$myQuery = $myDb->getQuery(true);
$myQuery->select('element1')->from('list1')->where('exer = ' . $myDb->quote('{list2___eleent_esercizio}'));
$myDb->setQuery($myQuery);
return $myDb->loadResult();