On line 266 include function is used in the commerce_extra_price_formatters.module file.

Please use module_load_include instead.

I created a patch file for this.

Comments

pebosi’s picture

Status: Active » Needs review

Patch works for me. Thanks

farald’s picture

Status: Needs review » Reviewed & tested by the community

Me too.

ikos’s picture

Hi,

Thanks for submitting this.

I have been working on a few changes to the module which I need to bundle up into a release. However I'll commit this patch tonight just to clear the problem some of you are experiencing.

kind regards

Richard

skipyT’s picture

Hi,

It would be nice!

Thanks!

r2integrated’s picture

Confirming patch works. Thanks @skipyT =)

ikos’s picture

Status: Reviewed & tested by the community » Fixed

Patch committed. Thanks!

kind regards

Richard

Ivan Simonov’s picture

Status: Fixed » Needs review

module_load_include make an extra DB query to find path for module and then call require_once function.
Actually we do not need this path.

We can use just:
require_once('includes/extra_functions.inc');

It works on my installation.

Ivan Simonov’s picture

Status: Needs review » Fixed

OK

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.