Author Topic: Often error in error errors  (Read 492 times)

ErinNoble

  • Beginner
  • *
  • Posts: 1
  • A beginner
  • Skype Name: Noble
Often error in error errors
« on: November 11, 2018, 15:41:40 pm »
I found this error often in my error, how did I get this?

[Apr 18 00:49:11 2015] [Customer] 188.165.15.227] Mod_FKGid: STARR: Note PHP: Optional: Tabletections :: $ Category_parent_id in * domains / twr-trading.nl/public_html/components / com_virtuemart / views / category / view.html.php on page 162

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9308
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Often error in error errors
« Reply #1 on: November 11, 2018, 20:01:47 pm »
 its just a notice  but did u copy/paste this?  it makes very little sense

the only instance of Category_parent_id in that file is line 662

maybe it needs

if ($cat and !empty($cat->category_parent_id) and $this->categoryId != $cat->category_parent_id) {

to

if ($cat and isset($cat->category_parent_id) and !empty($cat->category_parent_id) and $this->categoryId != $cat->category_parent_id) {

or similar
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation