Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hi, same here…

    Traced the issue back a bit further:

    'cropError' => __( 'There has been an error cropping your image.' ),

    Searching for occurrence of cropError in the wp directory found these 2 files:

    wp-includes/js/media-views.min.js

    and

    wp-includes/js/media-views.js

    So apparently the error message is being called from a javascript ‘routine’? The function calling the crop error is:

    onError: function() {
                            var filename = this.options.attachment.get('filename');
    
                            this.views.add( '.upload-errors', new media.view.UploaderStatusError({
                                    filename: media.view.UploaderStatus.prototype.filename(filename),
                                    message: _wpMediaViewsL10n.cropError
                            }), { at: 0 });
                    }

    So apparently making an error while uploading the file.

    Changing the dir permissions to 747 for wp-content/uploads dir fixed the error? So apparently the process writing the cropped image is not running as the apache user?.. This eventually lead me to find out permission on the ‘upload’ (and underlying dirs/files) is not correct. Do check your permissions.

    Now working fine for me.

Viewing 1 replies (of 1 total)