Jump to content

Welcome, Guest!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

  • 0
Bodegadelibros

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

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?

Share this post


Link to post
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

Share this post


Link to post
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

×