Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class 'Ometria\\Core\\Helper\\Zend_Log' not found at /vendor/ometria/magento2/app/code/Ometria/Core/Helper/Ping.php:104 #34

Open
ivagarfitt opened this issue Nov 28, 2021 · 0 comments

Comments

@ivagarfitt
Copy link

$ometriaConfigHelper->log("Ping failed: Error $errorNum - $errorStr", Zend_Log::ERR);

You are using Zend_Log::ERR instead of \Zend_Log::ERR and because of it looking for Ometria\Core\Helper\Zend_Log instead of vendor/magento/zendframework1/library/Zend/Log.php.

We never seen this error before but now because of the higher traffic during Black Friday it started to brake cron that is sending payment notifications.

I tried to create a patch but because you have 3 modules nested in vendor/ometria/magento2 that is not possible. I can see this error is still present.

Can you please fix this. Thank you.

Error in case you needed:

[2021-11-28 16:05:07] report.CRITICAL: Error when running a cron job {"exception":"[object] (RuntimeException(code: 0): Error when running a cron job at /vendor/magento/module-cron/Observer/ProcessCronQueueObserver.php:330, Error(code: 0): Class 'Ometria\\Core\\Helper\\Zend_Log' not found at /vendor/ometria/magento2/app/code/Ometria/Core/Helper/Ping.php:104)"} []```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant