craigmarkdavies1983 Posted May 22, 2018 Share Posted May 22, 2018 Hello I have downloaded a new payment module and when i attempt to enable the module i get the following error Error! Cannot enable module wirecardceecheckoutseamless. Unable to install override: The method __construct in the class AdminOrdersController is already overridden. I am using Prestashop 1.7.2 and it is the 1&1 hosted application version Any advice appreciated Link to comment Share on other sites More sharing options...
Rhobur Posted May 27, 2018 Share Posted May 27, 2018 It means you already have an AdminOrdersController.php override in override/controllers/admin. You need to manually integrate the changes from the module's AdminOrdersController (usually found in /modules/module_name/override) into the existing AdminOrdersController override. Link to comment Share on other sites More sharing options...
Juan Rios1 Posted July 3, 2019 Share Posted July 3, 2019 Instructions are quite unclear to me Link to comment Share on other sites More sharing options...
Rhobur Posted July 7, 2019 Share Posted July 7, 2019 Then I am afraid that you should avoid touching the code yourself, your knowledge level is a bit low for that. Anyway, I'll explain further, you already have a AdminOrdersController in overrides/controllers/admin which already has the __construct method overridden by some other module. One needs to integrate the code from your new module's overridden AdminOrdersController's __construct method into the existing overrides/controllers/admin/AdminOrdersController's __construct method. 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