Hi,
I'm using VM 3.4.0 and Joomla 3.8.12 and T3 template.
I'm getting this error when creating a product review:
Fatal error: Cannot use object of type stdClass as array in E:\Apache24\htdocs\www\www.APApneu.ca\v4\components\com_virtuemart\helpers\shopfunctionsf.php on line 641
The review is created, but the user is stuck with the error message.
Thank you!
Eric
Hello,
which PHP version are you using?
PHP Version 5.6.35
the new core will have
if(is_object($view->user)){
$replyTo[0] = isset($view->user->email)? $view->user->email:false;
$replyToName[0] = isset($view->user->name)? $view->user->name:false;
} else {
$replyTo[0] = isset($view->user['email'])? $view->user['email']:false;
$replyToName[0] = isset($view->user['name'])? $view->user['name']:false;
}
it would be good, when you directly test it.
Thank you! that did it! :)
nice, so we can set a check on that :-)