Issue 3129962, Cannot delete last feedback entry
On this PR.
- Remove deprecated node_load() and use Node::load() function to get the Node object.
- Add conditions for langcode when getting the database results.
- Fix error when $count is zero and the round() function returns a NaN.
- For the last record (by nid and langcode) delete also the last entry on the admin_feedback_score table.
cc @bserem
Edited by Theodoros Ploumis