News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Problem with User Registration after VM update

Started by Tryer, January 03, 2020, 21:08:24 PM

Previous topic - Next topic

Tryer

I have just updated to Joomla 3.9.14 with PHP 7.2.25.
Having updated to the current version of VM (as above) I find that users can no longer register on my site (create a new account). When they attemp to do so, they see the following error (I have turned on debug):
Call to a member function get() on null
/home/sites/mysite.co.uk/public_html/components/com_virtuemart/views/user/view.html.php:282
Call stack
#    Function    Location
1    ()    JROOT/components/com_virtuemart/views/user/view.html.php:282
2    VirtuemartViewUser->shopper()    JROOT/components/com_virtuemart/views/user/view.html.php:142
3    VirtuemartViewUser->display()    JROOT/components/com_virtuemart/controllers/user.php:59
4    VirtueMartControllerUser->display()    JROOT/libraries/src/MVC/Controller/BaseController.php:710
5    Joomla\CMS\MVC\Controller\BaseController->execute()    JROOT/components/com_virtuemart/virtuemart.php:120
6    require_once()    JROOT/libraries/src/Component/ComponentHelper.php:402
7    Joomla\CMS\Component\ComponentHelper::executeComponent()    JROOT/libraries/src/Component/ComponentHelper.php:377
8    Joomla\CMS\Component\ComponentHelper::renderComponent()    JROOT/libraries/src/Application/SiteApplication.php:194
9    Joomla\CMS\Application\SiteApplication->dispatch()    JROOT/libraries/src/Application/SiteApplication.php:233
10    Joomla\CMS\Application\SiteApplication->doExecute()    JROOT/libraries/src/Application/CMSApplication.php:196
11    Joomla\CMS\Application\CMSApplication->execute()    JROOT/index.php:49

No errors appear in the site error log.

When clicking on "Forgot your username" users are directed to ../component/users/?view=remind&Itemid=195
When clicking on "Forgot your username" users are directed to ../component/users/?view=reset&Itemid=195
When clicking on "Create an account" users are directed to ../component/virtuemart/user?Itemid=0

If I disable all the VM component/modules/plugins, the characteristics of the error change. Users are then directed to the error 404 page.

Any ideas or suggestions would be very welome.

Thanks

GJC Web Design

what version of VM?

appears to be the shopper group list function
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Tryer

Sorry about the omission. I have updated to VM3.6.10. Am I correct in suspecting this is a bug in the new version?


Tryer

Brilliant! Problem fixed.

Thank you for your assistance.

jankoo

hi. i got the same error.
creating the menu item for account maintenance dont solve the issue, because on the "login page" there is a link - "Don't have an account?"

how to get this to work? all of my stores have this issue after latest update..
and will the update cover this issue too?

el_gonza

Hello, sorry if I make a wrong statement or something like that, I am new in virtuemart and joomla.

I've applied this patch on my store and the user registration page started to work, but somehow the "register" button dissapeared. Maybe Im looking in the wrong file.

Updating to VirtueMart 3.8.4 didn't fix it either. This is the link to the store www.sdselectronica.com.ar

Maybe someone can help me about this? Or which file I have to change for this to start working again?