Open craigmdennis opened 10 years ago
Same issue on remote server. Also - when I added the plugin on my localhost it seems to work fine (no errors thrown) but the only cropping options I have are Thumbnail and My Custom Image.
Seems like this is fixed for the ManualImageCropEditorWindow.php
by adding:
if ( ! isset($sizesSettings[$s]) ) {
$sizesSettings[$s] = array('label' => '', 'quality' => 80, 'visibility' => 'visible');
}
See in source
The problem persists for the ManualImageCropSettingsPage.php
as there are not options set and ergo no options can be retrieved, it can easily be fixed by adding above code right after the foreach call on line 153 in ManualImageCropSettingsPage.php
.
This should be part of the next plugin version as the settings page isn't usable otherwise.
Using Wordpress 3.9.2 on PHP Version 5.4.24
I installed the plugin and when I visit its dedicated page I get the following errors.
When using the 'crop' button in the media library I get the following errors: