Title: Static Context &#8211; PHP 5.4  Strict Standards Warnings
Last modified: August 21, 2016

---

# Static Context – PHP 5.4 Strict Standards Warnings

 *  [Lyubomir Gardev](https://wordpress.org/support/users/rolice/)
 * (@rolice)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/static-context-php-54-strict-warnings/)
 * Hello,
    First of all, I would like to say the plugin is very good. There are 
   some issues which are not unexpected to exist in the first versions. 🙂
 * The plugin is with clean code which does not rise notices and warnings which 
   is good (at least I dont see them), except on the newer version of PHP where 
   static routines should be explicitly defined as such, like in the other programming
   languages.
 * The issues I have encountered are in: **/includes/classes/ssp_skin.php**
 * The following methods should be **declared as static**, otherwise new versions
   will rise:
 * > Strict standards: Non-static method SSP_SKIN::_method_ should not be called
   > statically, assuming $this from incompatible context
 * Those methods are:
    - SSP_SKIN::setup_slider()
    - SSP_SKIN::set_active_skin()
    - SSP_SKIN::is_default_skin()
    - SSP_SKIN::get_skin_path()
 * I would suggest to add access modifiers as well:
    `public static function ...`
 * No matter PHP default is public, in most languages it is private. I would not
   be surprised if in future such change appear. Also it improves readability. 🙂
 * It is WP and plugin version independent.
 * Regards
 * [https://wordpress.org/plugins/simple-slider-ssp/](https://wordpress.org/plugins/simple-slider-ssp/)

The topic ‘Static Context – PHP 5.4 Strict Standards Warnings’ is closed to new 
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simple-slider-ssp.svg)
 * [WP Slider Plugin](https://wordpress.org/plugins/simple-slider-ssp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-slider-ssp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-slider-ssp/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-slider-ssp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-slider-ssp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-slider-ssp/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Lyubomir Gardev](https://wordpress.org/support/users/rolice/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/static-context-php-54-strict-warnings/)
 * Status: not resolved