Title: PHP Warnings
Last modified: October 20, 2023

---

# PHP Warnings

 *  [launchinteractive](https://wordpress.org/support/users/launchinteractive/)
 * (@launchinteractive)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/php-warnings-172/)
 * I was getting a bunch of warnings after installing this plugin. My solution was
   to change line 746 of wp-smartcrop.php to this:
 * $atts = isset($tag[‘img_tag’]) ? $tag[‘img_tag’][‘attributes’] : $tag[‘attributes’];
 * Can this be added to the next version?

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

 * ![](https://ps.w.org/wp-smartcrop/assets/icon-256x256.png?rev=1371575)
 * [WP SmartCrop](https://wordpress.org/plugins/wp-smartcrop/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-smartcrop/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-smartcrop/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-smartcrop/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-smartcrop/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-smartcrop/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [launchinteractive](https://wordpress.org/support/users/launchinteractive/)
 * Last activity: [2 years, 7 months ago](https://wordpress.org/support/topic/php-warnings-172/)
 * Status: not resolved