Title: PHP warnings
Last modified: February 26, 2018

---

# PHP warnings

 *  Resolved [Martin Stehle](https://wordpress.org/support/users/hinjiriyo/)
 * (@hinjiriyo)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/php-warnings-63/)
 * Great idea! Unfortunately these lines appear when the plugin is activated:
 * > PHP Strict Standards: WP_Image_Editor and SmartCrop_WP_Image_Editor_Common 
   > define the same property ($size) in the composition of SmartCrop_WP_Image_Editor_Imagick.
   > This might be incompatible, to improve maintainability consider using accessor
   > methods in traits instead. Class was composed in smartcrop/includes/class-smartcrop-
   > wp-image-editor-imagick.php on line 92
   > PHP Strict Standards: WP_Image_Editor and SmartCrop_WP_Image_Editor_Common 
   > define the same property ($size) in the composition of SmartCrop_WP_Image_Editor_GD.
   > This might be incompatible, to improve maintainability consider using accessor
   > methods in traits instead. Class was composed in smartcrop/includes/class-smartcrop-
   > wp-image-editor-gd.php on line 94

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Contributor [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * (@viper007bond)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/php-warnings-63/#post-10114059)
 * What version of PHP are you running?
 *  Thread Starter [Martin Stehle](https://wordpress.org/support/users/hinjiriyo/)
 * (@hinjiriyo)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/php-warnings-63/#post-10115350)
 * It is still PHP 5.6.15. I will upgrade.
 *  Thread Starter [Martin Stehle](https://wordpress.org/support/users/hinjiriyo/)
 * (@hinjiriyo)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/php-warnings-63/#post-10116623)
 * With PHP version 7.2.3 the notices disappeared.
 *  Plugin Contributor [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * (@viper007bond)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/php-warnings-63/#post-10126169)
 * Thanks. I develop using PHP 7.2.x so I didn’t catch this.
 * However as it’s only a strict standards warning in earlier versions of PHP and
   99.9999% of people have those off in production, I’m not going to worry about
   it. 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘PHP warnings’ is closed to new replies.

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

 * 4 replies
 * 2 participants
 * Last reply from: [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/php-warnings-63/#post-10126169)
 * Status: resolved