Error when clicking Modules and Services
-
Hi,
I'm getting the following error when clicking Module & Services. It's a new installation (twice).[PrestaShop] Fatal error in module file :E:\xampp\htdocs\hotelcommerce-1.5.2\classes\controller\AdminController.php:
Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, bool given in E:\xampp\htdocs\hotelcommerce-1.5.2\classes\controller\AdminController.php:4171 Stack trace: #0 E:\xampp\htdocs\hotelcommerce-1.5.2\classes\controller\AdminController.php(4171): method_exists(false, 'reset') #1 E:\xampp\htdocs\hotelcommerce-1.5.2\classes\controller\AdminController.php(4092): AdminControllerCore->displayModuleOptions(Object(stdClass), 'array', NULL) #2 E:\xampp\htdocs\hotelcommerce-1.5.2\controllers\admin\AdminModulesController.php(1553): AdminControllerCore->fillModuleData(Object(stdClass), 'array') #3 E:\xampp\htdocs\hotelcommerce-1.5.2\classes\controller\Controller.php(189): AdminModulesControllerCore->initContent() #4 E:\xampp\htdocs\hotelcommerce-1.5.2\classes\Dispatcher.php(367): ControllerCore->run() #5 E:\xampp\htdocs\hotelcommerce-1.5.2\admin539ngyyae\index.php(58): DispatcherCore->dispatch() #6 {main} thrown -
Hi @sparer,
I think you are using PHP8 which is not officially supported by QloApps as of now. I would suggest you to downgrade your PHP version to as supportable QloApps version.
For further details, you can refer to this link: (https://qloapps.com/qloapps-installation-process/#section-8)
-
@lakshya077 Work on PHP7. Thanks