Jump to content

Strict Standards: Declaration of "This" should be compatible with "That"


Recommended Posts

Could someone offer some insight on what this error means exactly. My server did some upgrades over the weekend and went to PHP 5.4 and now I am getting this error on some of my scripts. I did a search but can't trace down exactly what it means in my case. 

 

 

 

Strict Standards: Declaration of maketropmap::get_savename() should be compatible with ImagePluginAPI::get_savename($clean_forecast, $usemap) in /home4/mesquiu0/public_html/hw/hamlib/HW3Plugins/MakeTropMap.phpon line 0

Strict Standards: Declaration of maketropmap::get_usemap() should be compatible with ImagePluginAPI::get_usemap($usemap, $parms) in /home4/mesquiu0/public_html/hw/hamlib/HW3Plugins/MakeTropMap.php on line 0

Strict Standards: Declaration of maketropmap::pre_legend() should be compatible with ImagePluginAPI::pre_legend($image, $map_proj, $parms) in /home4/mesquiu0/public_html/hw/hamlib/HW3Plugins/MakeTropMap.php on line 0

Strict Standards: Declaration of maketropmap::do_autoload() should be compatible with HW3PluginAPI::do_autoload($key, $index) in/home4/mesquiu0/public_html/hw/hamlib/HW3Plugins/MakeTropMap.php on line 0

 

 

-Thanks!

You were probably getting those errors before too, but your PHP setup had them hidden.

 

ImagePluginAPI defined those four methods according to a certain signature - the set of parameters and such. Your derived implementation in maketropmap needs to use the same signatures.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.