Upgading Error "the Email To Administrator wasn't Sent"

Hy,
I search and extra search... cs-cart didn't come with a viable solution... and to say directly what they offer has no solution... even a SMTP is not working, or some kind of problem to mailer... etc...
lots of time spend to fix... with no results.

so

For those that cannot upgrade to last version because or errors from
.../var/upgrade/core_log.txt

like:
2022-05-08 15:31:37: Sending upgrade information e-mail to:...
2022-05-08 15:41:37: Failed to send e-mail
2022-05-08 15:49:50: Failed to send e-mail

there is a simple solution...
on file ...public_html/app/Tygh/UpgradeCenter/App.php

modify comment from this line:

		/** @var \Tygh\Mailer\Mailer $mailer */
            $mailer = Tygh::$app['mailer'];
        $mail_sent = $mailer->send(array(
            'to' => $email_recipients,
            'from' => 'default_company_site_administrator',
            'data' => $email_data,
            'template_code' => 'upgrade_backup_info',
            'tpl' => 'upgrade/backup_info.tpl',
        ), 'A', Registry::get('settings.Appearance.backend_default_language'));

        if ($mail_sent) {
            $logger->add('E-mail was successfully sent');
        } else {
            $logger->add('Failed to send e-mail');

            return array(false, array());
        }

to this:

            /* @var \Tygh\Mailer\Mailer $mailer 
            $mailer = Tygh::$app['mailer'];
        $mail_sent = $mailer->send(array(
            'to' => $email_recipients,
            'from' => 'default_company_site_administrator',
            'data' => $email_data,
            'template_code' => 'upgrade_backup_info',
            'tpl' => 'upgrade/backup_info.tpl',
        ), 'A', Registry::get('settings.Appearance.backend_default_language'));

        if ($mail_sent) {
            $logger->add('E-mail was successfully sent');
        } else {
            $logger->add('Failed to send e-mail');

            return array(false, array());
        } */

and afterwards... after upgrade can be restore to initial values!

This is the solution i found!

No change to "zip" to "true", not a debug or a dev mode....

I don't know why so simple and no one tell us, to newbie...
I spent 3 nights to resolve this with none existing advice from cs-cart...
Only nonsense support and etc...!