Error: Opencart\Catalog\Model\Catalog\Product::getTotalProducts(): Return value must be of type int, none returned File: /home/ubuntu/opencart/mydiy/catalog/model/catalog/product.php Line: 379 Backtrace: 0 File: /home/ubuntu/opencart/mydiy/system/engine/loader.php Line: 343 Class: Opencart\Catalog\Model\Catalog\Product Function: getTotalProducts Backtrace: 1 File: /home/ubuntu/opencart/mydiy/system/engine/proxy.php Line: 87 Class: Opencart\System\Engine\Loader Function: Opencart\System\Engine\{closure} Backtrace: 2 File: /home/ubuntu/opencart/mydiy/catalog/controller/product/search.php Line: 393 Class: Opencart\System\Engine\Proxy Function: __call Backtrace: 3 File: /home/ubuntu/opencart/mydiy/system/engine/action.php Line: 96 Class: Opencart\Catalog\Controller\Product\Search Function: index Backtrace: 4 File: /home/ubuntu/opencart/mydiy/system/framework.php Line: 259 Class: Opencart\System\Engine\Action Function: execute Backtrace: 5 File: /home/ubuntu/opencart/mydiy/index.php Line: 20 Function: require_once