[imp] Undefined class constant 'ALPHACHANNEL_REMOVE'

Michael J Rubinsky mrubinsk at horde.org
Mon Feb 5 02:22:11 UTC 2018


Quoting Simon B <simon.buongiorno at gmail.com>:

> Hi
>
> Since a while (I haven't changed my git update script, but this
> definitely started bfore your git infra changes), I've been unable to
> view some/most emails with attachments - particularly PDFs.
>
> Sometimes, (i.e. from some senders), I can reach the attachment if I
> double-click and open the email.  But mostly I get this error..
>
> A fatal error has occurred
>
> Undefined class constant 'ALPHACHANNEL_REMOVE'

What version of imagick do you have installed?

>
> in /usr/share/git-horde5/imp/lib/Mime/Viewer/Pdf.php:136
>
> 1. Horde_ErrorHandler::catchFatalError()
>
> Details
>
> The full error message is logged in Horde's log file, and is shown
> below only to administrators. Non-administrative users will not see
> error details.
>
> ErrorException Object
> (
>     [message:protected] => Undefined class constant 'ALPHACHANNEL_REMOVE'
>     [string:Exception:private] =>
>     [code:protected] => 0
>     [file:protected] => /usr/share/git-horde5/imp/lib/Mime/Viewer/Pdf.php
>     [line:protected] => 136
>     [trace:Exception:private] => Array
>         (
>             [0] => Array
>                 (
>                     [function] => catchFatalError
>                     [class] => Horde_ErrorHandler
>                     [type] => ::
>                     [args] => Array
>                         (
>                         )
>
>                 )
>
>         )
>
>     [previous:Exception:private] =>
>     [severity:protected] => 1
>     [logged] => 1
> )
>
> I realise updating from git would probably fix it, but until I can get
> to that, I thought you should know.
>
> Cheers.
>
> Simon
> --
> imp mailing list
> Frequently Asked Questions: http://wiki.horde.org/FAQ
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org



-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 9272 bytes
Desc: PGP Public Key
URL: <https://lists.horde.org/archives/imp/attachments/20180205/308f87bc/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 821 bytes
Desc: PGP Digital Signature
URL: <https://lists.horde.org/archives/imp/attachments/20180205/308f87bc/attachment-0001.bin>


More information about the imp mailing list