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

Undefined array key "BT" after upgrade to joomla

Started by MKI-Miro, December 28, 2022, 15:50:02 PM

Previous topic - Next topic

MKI-Miro

Hi

I am getting these errors when order is finished:

vmTable store insertObject

Warning: Undefined array key "BT" in /data/8/c/8cebda2e-e64f-4f2a-9ed5-25033aa98354/web/administrator/components/com_virtuemart/models/orders.php on line 2789

Warning: Attempt to read property "order_number" on null in /data/8/c/8cebda2e-e64f-4f2a-9ed5-25033aa98354/web/administrator/components/com_virtuemart/models/orders.php on line 2789

Warning: Undefined array key "BT" in /data/8/c/8cebda2e-e64f-4f2a-9ed5-25033aa98354/web/plugins/vmshipment/weight_countries/weight_countries.php on line 105

Warning: Attempt to read property "virtuemart_shipmentmethod_id" on null in /data/8/c/8cebda2e-e64f-4f2a-9ed5-25033aa98354/web/plugins/vmshipment/weight_countries/weight_countries.php on line 105

Warning: Undefined array key "BT" in /data/8/c/8cebda2e-e64f-4f2a-9ed5-25033aa98354/web/plugins/vmpayment/paypal/paypal.php on line 450

Warning: Attempt to read property "virtuemart_paymentmethod_id" on null in /data/8/c/8cebda2e-e64f-4f2a-9ed5-25033aa98354/web/plugins/vmpayment/paypal/paypal.php on line 450

Warning: Undefined array key "BT" in /data/8/c/8cebda2e-e64f-4f2a-9ed5-25033aa98354/web/plugins/vmpayment/standard/standard.php on line 117

Warning: Attempt to read property "virtuemart_paymentmethod_id" on null in /data/8/c/8cebda2e-e64f-4f2a-9ed5-25033aa98354/web/plugins/vmpayment/standard/standard.php on line 117
Thank you for your order!
Your order has been processed.


VirtueMart 4.0.12 10777
The currently installed Joomla! version is "‎4.2.6"

Hot to fix it? thanks

MKI-Miro

I found the problem:

The problem was in database table vjenl_virtuemart_order_userinfos where virtuemart_order_userinfo_id  was not set as PK because there were many duplicatece rows with value 0