VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: mblokdijk on February 09, 2024, 09:55:59 AM

Title: After order is placed, i get error 0 Invalid address: (to):
Post by: mblokdijk on February 09, 2024, 09:55:59 AM
After order is placed, i get error 0 Invalid address: (to):

How an i solve this issue?

the cart works, but also gives an error: TypeError: jQuery(...).vm2front is not a function

Joomla 4, and VirtueMart 4.2.4 10922 / stock cassiopeai
Title: Re: After order is placed, i get error 0 Invalid address: (to):
Post by: mblokdijk on February 09, 2024, 10:48:29 AM
it throws an error on phpmailer line 1098


in this area:

protected function addOrEnqueueAnAddress($kind, $address, $name)

The variabel $address is not valid, when i fill it with a valid email adress, the error dissapears.
sovled for now, but still not a real solution.
Title: Re: After order is placed, i get error 0 Invalid address: (to):
Post by: Jumbo! on February 12, 2024, 15:18:47 PM
Please verify the email address configured in the VirtueMart Shop settings, as it appears to be invalid.
Title: Re: After order is placed, i get error 0 Invalid address: (to):
Post by: mblokdijk on February 13, 2024, 11:47:11 AM
it is set!
but still the error occurs.
Title: Re: After order is placed, i get error 0 Invalid address: (to):
Post by: mblokdijk on February 13, 2024, 18:47:54 PM
when admin or user is logged in , i cannot complete order ;-(

shop settings ar good (mail is set) joomla mail settings are good (mail is set and tested) and user settings are good, what can i do to fix this. can anyone (vm dev team) assist?

check attached screenshot. this should be as simple as pie. but it does not work....
Title: Re: After order is placed, i get error 0 Invalid address: (to):
Post by: Jumbo! on February 13, 2024, 20:21:09 PM
Multiple vendors may be configured for your shop, but some may not have a valid email address associated with their account.

Ensure the "Use vendor email address" option is disabled in VirtueMart Configuration under the orders tab.

Title: Re: After order is placed, i get error 0 Invalid address: (to):
Post by: mblokdijk on February 13, 2024, 22:11:35 PM
too bad, really thought the issue was solved because i did have this option enabled, had not thought about that. but unfortunately the problem remains after following up on your instructions.
Title: Re: After order is placed, i get error 0 Invalid address: (to):
Post by: mblokdijk on February 16, 2024, 08:55:21 AM
i solved the issue. the shopowner was not set...

i read the forums and this came up

I wonder how this happend. Solution. Enter the shopper list, edit the user, who should be shopowner. Manage it to store it. Note the user id,.. then go to "updates/migration" to the second tab and use the "set shopowner" command and use as id the one of your shopowner.
Title: Re: After order is placed, i get error 0 Invalid address: (to):
Post by: AH on February 16, 2024, 11:42:31 AM
Thank you for posting your solution - glad it is working now