sandrineparent Posted May 16, 2022 Share Posted May 16, 2022 Hello, I use the Prestashop Module "One Page Checkout". It works fine. But when I am in a client’s account, in addresses, I can’t add or modify an address. In Debug mode I have this message: Notice: Undefined property: AddressController::$opc in /www/override/controllers/front/AddressController.php on line 25 Fatal error: Uncaught Error: Call to a member function checkCustomerAccessToModule() on null in /www/override/controllers/front/AddressController.php:25 Stack trace: #0 /www/classes/controller/Controller.php(287): AddressController->init() #1 /www/classes/Dispatcher.php(518): ControllerCore->run() #2 /www/index.php(28): DispatcherCore->dispatch() #3 {main} thrown in /www/override/controllers/front/AddressController.php on line 25 An idea? Thank you in advance Best regards Link to comment Share on other sites More sharing options...
Prestachamps Posted May 16, 2022 Share Posted May 16, 2022 (edited) 42 minutes ago, sandrineparent said: Hello, I use the Prestashop Module "One Page Checkout". It works fine. But when I am in a client’s account, in addresses, I can’t add or modify an address. In Debug mode I have this message: Notice: Undefined property: AddressController::$opc in /www/override/controllers/front/AddressController.php on line 25 Fatal error: Uncaught Error: Call to a member function checkCustomerAccessToModule() on null in /www/override/controllers/front/AddressController.php:25 Stack trace: #0 /www/classes/controller/Controller.php(287): AddressController->init() #1 /www/classes/Dispatcher.php(518): ControllerCore->run() #2 /www/index.php(28): DispatcherCore->dispatch() #3 {main} thrown in /www/override/controllers/front/AddressController.php on line 25 An idea? Thank you in advance Best regards Hello, Which one page checkout module are you using? It has an override method in the "override/controllers/front/AddressController.php" what has an issue. You can check it to analyze on the marked line (25) what causes the error. We recommend in similar cases to contact the module developer via addons platform, and send them the same observations. They most probably can say what causes the issue and can solve it for you. Kind regards, Leo Edited May 16, 2022 by Prestachamps (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now