1. 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

Discussion in 'Resolved Bug Reports' started by Jon W, Oct 29, 2013.

  1. Jon W

    Jon W Well-Known Member

    In library/XenForo/Image/ImageMagick/Pecl.php, you need to replace:
    class XenForo_Image_Imagemagick_Pecl extends XenForo_Image_Abstract
    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).
    Alluidh likes this.
  2. Mike

    Mike XenForo Developer Staff Member

    Fixed. It's lucky that class even autoloads properly (due to us using the correct case in the directory name and when calling it).
    Jon W likes this.
  3. Marcus

    Marcus Well-Known Member

    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.

Share This Page