Butch0071 Posted Tuesday at 12:25 PM Share Posted Tuesday at 12:25 PM Hello, I have fresh install of Presta 8.0.4 and problem with module PsEditionBasic. When trying to go to home page of admin panel / dashboard I see error: Attempted to call an undefined method named "getConfiguration" of class "PrestaShop\Module\PsEditionBasic\Controller\HOME". Error comes from : private function buildAdminUrl(string $routeName): string { $router = $this->get('router'); $scheme = $this->getConfiguration()->get('PS_SSL_ENABLED') ? 'https://' : 'http://'; return $scheme . $_SERVER['HTTP_HOST'] . $router->generate($routeName); } and in HOME class of module there is: namespace PrestaShop\Module\PsEditionBasic\Controller; class HOME extends AdminPsEditionBasicController { // TODO: remove in v9 https://github.com/PrestaShop/PrestaShop/milestone/85 // Hack to redirect HOME controller to AdminPsEditionBasicHomepageController } Module is in v1.0.20 (not possible to update). PHP: 8.1.33 PrestaShop: 8.0.4 MySQL: 10.3.39-MariaDB It looks like default module has a problem with accessing "getConfiguration". ? Am I missing something? Link to comment Share on other sites More sharing options...
Prestashop Addict Posted Tuesday at 01:37 PM Share Posted Tuesday at 01:37 PM This module is not part of open source, ask Prestashop for issues about this version. Link to comment Share on other sites More sharing options...
Butch0071 Posted yesterday at 07:58 AM Author Share Posted yesterday at 07:58 AM Hmm, so I wonder why it came with default installation.. 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