Viewing 15 replies - 1 through 15 (of 15 total)
  • Hi there,

    Are you able to provide more details – are you seeing any particular errors or functionality that isn’t working?

    Thanks,
    Dave

    I see messages like these on the metaslider admin page:

    ERROR Slide ID: 2933 – No editor could be selected.
    ERROR Slide ID: 2934 – No editor could be selected.

    And this is only since I upgraded to WP 4.7.

    • This reply was modified 8 years, 3 months ago by kosie99.

    Hi,

    This could be due to GD or ImageMagic that does the actual image processing on the server, if those libraries can’t “open” the image then you get the “no editor can be selected” error.

    This error often appears after you’ve moved or made changes to the servers. Are you able to contact your host to see if they are able to help – they might be able to reconfigure image processing to support the images you’re using?

    This issue is unlikely to be related to the recent WP update.

    Thanks,
    Dave

    I have full control of the server and nothing has changed there. This issue was not there before I upgraded to WP 4.7. The exact symptoms were this:

    * Upgraded WP to 4.7
    * Went into Metaslider to add an image. That worked fine
    * The new image in the list showed the “no editor…” message. I wanted to move the image up towards the top of the list, but could not do it due to the error
    * I saved and went out of metaslider and then in again. Now I can move the image and the “no editor..” error message disappeared except for right at the top of the metaslider page

    I am not sure what to make of that.

    I will in any case investigate image processing.

    Thanks for replying ??

    Thanks for the additional information.

    What was the format of the image you uploaded – was it different to others uploaded in the past?

    Thanks,
    Dave

    Hi Dave,

    No, just a normal JPG the exact same format and size of the existing ones. When I remove that new image now, the problem remains. Very strange..

    Thanks

    Hi,

    After a bit more investigation we think you might be encountering the issue here:
    https://core.trac.www.ads-software.com/ticket/36534

    Try adding this filter to your theme’s functions.php file:

    add_filter( 'wp_image_editors', 'change_graphic_lib' );
    
    function change_graphic_lib($array) {
    return array( 'WP_Image_Editor_GD', 'WP_Image_Editor_Imagick' );
    }

    It could be that ImageMagick doesn’t like the image formatting ((an invalid) four-colour CMYK).

    Please let me know how you get on.

    Thanks,
    Dave

    Hi Dave,

    I added the function as suggested, but there is no improvement. I see there is an update for the theme I am using. I will update that this week and see if that fixes the issue.

    Thanks for your help so far! Really appreciate it..

    Koos

    Hi Koos,

    Please also check for any plugins which do anything to the media library, it’s worth disabling those as one of them could also be invoking the wp_image_editors filter, or causing a different problem entirely.

    The “No editor could be selected” message comes directly from WordPress when trying to “open” an image using native WordPress functions, so the problem lies deep in WordPress, the images, or your server somewhere. As you can tell, it’s a difficult one to debug.

    To reduce the chance of a different plugin taking control of the previous filter, you could also try increasing the priority like this:

    add_filter( 'wp_image_editors', 'change_graphic_lib', 9999999 );
    function change_graphic_lib($array) {
        return array( 'WP_Image_Editor_GD', 'WP_Image_Editor_Imagick' );
    }

    Or maybe try making Image Magick the default editor instead:

    add_filter( 'wp_image_editors', 'change_graphic_lib', 9999999 );
    function change_graphic_lib($array) {
        return array( 'WP_Image_Editor_Imagick', 'WP_Image_Editor_GD' );
    }

    Regards,
    Tom

    I have the exactly same issue. If I add any new uploaded media, no matter jpg or png, Meta slider prompt an error like:”ERROR Slide ID: 80 – No editor could be selected. “. But strangely, if I add a media file existing in the media library, it works normally.

    I tried Dave’s suggestion but nothing changed. Everything is up-to-date: wordpress 4.7, Meta slider 3.3.7.

    Hi Both,

    I’ve made a change in the development version of Meta Slider which removes the warning message.

    This simulates the same behaviour as WordPress core (whereas Meta Slider exposes the error, WordPress itself will hide the error and work around it). I think if you try uploading the same images directly to your Media Library, then check your wp-content/uploads folder, you’ll find that WordPress wasn’t able to automatically generate thumbnails for the image you uploaded.

    Please can you try updating to the development version? To do this:
    1. Install the WP Rollback plugin
    2. Go to your Plugins page
    3. Click the “Rollback” link underneath “Meta Slider” and roll forward to v3.4.

    Regards,
    Tom

    I had a try but got a HTTP 500 error when clicking the rollback button under “Meta slider” plugin. I found below errors in nginx error log:

    2016/12/30 08:37:35 [error] 26490#0: *23523 FastCGI sent in stderr: “PHP message: PHP Fatal error: Class ‘DOMDocument’ not found in /home/nginx/sites/wordpress/leoband/wp-content/plugins/wp-rollback/wp-rollback.php on line 404” while reading response header from upstream, client: 127.0.0.1, server: localhost, request: “GET /wp-admin/index.php?page=wp-rollback&type=plugin&plugin_file=ml-slider%2Fml-slider.php&current_version=3.3.7&rollback_name=%E6%A2%85%E5%A1%94%E5%B9%BB%E7%81%AF%E7%89%87&_wpnonce=0cb66db1d3 HTTP/1.0”, upstream: “fastcgi://127.0.0.1:9000”, host: “<myhostip>”, referrer: “https://<myhostip>/wp-admin/plugins.php?plugin_status=all&paged=1&s&#8221;

    By the way, I temporarily switched to another slider plugin (Huge IT slider) and it works fine with the newly uploaded images.

    Updated to 3.4 and it’s working now ??

    Working for me as well now, thanks for fixing!

    Good to hear! Thanks for letting us know ??

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Not working in WP 4.7’ is closed to new replies.