Chère Nicolas,
we experience a problem with Simple Image Sizes in conjunction with ManageWP and a WP multisite network.
The plugin works well on single sites, but throws the following error in WPManage Orion on multisite:
Class ‘SIS_Admin_Main’ not found occurred in wp-content/plugins/simple-image-sizes/simple_image_sizes.php on line 56. Please make sure that your website is accessible.
ManageWP can’t sync to the site.
Until that same site was a single site ManageWP had no problems with SIS.
(maybe /wp-admin/ instead of /wp-admin in multisite?)
Do you know what is causing the problem?
Do you have a patch we could apply?
Kind regards
Leonardo
Hi,
Thank you for the detailled report, with it only yes it seems that checking is_admin on file inclusion is not compatible with ManageWP.
If you want to debug it quickly i recommend you to move the lines :
https://github.com/Rahe/Simple-image-sizes/blob/master/simple_image_sizes.php#L48
Into the init_sis function, but I recommend to you to contact the ManageWP team, maybe this is an edge case. I have never encounter such a problem ^^.
Regards,
Rahe