VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Development & Testing => Topic started by: kmeyer on September 21, 2014, 23:26:49 PM

Title: Array to string conversion in ...product.php on line 2206
Post by: kmeyer on September 21, 2014, 23:26:49 PM
Hi, I've installed a rudimentary shop on Joomla 3.3.3 with VM 2.9.9b using localhost, when I browse my category list of a couple items on the front end, this error appears above the Category description:

Notice: Array to string conversion in C:\xampp\htdocs\exp33\administrator\components\com_virtuemart\models\product.php on line 2206

The offending bit of code is
$fieldLink = 'index.php' . $fieldLink;
which appears immediately after
$fieldLink[0] = "?";

Any help much appreciated.




Title: Re: Array to string conversion in ...product.php on line 2206
Post by: LorenzoPi on September 22, 2014, 01:20:37 AM
Hi! this is the same thing it happen to me today! i posted the solution here: http://forum.virtuemart.net/index.php?topic=125831.0

It is the post before your ahah  :D

You must change all lines that i wrote there!  ;)
Title: Re: Array to string conversion in ...product.php on line 2206
Post by: kmeyer on September 22, 2014, 21:15:50 PM
Thank you! Your line #s and Milbo's patch solved the issue.