Entering an email address and clicking subscribe spits out this error message. Apparently isnull() should be is_null(). After changing it seems to work.

Comments

telechris’s picture

Version: 6.x-2.x-dev » 6.x-2.14
Assigned: pillarsdotnet » Unassigned
Status: Fixed » Active

When submitting a webform and having it emailed to an email address, I am actually getting this error message:

Fatal error: Call to undefined function isnull() in ./modules/mailsystem/mailsystem.module on line 566

If I change isnull() to is_null() on line 566 as referenced above, the error goes away.

pillarsdotnet’s picture

Version: 6.x-2.14 » 6.x-2.x-dev
Assigned: Unassigned » pillarsdotnet
Status: Active » Fixed

Thanks. Fixed in 6.x-2.15 release.

jmires’s picture

Downloaded 6.x-2.15 and both versions (tar and zip) seem to still have isnull rather than is_null at line 566. Changing manually in 6.x-2.15 does fix it.

pillarsdotnet’s picture

You're right. I removed one in 6.x-2.15 and another in 6.x-2.16. The current version is 6.x-2.19. My projects tend to update rather quickly.

jmires’s picture

Version: 6.x-2.14 » 6.x-2.x-dev
Assigned: Unassigned » pillarsdotnet
Status: Active » Fixed

Thanks much pillarsdotnet - I followed the link to 6.x-2.15 in #2, not realizing that there was a more recent version. Updated to the latest and all is working well. Thanks for the module and the fast reply.

Status: Fixed » Closed (fixed)

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