Title: PHP 7.4 Warning
Last modified: May 6, 2021

---

# PHP 7.4 Warning

 *  [takeok](https://wordpress.org/support/users/takeok/)
 * (@takeok)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/php-7-4-errir/)
 * This plugin no longer seem to be being updated. So I think I may just hack it
   in order to fix this PHP 7.4 warning:
 * Trying to access array offset on value of type bool in /plugins/wp-smartcrop/
   wp-smartcrop.php on line 413
 * As per this thread:
 * [https://wordpress.org/support/topic/type-check-error-for-plugin-settings-options-in-php-7-4-3/](https://wordpress.org/support/topic/type-check-error-for-plugin-settings-options-in-php-7-4-3/)
 * This “error” is really just a warning and causes no harm. Debugging should be
   turned off in Production anyway. But it’s a little annoying to see the error 
   in my staging and development environments.
 * Normally I would NEVER recommend hacking a plugin but it does seem to have been
   abandoned anyway. I can’t find any plugin author replies to previous posts about
   this error from over a year ago or replies on any topics actually.
    -  This topic was modified 4 years, 11 months ago by [takeok](https://wordpress.org/support/users/takeok/).
    -  This topic was modified 4 years, 11 months ago by [takeok](https://wordpress.org/support/users/takeok/).
    -  This topic was modified 4 years, 11 months ago by [takeok](https://wordpress.org/support/users/takeok/).
    -  This topic was modified 4 years, 11 months ago by [takeok](https://wordpress.org/support/users/takeok/).
    -  This topic was modified 4 years, 11 months ago by [takeok](https://wordpress.org/support/users/takeok/).

The topic ‘PHP 7.4 Warning’ 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: [takeok](https://wordpress.org/support/users/takeok/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/php-7-4-errir/)
 * Status: not resolved