• 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://www.ads-software.com/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 3 years, 10 months ago by takeok.
    • This topic was modified 3 years, 10 months ago by takeok.
    • This topic was modified 3 years, 10 months ago by takeok.
    • This topic was modified 3 years, 10 months ago by takeok.
    • This topic was modified 3 years, 10 months ago by takeok.
  • The topic ‘PHP 7.4 Warning’ is closed to new replies.