I am running PHP 5.6.31 so there shouldn’t be any issue with autoloading classes, and I have plenty of other plugins that are autoloading without any issue, so not sure why this isn’t finding the method it’s looking for..??
-
This reply was modified 8 years, 9 months ago by
angelleye.
-
This reply was modified 8 years, 9 months ago by
angelleye.
Plugin Contributor
Ewout
(@pomegranate)
I don’t think this has anything to do with autoloading, mb_internal_encoding is not part of Dompdf, but part of a PHP library called MB String. Can you check this? https://wordpress.org/support/topic/500-error-pdf-not-loading/
Thanks for the quick response. Looks like that may be my issue as mbstring extension was not enabled.
While in there I also notice it’s giving me a message about GMagick or IMagick not being available, but I don’t see any extensions in PHP for those..??
Plugin Contributor
Ewout
(@pomegranate)
Glad to hear that fixed it!
IMagick / GMagick are not required, especially if you don’t use PNG it should work fine without it. IMagick is also sometimes called ImageMagick, is that available in your host?
Doesn’t seem to be, but I’ll work it out later if I need it. Thanks!