Outbound Email Failure-Message: Call to undefined function isValidId() in . modules/Emails/include/ListView/ListViewDataEmails.php on line 150

We had a fine running SuiteCRM installation on a shared webspace at siteground.
Version 7.8.2.
Even the Email module and outbound emails with gmail-accounts werr ok.

Out of the sudden - the Outbound Email-module can not be opened anymore.
Only this Failure Message appears:
Fatal error: Call to undefined function isValidId() in …
modules/Emails/include/ListView/ListViewDataEmails.php on line 150
Only system email is still working.
We have tried to reset the proper file and directory rights - but had no success.
Please help
George

Strange… maybe some file got corrupted?

You should have that function somewhere in your

include/utils.php


function isValidId($id) {
    $valid = is_numeric($id) || (is_string($id) && preg_match('/^\{?[A-Z0-9]{8}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{12}\}?$/i', $id));
    return $valid;
}