I have this variable $_compareUrl=$this->getAddToCompareUrl($_product) to get compare url but this is empty in guest mode, only when i signed in magento it's not empty.

I recently migrate from domain and before migrate all working fine but after migrate i have this problem. Any idea how to fix this?

1 Answer 1


I fix this re-enable logs in System>Configuration>Advanced>system

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.