Open GoogleCodeExporter opened 9 years ago
This seems to be related to zend.ze1_compatibility_mode in php.ini :
https://bugs.php.net/bug.php?id=30102&edit=1
But we can adapt our code to work everytime, like you did.
Original comment by fabien.menager
on 26 Mar 2012 at 10:25
Hello Fabien,
Yes I found that reference too, but in my case this wasn't it. My config by
default does not specify zend.ze1_compatibility_mode anywhere and when I
explicitly set it to 'off' the error did not go away. Anyway my proposed quick
fix seems to work so far and I do not think it breaks anything else. O... and I
think we now have the most beautiful invoice PDFs in the world, thanks to your
great lib ;)
Regards,
Marius Karthaus
Original comment by MariusKa...@gmail.com
on 26 Mar 2012 at 9:07
if use "zend.ze1_compatibility_mode = off" and get this error too!
Original comment by mrsmithl...@gmail.com
on 23 Apr 2012 at 9:52
Issue 506 has been merged into this issue.
Original comment by eclecticgeek
on 13 Jun 2012 at 7:04
The compatibility setting was deprecated and removed in PHP 5.3, which could be
why it has no affect on some installations.
Imagick used to have a built-in clone() method, but it has been deprecated in
favor of the clone keyword in v3.1.
http://us3.php.net/manual/en/imagick.clone.php
http://pecl.php.net/package-info.php?package=imagick&version=3.1.0b1
What version of the PECL extension are you using? Perhaps the error only
appears in versions of the extension prior to 3.1 (i.e. they aren't compatible
with the clone keyword)? Unless we find a solution it may be worthwhile to just
create a new object instead of using a clone. This is already how the code is
written for Gmagick.
Original comment by eclecticgeek
on 13 Jun 2012 at 7:44
Original comment by eclecticgeek
on 24 May 2013 at 3:00
Original issue reported on code.google.com by
MariusKa...@gmail.com
on 26 Mar 2012 at 9:27