This plugin is not compatible with PHP7
-
root@vmwp18 19:04:40 > # cat /etc/debian_version
9.4root@vmwp18 19:04:34 > # php -v
PHP 7.0.27-0+deb9u1 (cli) (built: Jan 5 2018 13:51:52) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.0.27-0+deb9u1, Copyright (c) 1999-2017, by Zend TechnologiesBasically, the media library throws a spinner up. There are known issues with ImageMagick and PHP7, forcing us to have to use GD (here’s the code I put into the theme’s functions.php file):
// Added by Doug to change image processing... add_filter( 'wp_image_editors', 'change_graphic_lib' ); function change_graphic_lib($array) { return array( 'WP_Image_Editor_GD', 'WP_Image_Editor_Imagick' ); }FYI, to test this, I switched from the Unicon theme over to TwentyFifteen; no change.
I deactivated *every* plugin… and reactivated them, one by one. Regenerate Thumbnails is the plugin that is causing the Media Library to “hourglass” and not display any images.
The topic ‘This plugin is not compatible with PHP7’ is closed to new replies.