News:

Looking for documentation? Take a look on our wiki

Main Menu

Frequent error in the error log

Started by tomrinkes, February 18, 2015, 12:57:42 PM

Previous topic - Next topic

tomrinkes

Hello,

I see this error often in my error log, how do I fiks this?.

[Wed Feb 18 00:49:11 2015] [warn] [client 188.165.15.227] mod_fcgid: stderr: PHP Notice:  Undefined property: TableCategories::$category_parent_id in *domains/twr-trading.nl/public_html/components/com_virtuemart/views/category/view.html.php on line 162

Greetings,
twr-trading.nl

VM2.6.6
J2.5.28

GJC Web Design

1st - your VM is out of date and unsafe unless u patched it - if u upgrade all normal warnings apply..
search on here

2nd - add

error_reporting( E_ERROR | E_PARSE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING );

to the top of    components/com_virtuemart/views/category/view.html.php  after the joomla exclusion line
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