Jump to content

NivoSlider Problem


Recommended Posts

Hello-

At the top of each page in my back office (1.5.5)  the following text appears:

Strict Standards: Declaration of NivoSlide::deleteImage() should be compatible with that of ObjectModelCore::deleteImage() in /home/deepwo6/public_html/modules/nivoslider/classes/NivoSlide.php on line 165

 

I have uninstalled NivoSlider and it still appears. I cannot seem to find a way to reinstall the Nivo Module to possibly resolve the problem.

 

What can I do to fix this?

 

Please advise.

 

 

Link to comment
Share on other sites

Brief first: Nothing to fear. 

Your module was developed on a lower PS version, yet still works without any problem, if this is the only issue.

 

You see this error because you have dev mode on, in your config/defines.php file. It's highly encouraged to turn it off on production servers, regardless of this error.

 

To fix the issue to sleep well at night, you will need to open classes/ObjectModel.php and find the method "deleteImage".

I don't have 1.5.5, but in 1.5.6.2, it's declaration is below and probably you will see the same in 1.5.5 as there's only one parameter:

public function deleteImage($force_delete = false)
...

and when you'll turn back to your module's declaration, 99% you'll see this one:

public function deleteImage()
...

change this line to be identical as the upper one and it will be all good.

 

I hope this helps.

Link to comment
Share on other sites

Are you working on the local system? As "the shoemaker's son always goes barefoot", I have the same issue on my local system, most probably because I didn't optimize my Apache very well on my development box, an Ubuntu one. Now that the backofiice also uses Smarty, if this is the case for you, you will notice it will be faster and faster as it caches.

Edited by prestashopninja (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...