cliqadam Posted April 8, 2014 Share Posted April 8, 2014 I'm getting this error once i enable the one step process in the checkout Fatal error: Access level to OrderOpcController::removeJS() must be public (as in class FrontControllerCore) in /home4/hintofla/public_html/sandbox/override/controllers/front/OrderOpcController.php on line 428 I don't know how to tackle this property. Link to comment Share on other sites More sharing options...
Deepak Palreddy Posted May 28, 2014 Share Posted May 28, 2014 Hi, I am also getting same error while installing One step checkout module in prestashop 1.6.0.5. How to overcome this error...? Fatal error: Access level to OrderOpcController::removeJS() must be public (as in class FrontControllerCore) in D:\xampp\htdocs\razors1.6\override\controllers\front\OrderOpcController.php on line428 Link to comment Share on other sites More sharing options...
NemoPS Posted May 28, 2014 Share Posted May 28, 2014 Of course, it's because you are using a not-so-compatible override Open that up and change the removeJS method to public (like public function removeJS) in case it's private or protected Link to comment Share on other sites More sharing options...
Deepak Palreddy Posted May 28, 2014 Share Posted May 28, 2014 Thank you Nemo1, If I change removeJS() from Private to public, it is not showing any error but module is not working. I'm using prestashop 1.6.0.5, and if i try to install http://addons.prestashop.com/en/checkout-modules/5041-one-step-checkout.html module for one step checkout, It is showing above error. and my theme also having other type of one page checkout than the one which is required. I'm using below theme http://inthe7heaven.com/prestashop/reviver/en/ Link to comment Share on other sites More sharing options...
Recommended Posts