Author Topic: Undefined property: TableCategories::$virtuemart_id  (Read 365 times)

Phoenix616

  • Beginner
  • *
  • Posts: 3
  • Moep
    • Moep.tv
Undefined property: TableCategories::$virtuemart_id
« on: November 05, 2019, 21:15:51 pm »
Using Virtuemart 3.6.2 you get the following notice in the category layout:
Quote
Notice: Undefined property: TableCategories::$virtuemart_id in <path>\components\com_virtuemart\views\category\view.html.php on line 723

This seems to be due to the usage of the unknown field $cat->virtuemart_id here instead of $cat->virtuemart_category_id

StefanSTS

  • Global Moderator
  • Full Member
  • *
  • Posts: 520
  • VirtueMart Version: VM 4.2 on Joomla 4.5
Re: Undefined property: TableCategories::$virtuemart_id
« Reply #1 on: November 05, 2019, 21:18:15 pm »
Would you please update to 3.6.8 in a test environment and see if it works? Thanks
--
Stefan Schumacher
www.jooglies.com - VirtueMart Invoice Layouts

Please use only stable versions with even numbers for your live shop! Use Alpha versions only if you know what risk you are taking.

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10008
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Undefined property: TableCategories::$virtuemart_id
« Reply #2 on: November 07, 2019, 11:38:57 am »
Thank you very much. Perfect bug report. Stupid that I did not see that earlier.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

ripple

  • Beginner
  • *
  • Posts: 1
Re: Undefined property: TableCategories::$virtuemart_id
« Reply #3 on: December 17, 2019, 13:16:36 pm »
I am using VirtueMart 3.6.8 10197 and get the following error when I click on the PayPal Payment options:

Code: [Select]
Notice: Undefined property: TablePaymentmethods::$virtuemart_shipmentmethod_ids in <path>/administrator/components/com_virtuemart/views/paymentmethod/view.html.php on line 86
Followed by the following on the 'Payment Method Information' tab:

Code: [Select]
Notice: Undefined property: TablePaymentmethods::$min_amount in <path>/administrator/components/com_virtuemart/views/paymentmethod/tmpl/edit_edit.php on line 34

Notice: Undefined property: TablePaymentmethods::$max_amount in <path>/administrator/components/com_virtuemart/views/paymentmethod/tmpl/edit_edit.php on line 35

Notice: Undefined property: TablePaymentmethods::$categories in <path>/administrator/components/com_virtuemart/views/paymentmethod/tmpl/edit_edit.php on line 44

Notice: Undefined property: TablePaymentmethods::$blocking_categories in <path>/administrator/components/com_virtuemart/views/paymentmethod/tmpl/edit_edit.php on line 49

Notice: Undefined property: TablePaymentmethods::$countries in <path>/administrator/components/com_virtuemart/views/paymentmethod/tmpl/edit_edit.php on line 54

Notice: Undefined property: TablePaymentmethods::$blocking_countries in <path>/administrator/components/com_virtuemart/views/paymentmethod/tmpl/edit_edit.php on line 55

copyman

  • Beginner
  • *
  • Posts: 3
Re: Undefined property: TableCategories::$virtuemart_id
« Reply #4 on: January 14, 2020, 21:59:38 pm »
Same error in Virtuemart  3.6.10 10211  like Ripple

EDIT: Fixed - I changed the currency of the USD in Payment Method Information, save - no errrors, I changed my currency (BGN) back, save and again there is no errors! Тhe store is migrated from an old version of virtuеmart 2.2

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4119
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: Undefined property: TableCategories::$virtuemart_id
« Reply #5 on: January 15, 2020, 00:02:24 am »
The payment problem can be because the new values on upgrade are missing in the table.
So on save the method, the problem should be solved