Texan78 Posted February 12, 2014 Share Posted February 12, 2014 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 0Strict 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 0Strict 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 0Strict 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! Quote Link to comment https://forums.phpfreaks.com/topic/286147-strict-standards-declaration-of-this-should-be-compatible-with-that/ Share on other sites More sharing options...
requinix Posted February 12, 2014 Share Posted February 12, 2014 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. Quote Link to comment https://forums.phpfreaks.com/topic/286147-strict-standards-declaration-of-this-should-be-compatible-with-that/#findComment-1468663 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.