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
See Announcement
We have resolved the issue with the J! updater and this will be fixed in the next release.
var_dump((string)$query);exit;
$etempah_id = $formModel->getElementData('etempah___id', true);
$etempah_id = is_array($etempah_id) ? $etempah_id[0] : $etempah_id;
->where('alias = ' . $db->quote($etempah_id));