Do you have the latest version for PS 1.7.8.
Version: 3.1.2 (12/28/2021)
PLZ
Post automatically merged:
Compile Error: Declaration of AdminFaqsSettingsController::setMedia() must be compatible with AdminControllerCore::setMedia($isNewTheme = false)
[Symfony\Component\Debug\Exception\FatalErrorException 0]
Version prestashop 1.7.8.0
Here is how to correct this problem:
From FTP
1. Go to prestashop/modules/faqs/controllers/admin
2. Open the files :
- AdminFaqsCategory.php modify line 74 - 76
- AdminFaqsPost.php modify line 231 - 233
- AdminFaqsSettings.php modify line 33 -35
3. To replace
public function setMedia ()
{
parent :: setMedia ();
replace with
public function setMedia ($ isNewTheme = false)
{
parent :: setMedia ($ isNewTheme);
Do you have the latest version for PS 1.7.8.
Version: 3.1.2 (12/28/2021)
PLZ
Post automatically merged:
Compile Error: Declaration of AdminFaqsSettingsController::setMedia() must be compatible with AdminControllerCore::setMedia($isNewTheme = false)
[Symfony\Component\Debug\Exception\FatalErrorException 0]
Version prestashop 1.7.8.0
Here is how to correct this problem:
From FTP
1. Go to prestashop/modules/faqs/controllers/admin
2. Open the files :
- AdminFaqsCategory.php modify line 74 - 76
- AdminFaqsPost.php modify line 231 - 233
- AdminFaqsSettings.php modify line 33 -35
3. To replace
public function setMedia ()
{
parent :: setMedia ();
replace with
public function setMedia ($ isNewTheme = false)
{
parent :: setMedia ($ isNewTheme);