VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: tomrinkes on February 18, 2015, 12:57:42 PM

Title: Frequent error in the error log
Post by: tomrinkes on February 18, 2015, 12:57:42 PM
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
Title: Re: Frequent error in the error log
Post by: GJC Web Design on February 18, 2015, 13:06:33 PM
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