Jump to content

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


Texan78

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.