VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: lmcc on March 23, 2020, 23:38:44 PM

Title: Cannot add payment methods
Post by: lmcc on March 23, 2020, 23:38:44 PM
Virtuemart 3.6.10
Joomla 3.9.16
Php 7.4.3

Virtuemart is not allowing me to add any payment method. I have tried several and get the same error:
"Cannot use "parent" when current class scope has no parent in.....  /administrator/components/com_virtuemart/helpers/shopfunctions.php on line 370"

I have reinstalled virtuemart twice, as well as the AIO.
Title: Re: Cannot add payment methods
Post by: GJC Web Design on March 23, 2020, 23:42:10 PM
try php 7.3
Title: Re: Cannot add payment methods
Post by: lmcc on March 23, 2020, 23:51:42 PM
Thank you. I did try php 7.3. I tried that and then rolled back to 7.1. Was not able to add payments with any php 7 version.
Title: Re: Cannot add payment methods
Post by: GJC Web Design on March 24, 2020, 11:26:36 AM
you need to further trace this error .. 

use full Joomla debug and u should get the full trace
Title: Re: Cannot add payment methods
Post by: lmcc on March 24, 2020, 17:45:07 PM
Thank you GJC Web Design. 
I realized after I said I had "reinstalled" virtuemart, that I had not done a full removal before installing again. After doing a clean uninstall of everything (including database tables) and starting over, adding payment methods works fine with PHP 7.4.
I made the mistake of "jumping in" without reading thoroughly first. The error likely resulted from improper installation at the beginning.
Thank you to all who are working to make this a great extension!