Jump to content
thirty bees forum
  • 0

Getting error.Strict Standards: Declaration of Link::getImageLink() should be compatible with LinkCore::getImageLink($name, $ids, $type = NULL, $format = 'jpg', $highDpi = false)


Bodegadelibros

Question

i just noticed after many months that i have this error ( turn debug mode one once in a while helps)

 

Strict Standards: Declaration of Link::getImageLink() should be compatible with LinkCore::getImageLink($name, $ids, $type = NULL, $format = 'jpg', $highDpi = false) in override\classes\Link.php on line 191

 

is it bad? How can i solve it?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

It's not that bad. 

You have probably installed some older module that overrides Link::getImageLink() method incorrectly. What you can do:

1. find out what module is responsible for this (you can install override check module to do that)

2. edit override file, and fix the method signature to match look like this: getImageLink($name, $ids, $type = NULL, $format = 'jpg', $highDpi = false)

3. if the override function calls parent::getImageLink(), then make sure you pass all the parameters

That's it

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...