News:

Looking for documentation? Take a look on our wiki

Main Menu

Often error in error errors

Started by ErinNoble, November 11, 2018, 15:41:40 PM

Previous topic - Next topic

ErinNoble

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

 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 https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation