cancel
Showing results for 
Search instead for 
Did you mean: 

Fatal error: Call to a member function getId() on a non-object in

SOLVED

Fatal error: Call to a member function getId() on a non-object in

hello

i am new in magento.

when i want to edit or enter new product give me

Fatal error: Call to a member function getId() on a non-object in /home/roblixsh/public_html/app/code/core/Mage/Adminhtml/controllers/Catalog/ProductController.php on line 587

error

how can i fixed it?

regards

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Fatal error: Call to a member function getId() on a non-object in

Hi,

I realize this is old, but I was having a similar problem on a 1.9.0.1 store. When I turned on the cache it worked! With the cache off and cleared it didn't. Not sure why.

Hopefully this helps.

View solution in original post

5 REPLIES 5

Re: Fatal error: Call to a member function getId() on a non-object in

Hi,

I realize this is old, but I was having a similar problem on a 1.9.0.1 store. When I turned on the cache it worked! With the cache off and cleared it didn't. Not sure why.

Hopefully this helps.

Re: Fatal error: Call to a member function getId() on a non-object in

i clear chase and TURN ON IT WORKED

Re: Fatal error: Call to a member function getId() on a non-object in

ok it work

tank you Dear :-)

Fatal error: Call to a member function extend() on a non-object in Config.php on line 600

I need help with this error. I tried to install a form builder through magento connect manager and after i refreshed the page, i got this error. 

 

 

Re: Fatal error: Call to a member function getId() on a non-object in