News:

Support the VirtueMart project and become a member

Main Menu

Erros after upgrade to 3.4

Started by MKI-Miro, September 24, 2018, 21:59:16 PM

Previous topic - Next topic

MKI-Miro

Hi

I have these erros after upgrade to 3.4 when i click add to cart

0 - Call to a member function createPriceDiv() on null

Notice: Undefined property: VirtueMartViewCart::$allowChangeShopper in components/com_virtuemart/views/cart/tmpl/default.php on line 57
Fakturačné údaje

Notice: Undefined property: VirtueMartViewCart::$userFieldsCart in components/com_virtuemart/views/cart/tmpl/default_address.php on line 34

Warning: Invalid argument supplied for foreach() in components/com_virtuemart/views/cart/tmpl/default_address.php on line 34

Notice: Undefined property: VirtueMartCart::$BTaddress in components/com_virtuemart/views/cart/tmpl/default_address.php on line 38

Warning: Invalid argument supplied for foreach() in com_virtuemart/views/cart/tmpl/default_address.php on line 38

Notice: Undefined property: components/com_virtuemart/views/cart/tmpl/default_address.php on line 56

How to fix them?

Milbo

hmm, so far you are the only one with this problems. Looks like, your installation has problems to get the cart. All of the requested fields are defined and stil in use. I think here is some incompatible 3rd party extension. But there is nothing we changed on purpose. So it cant be much to make it compatible. You may check our extensions/plugins, which interact with the cart. Onepagecheckouts, or maybe a customfield plugin (does it happen with all products?)
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

MKI-Miro


jjk

Did you clear all cache files after the update? After clicking 'Add to cart', the fancybox.png runs in a loop (Ajax problem?). Sometimes you can see the cart module and access the cart if you press Crtl+F5.

I would also try to disable the chat temporarily. Maybe the chat listener causes the problem.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

MKI-Miro

I found the issue. In config file
Layout Bootstrap version was set to Boostrap 4
I changed it to none a it is working now.

Milbo

Alright. Yes this switch is for later.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/