AyeCode / geodirectory

GeoDirectory is the leading Directory Plugin for WordPress. Compatible with Gutenberg and the most popular page builders such as Elementor, Oxygen, Beaver Builder and Divi. GeoDirectory is the only solution for WordPress that can scale to millions of listings and high traffic.
https://wpgeodirectory.com/
Other
41 stars 22 forks source link

older WP 5.1 compatibility #2330

Closed 1naveengiri closed 1 year ago

1naveengiri commented 1 year ago

PHP Fatal error: Uncaught Error: Call to undefined method WP_Image_Editor_Imagick::maybe_exif_rotate() in /www/htdocs/w0149ae1/hundeschulen24.de/wp-content/plugins/geodirectory/includes/class-geodir-media.php:232

1naveengiri commented 1 year ago

Possible fix.

if ( ! empty( $image_meta ) && function_exists('WP_Image_Editor_Imagick::maybe_exif_rotate') ) here https://github.com/AyeCode/geodirectory/blob/master/includes/class-geodir-media.php#L231