I upgraded this plugin on my local development server and it seemed fine, but when I pushed it to my staging server (which is hosted on WordPress VIP Go), I got this error:
Error Details
=============
An error of type E_ERROR was caused in line 42 of the file /var/www/wp-content/plugins/simple-image-sizes/simple_image_sizes.php. Error message: Uncaught Error: Class 'Rahe\Simple_Image_Sizes\Main' not found in /var/www/wp-content/plugins/simple-image-sizes/simple_image_sizes.php:42
Stack trace:
#0 /var/www/wp-includes/class-wp-hook.php(286): init_sis('')
#1 /var/www/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#2 /var/www/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /var/www/wp-settings.php(394): do_action('plugins_loaded')
#4 /var/www/wp-config.php(11): require_once('/var/www/wp-set...')
#5 /var/www/wp-load.php(37): require_once('/var/www/wp-con...')
#6 /var/www/wp-admin/admin.php(34): require_once('/var/www/wp-loa...')
#7 {main}
thrown
I've downgraded back to 3.2.0 and it works fine, so I'm not upgrading my production site, but I wanted to mention. It's not clear to me why VIP is unable to find the class. It doesn't generally have issues with composer autoloading, but there may be something specific about how it's being done here.
I upgraded this plugin on my local development server and it seemed fine, but when I pushed it to my staging server (which is hosted on WordPress VIP Go), I got this error:
I've downgraded back to 3.2.0 and it works fine, so I'm not upgrading my production site, but I wanted to mention. It's not clear to me why VIP is unable to find the class. It doesn't generally have issues with composer autoloading, but there may be something specific about how it's being done here.