Fatal error: Call to undefined method MYPDF::SetDefaultMonospacedFont()

Started by GVerheij, June 01, 2012, 14:11:47 PM

Previous topic - Next topic

GVerheij

Hello,

I'm busy setting up Alpha User Point Virtuemart plugin (of Nordmograph) in VM 2.0.6 in Joomla 2.5.4.

Immediately after confirm order, the following fatal error is displayed:
C
Fatal error: Call to undefined method MYPDF::SetDefaultMonospacedFont() in <siteroot>/components/com_virtuemart/controllers/invoice.php on line 145


Indeed, including the "C"..

This errors occurs when:
- The AUP VM Payment is selected and "Create and send pdf invoices" is checked in VM-configuration--> Checkout

It does not occur when:
- Other payment-method is selected  and "Create and send pdf invoices" is checked in VM-configuration--> Checkout
- "Create and send pdf invoices" is *un*checked in VM-configuration--> Checkout

Strange is that when the error is not diplayed the "C" is mentioned in the "Thank you for your order"-screen.. Is it "C" of confirmed?

This seems to have something to do with the PDF-creation of the invoice. But it does not happen with other payment-methods. only with AUP Payment...

This issue is also reported in the forum of Nordmograph: http://www.nordmograph.com/en/forum/80-virtuemart-2x-alphauserpoints-payment-plugin/11029-fatal-error-call-to-undefined-method-mypdfsetde.html#11029

I hope someone can help, thanks for your reply and support,

Gerard