I just installed the verstion 7.x-3.0-alpha1 of the module and got this error: Fatal error: Call to undefined function potx_local_init() in /potx/potx.admin.inc on line 100

I added the following line to the file potx.admin.inc and it worked:
module_load_include('inc', 'potx', 'potx.local');

Comments

juankvillegas created an issue. See original summary.

juankvillegas’s picture

Status: Active » Needs review
StatusFileSize
new426 bytes

Patch attached

  • herom committed c1c4d31 on 7.x-3.x
    Issue #2609186 by juankvillegas: Fatal error: Call to undefined function...
herom’s picture

Status: Needs review » Fixed

Thanks for the report, and the fix.
Committed.

Mohanavel’s picture

Hi juankvillegas, i tried your above patch but i'm getting this Fatal error: Call to undefined function potx_status() error.

sirnjeet’s picture

Mohanavel, make sure you're ADDing the line : module_load_include('inc', 'potx', 'potx.local');
Under : module_load_include('inc', 'potx');
You need both.

Mohanavel’s picture

Thanks sirnjeet, i will try it

Status: Fixed » Closed (fixed)

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