Post by veenie » Sun Jun 24, 2018 5:35 pm

I've just installed PDF Invoice Pro.
Which added an whole new phpmailer function to the opencart installation.
Unfortanly this module doesn't seem to work and trashes the mailing function of our store.

Does someone else has experienced this before and knows the solution?
It seems it's missing the bcc address?

Code: Select all

2018/06/24 11:05:15 [error] 23824#23824: *3128454 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Cannot redeclare Mail::$bcc in /home/wetronic/wetronic.nl/vqmod/vqcache/vq2-system_storage_modification_system_library_mail.php on line 83" while reading response header from upstream, client: 84.104.203.203, server: wetronic.nl, request: "POST /index.php?route=api/order/history&token=RsuAaVjACcyI1zRP8It5krkiLMF2c4b9&store_id=0&order_id=8782 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.0-fpm-wetronic.sock:", host: "wetronic.nl", referrer: "https://wetronic.nl/wte/index.php?route=sale/order/info&token=e4D7gRL3NZasayrPJz7FyGPMA5p0UF7X&order_id=8782"
this code is where the error is:

Code: Select all

			protected $bcc;       
			
			public function setBcc($bcc) {
			  $this->bcc = $bcc;
			}
			
I've attached the phpmailer since it seems it's an standard module.

We're using opencart 2.3.0.2
Our server is PHP7 and NGINX with an external smtp mail server configured.

Newbie

Posts

Joined
Tue Dec 09, 2014 9:25 pm

Post by straightlight » Sun Jun 24, 2018 8:58 pm

Contact the extension developer to resolved this issue.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by veenie » Sun Jun 24, 2018 9:37 pm

already did but they are closed till tomorrow so was wondering if someone else had this issue since it seems an general issue with the phpmailer not specific with the pdf invoice pro extention.

Newbie

Posts

Joined
Tue Dec 09, 2014 9:25 pm

Post by straightlight » Sun Jun 24, 2018 9:43 pm

If you cannot wait until tomorrow, and you're using a pro version of an extension (paid), you could always submit a new request in the Commercial Support section of the forum to get the reported issue fixed as a custom job.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by veenie » Sun Jun 24, 2018 10:17 pm

never mind already fixed seems that the phpmailer is not necessary for our server and is only causing issues.
removed the phpmailer and went back to the original mailer version now it works fine again.

Newbie

Posts

Joined
Tue Dec 09, 2014 9:25 pm
Who is online

Users browsing this forum: No registered users and 37 guests