virtuemart 3.4.2
php 5.6.38
joomla 3.9.1
Changed to PHP 7.2
show cart gives me:
#0 [] operator not supported for strings
You need to find where it is by debug and logging and declare the far as an array
I found the likely issue here:
Call stack
# Function Location
1 () JROOT/plugins/vmpayment/elavon/elavon.php:251
Of course this is my elavon payment method.
I look at line 251 and it is nothing.
What am I looking for when you say "declare the far as an array"?
Jerry
I think he means the var
Jörgen @ Kreativ Fotografi
yes -- var -- touchscreens.. ::)
look for something like
$foo = $bah[];
then look at the code above and see if the $bah has been declared as an array
if not before it put $bah = array();
at stmt 251 I have:
$htmla[] = $html;
$htmla = array();
Jörgen @ Kreativ Fotografi
Before that line
$htmla = array();
$htmla[] = $html;
Jörgen @ Kreativ Fotografi
Thanks, that resolved my issue. I am now on pHp 7.2.
Yeah!
Jerry