• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed Capitalisation error in XenForo_Image_ImageMagick_Pecl

Jon W

Well-known member
#1
In library/XenForo/Image/ImageMagick/Pecl.php, you need to replace:
PHP:
class XenForo_Image_Imagemagick_Pecl extends XenForo_Image_Abstract
with:
PHP:
class XenForo_Image_ImageMagick_Pecl extends XenForo_Image_Abstract
This appears to be causing problems with add-ons that try to extend this class since that was made possible in XenForo 1.2 (and also when using a similar workaround in XenForo 1.1 to extend it).
 

Mike

XenForo developer
Staff member
#2
Fixed. It's lucky that class even autoloads properly (due to us using the correct case in the directory name and when calling it).
 

Marcus

Well-known member
#3
That worked fine for me:

class AutoRotate_Image_Imagemagick_Pecl extends XFCP_AutoRotate_Image_Imagemagick_Pecl

:) Time to update the addon for the next xenforo release.