[TYPO3-commerce] Fatal error: Call to a member function getUid() on a non-object in /var/www/typo3conf/ext/commerce/lib/class.tx_commerce_pibase.php on line 380

Jeppe Donslund jd at webmasters.dk
Thu Nov 29 12:57:18 CET 2007


I did not solve the problem, but I found out that the error only occours 
  if choose product category at level 1.

My categories are like this:

Category
	Product category
		Gear
		Accesories
		etc.
	System

If I choose "Product category" I get the error, but not if I select Gear.

Does that give any sence.

Jeppe D.




Jeppe Donslund skrev:
> Hi,
> 
> The following area:
> Fatal error: Call to a member function getUid() on a non-object in 
> /var/www/typo3conf/ext/commerce/lib/class.tx_commerce_pibase.php on line 
> 380
> 
> Is that because the cat-id on my articles are not rigth or what?
> 
> line 380 says:
> $typoLinkConf['additionalParams'] = 
> ini_get('arg_separator.output').$this->prefixId.'[catUid]='.$oneCategory->getUid(); 
> 
> 
> 
> Please help.
> 
> 
> Regards,
> Jeppe D.


More information about the TYPO3-project-commerce mailing list