Invertus / elasticsearch

Elasticsearch® module for PrestaShop that makes search and filter significantly faster.
47 stars 21 forks source link

Class 'AbstractAdminBradModuleController' not found #2

Closed mtahiue closed 7 years ago

mtahiue commented 7 years ago

Hi

I've tried both v2 and v2-dev branches

and the module install throw each time :

"NOTICE: PHP message: PHP Fatal error: Class 'AbstractAdminBradModuleController' not found in /var/www/html/modules/brad/controllers/admin/AdminBradSettingController.php on line 27"

Could you explain what am i doing wrong ?

Thx for help

sarjon commented 7 years ago

Hi, I couldn't reproduce this issue, but I believe there's something wrong with autoloader.

There's a couple things you can try:

  1. In v2 branch brad.php file move $this->requireAutoloader(); after parent::construct() like so: `parent::construct(); $this->requireAutoloader();`

  2. If still not working then run composer dumpautoload to generate new autoloader file.

If that does not help, please provide more information (like PS version, when exactly this error occurs).

veebipoed commented 6 years ago

I had the same issue.

Turned out that the solution was to rename the overrides directory, then settings opened. After opening and setting the correct server I renamed the overrides directory back and the settings kept working.