Fatal error when exiting

Project: 
Ubercart
Category: 
bug report
Version: 
Ubercart 1.3
Priority: 
normal
Assigned: 
Unassigned
Status: 
fixed

Using Opera 9, this message appears at the end of the output (after </html>):

Fatal error: Call to undefined function base_path() in /../sites/all/modules/ubercart/uc_store/uc_store.module on line 511

I suspect this is not normally visible because most browsers do not display any text after </html>. If you search in Google for

"Fatal error Call to undefined function base_path() on line 511" you will see that the message is quite visible to the search engine spiders and appears on many stores.

I haven't looked into what is causing this, but it's in uc_store_exit().

Re: Fatal error when exiting

Interesting. I didn't realize this was actually a prevalent problem. A possible fix has been posted at drupal.org, so give that a shot. If it works, great.

Thanks.

This fixed the problem for me. Thanks for your help!