Currently having issues with opencart with version 1.5.1. the issues are as below when logging into the admin area. Front end appears to be working fine.
[03-Dec-2023 11:43:35 UTC] PHP Fatal error: Uncaught Error: Call to a member function calculate() on null in /home/eulights/public_html/catalog/controller/module/bestseller.php:26
Stack trace:
#0 /home/eulights/public_html/vqmod/vqcache/vq2-system_engine_controller.php(44): ControllerModuleBestSeller->index(Array)
#1 /home/eulights/public_html/catalog/controller/common/column_left.php(72): Controller->getChild('module/bestsell...', Array)
#2 /home/eulights/public_html/vqmod/vqcache/vq2-system_engine_controller.php(44): ControllerCommonColumnLeft->index(Array)
#3 /home/eulights/public_html/vqmod/vqcache/vq2-system_engine_controller.php(55): Controller->getChild('common/column_l...')
#4 /home/eulights/public_html/catalog/controller/error/not_found.php(49): Controller->render()
#5 /home/eulights/public_html/vqmod/vqcache/vq2-system_engine_front.php(47): ControllerErrorNotFound->index()
#6 /home/eulights/public_html/vqmod/vqcache/vq2-system_engine_front.php(29): Front->execute('')
#7 /home/eulights/public_html/admin/index.php(164): Front->dispatch(Object(A in /home/eulights/public_html/catalog/controller/module/bestseller.php on line 26
When PHP errors are turned off the page viewed is the Error 500 page.
The website has recently been migrated to a new server and is now running on PHP 7.4 with the MYSQL updated to MYSQLI.
VQMOD has been updated to the latest version although this has made no difference to the errors shown
I have also seen other posts to clear the VQMOD cache files which has been done as well as server cache and browser cache.
All core files have also been refreshed with the OC 1.5 files to ensure they have no issues in there.
Malware scan has been done and found a few although they were in the Download directory looking like "images" and have been removed although the errors was the same before and after the removal.
More information can be provided if needed if it helps get this issue sorted

Thanks in advance
