Re: Undefined class constant 'ALPHACHANNEL_REMOVE'

Michael J Rubinsky <[email protected]> Mon, 05 Feb 2018 02:22:11 +0000
Newsgroups gmane.comp.horde.imp
Message-ID <20180205022211.Horde.Lwx-AtGTYE-sPPwSSggCVYz@tarn.theupstairsroom.com>
Quoting Simon B <[email protected]>:

> 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: [email protected]



-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject

-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]
(unnamed) (application/pgp-keys, 9.1 KB) - not displayed
signature.asc (application/pgp-signature, 821 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4

iQIbBAABAgAGBQJad7/TAAoJEJGSgkbRsxbb9eYP+Lh/aNbRNq4l64sMETHyluWt
RRGXopeg43CQ+HQsR+alglx5vsoLh4zkHskxQ+xy3325COn646TDToaEH4oGSKDY
fFF+zdssAQY/ZW1obVjh06+VbjgHO81YRUsnBldsLBFb2i5RozcxgKFA7xRtxrkJ
8yyIL/ImHKcYwYMwUfuIKfUgoMzLp3s0vegyGWd72aoeYlpR6VI3yD9PRLYyKpP1
rbEZZfe5sIeXmBXjbDI2NtTfa7po/vuynUCI73d8Hkm7XoGDtKs2uIu12vQeUMG9
JENnYDuh0VCFGcBxFwFJqrLxYphHIDgnTFwCi/FA5UGhR8jtAqLvkiOs/rIjE5gr
WvJbKRx8/XheSJR0iPOWd4DeGfmEMvlpW31x7rWiykrn58zuuwNAgCvhLN73szZI
J/faszlaeR4D9/1OAbB3z/NQMRYhUf9aITmfPIa/GNr6sVeXlpTbLkyfRQmq4RO9
JBO9jr5+JBolX5Gny5N15CFTORQqOaSEbR+pC8dLEbpd8AAE90XLzLOynNEPOJJ7
bGHweZ5uow/Kb+KnuGtXQDHcN8ZpkyeJiUcvyS0QjfCPz55LmPhrYrJVBX51KInQ
C9Nz38Q4xM/HmwfYBnBrMFgWqhxGfKwulZp5v1LgiSyS+o7RAV9JUx+zl3sa2j2C
9xJN818xYvVkjM+8be0=
=2tqI
-----END PGP SIGNATURE-----