VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: MKI-Miro on September 24, 2018, 21:59:16 PM

Title: Erros after upgrade to 3.4
Post by: MKI-Miro on September 24, 2018, 21:59:16 PM
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?
Title: Re: Erros after upgrade to 3.4
Post by: Milbo on September 24, 2018, 22:11:54 PM
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?)
Title: Re: Erros after upgrade to 3.4
Post by: MKI-Miro on September 24, 2018, 22:16:52 PM
yes on all products you can see it on www.penovepuzzle.sk
Title: Re: Erros after upgrade to 3.4
Post by: jjk on September 25, 2018, 00:42:58 AM
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.
Title: Re: Erros after upgrade to 3.4
Post by: MKI-Miro on September 25, 2018, 08:19:36 AM
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.
Title: Re: Erros after upgrade to 3.4
Post by: Milbo on September 26, 2018, 09:02:57 AM
Alright. Yes this switch is for later.