| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
newly added category problem | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
newly added category problem
HI their,
we don't know if this is a program bug or something else. it looks happen after we upgrade new xc5.1.10 version. we have almost 26 first level category. right now after we create a new category it will show on home page , but if we click on it. it give us error page. for example if we create a new category at admin page, every thing is fine at back end. but if you go to front-end, click category you just created it will give error message: ERROR: "Includes\ErrorHandler::FATAL_ERROR" (code 2) Call to a member function getCategoryId() on a non-object These 2 category was create after upgrade to xc 5.1.10 before upgrade a new version all category are fine. I go to check log file it says: [13-Feb-2015 01:02:40 UTC] PHP Fatal error: Call to a member function getCategoryId() on a non-object in /var/www/vhosts/www/httpdocs/var/run/classes/XLite/Model/CategoryAbstract.php on line 241 [13-Feb-2015 01:02:40] Error (code: 1): Call to a member function getCategoryId() on a non-object Server API: cgi-fcgi; Request method: GET; URI: /massage_oils; Backtrace: #0 Includes\ErrorHandler::logInfo(Call to a member function getCategoryId() on a non-object, 1) called at [/var/www/vhosts/www/httpdocs/Includes/ErrorHandler.php:327] #1 Includes\ErrorHandler::handleError(Array ([type] => 1,[message] => Call to a member function getCategoryId() on a non-object,[file] => /var/www/vhosts/www/httpdocs/var/run/classes/XLite/Model/CategoryAbstract.php,[line] => 241)) called at [/var/www/vhosts/www/httpdocs/Includes/ErrorHandler.php:312] #2 Includes\ErrorHandler::shutdown() any one have this problem befor?
__________________
Tony |
|||||||
#2
|
|||||||
|
|||||||
Re: newly added category problem
I figured out. there is some empty records in the table categories. after delete everything is back to normal
|
|||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|