Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

Fatal error: Cannot redeclare class PHPMailer
(1 viewing) (1) Guest
Support forum for customers who have purchased this product. Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: Fatal error: Cannot redeclare class PHPMailer

Fatal error: Cannot redeclare class PHPMailer 13 years, 6 months ago #21771

Hello,
I got the 1.4.10 version of VMinvoice and tried to automatically send invoices.
All my VM emails to show onwner and buyes are send, but the automatic sending from VMInvoice does not work.

1.
I tried to setup a con job as explained in the manual.
Nothing happend.

2.
The moment I set the plg_vminvoice, active to test out if that would be the solution, I got the error written above, the moment the iDeal (=bank) payment is handled correctly and that php returns to my url.
In this case the joomla emailing was set to PHP mailer.
Did not try this with joomla in SENDMAIL.

Please Jan, advise what to do.
The topic has been locked.

Re: Fatal error: Cannot redeclare class PHPMailer 13 years, 6 months ago #21876

  • jaku
Where from does this error arise from? Could you please post it in full.

The reason is most likely that there are 2 or more plugins instanciating (or defining) the PHPMailer class, which causes this error. I believe it should not be caused by VM Invoice, as it does not instantiate this method directly but it fully relies on Joomla's API.
The topic has been locked.
  • Page:
  • 1
User Login Empty