I am attempting to use the integration module with an existing installation of phplist. I have completed the backend configuration and the "Manage my Subscriptions" link is visible, however I get the following error:
Notice: Uninitialized string offset: 0 in phplist_subscribe_form() (line 1649 of /home/goodnew2/public_html/gospelabc.com/d/sites/all/modules/phplist/phplist.module).
Notice: Uninitialized string offset: 0 in phplist_subscribe_form() (line 1649 of /home/goodnew2/public_html/gospelabc.com/d/sites/all/modules/phplist/phplist.module).
Help appreciated, thanks.
SH
Comments
Comment #1
paulbeaney commentedHi SH,
What page do you get this error on? The "My newsletters" page, the block subscription page, a different page altogether...?
Regards,
- Paul
Comment #2
michèle commentedHi Paul
Many thanks for this module!
I get the same notices as SH.
This message appears on every page with activated phplist-block.
It seems that the variable $phplist_subscribe_block_header is empty (because you have commented out the according code).
If I replace
with
all seems to work fine.
Regards, Michèle
Comment #3
paulbeaney commentedHi Michèle,
Thanks for the heads-up. I've rolled your fix into D7-DEV with a TODO tag to remind me to work out exactly why that code there was in the first place.
Regards,
- Paul
Comment #4
paulbeaney commentedComment #5
sharper1968 commentedHi everyone,
I have just updated to the latest version, which seems to include the fix given above.
Unfortunately I'm getting a new, similar error, as follows:
Notice: Uninitialized string offset: 0 in phplist_subscribe_form() (line 1636 of /home/goodnew2/public_html/gospelabc.com/d/sites/all/modules/phplist/phplist.module).
Notice: Uninitialized string offset: 0 in phplist_subscribe_form() (line 1636 of /home/goodnew2/public_html/gospelabc.com/d/sites/all/modules/phplist/phplist.module).
Any help on offer?
Many thanks,
SH
Comment #7
manyk commented