Home › Forums › Backend Issues (wp-admin) › magick/cache-view errors when using gallery field
I’m getting a fairly random (1 in 5 uploads) HTTP error when attempting to upload files to an ACF Pro gallery field – the server error logs contain lots of the following (domain name removed):
> [Fri Apr 28 03:41:13.332234 2017] [cgi:error] [pid 13682] [client 68.173.236.171:39010] AH01215: php70.cgi: magick/cache-view.c:888: QueueCacheViewAuthenticPixels: Assertion `cache_view->signature == 0xabacadabUL’ failed., referer: http://XXX/wp-admin/post-new.php?post_type=gallery
> [Fri Apr 28 03:41:13.332303 2017] [cgi:error] [pid 13682] [client 68.173.236.171:39010] AH01215: php70.cgi: magick/cache-view.c:1003: SyncCacheViewAuthenticPixels: Assertion `cache_view->signature == 0xabacadabUL’ failed., referer: http://XXX/wp-admin/post-new.php?post_type=gallery
Google searches are giving me absolutely nothing. The problem started recently seemingly out of the blue (no plugin or wordpress updates). Does anyone have any ideas as to where I should start troubleshooting this problem?
I would disable ImageMagick, after doing some research on it I found several instances of people getting odd errors because of it. More than likely caused by your specific host or hosting environment implementation of ImageMagick. Although I did not find your exact error.
https://core.trac.wordpress.org/ticket/25183
https://core.trac.wordpress.org/ticket/39387
https://wordpress.org/support/topic/imagickexception-thrown/
Although this could also have something to do with another plugin.
https://developer.wordpress.org/reference/hooks/wp_image_editors-9/
add_filter('wp_image_editors', 'disable_imagemagick');
function imagemagick($editor) {
return array('WP_Image_Editor_GD');
}
That or contact your host to see if they can help.
Thank you for the promising and quick response!
What is the impact of turning image magick off? I assume it’s doing something 🙂
Ah after further research I think that I flipped a switch in the functions file a while back to improve the sharpness of resized images – I think that’s where image magick is coming into play. Odd that it’s suddenly decided to fall over, I’ll contact the clients host!
The effect of turning imagemagick off is that WP will use the standard PHP GD graphics library instead, which is how it works when imagemagick is not installed in PHP. Many hosing providers do not include imagemagick.
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.