I am having an issue with my bulkmailer module when a new bulkmail user is submitted. The first user is created somewhat successful. The user shows up but is not live, as should be intended. Also this error is generated:
PHP Warning
Invalid argument supplied for foreach()
Fatal error: Call to undefined function: _getcommaseperatednamesbyassetid() in /opt/mysource_matrix/packages/bulkmail/bulkmail_subscribe_page/bulkmail_subscribe_page.inc on line 618When an attempt to register a second bulkmail user, this more extensive error message comes up:
*MySource Error*
File : [SYSTEM_ROOT]/core/include/assertions.inc
Line : 516
Version : 3.8.4
DB Type : pgsql
[ASSERT EXCEPTION] [NULL] "" is not a valid asset ID (LINE 890 IN [SYSTEM_ROOT]/core/include/asset_manager.inc) [SYS0270]
------------------------------------------------------------------
*Back Trace*
0 => array (
"function" => "sq_error_handler",
"args" => array (
0 => 256,
1 => "[ASSERT EXCEPTION] [NULL] \"\" is not a valid asset ID (LINE 890 IN [SYSTEM_ROOT]/core/include/asset_manager.inc) [SYS0270]",
2 => "[SYSTEM_ROOT]/core/include/locale_manager.inc",
3 => 512,
4 => array (
[Max Depth Reached]
)
)
),
1 => array (
"file" => "[SYSTEM_ROOT]/core/include/locale_manager.inc",
"line" => 512,
"function" => "trigger_error",
"args" => array (
0 => "[ASSERT EXCEPTION] [NULL] \"\" is not a valid asset ID (LINE 890 IN [SYSTEM_ROOT]/core/include/asset_manager.inc) [SYS0270]",
1 => 256
)
),
2 => array (
"file" => "[SYSTEM_ROOT]/core/include/general.inc",
"line" => 958,
"function" => "raiseerror",
"class" => "locale_manager",
"type" => "->",
"args" => array (
0 => "SYS0270",
1 => 256,
2 => array (
[Max Depth Reached]
)
)
),
3 => array (
"file" => "[SYSTEM_ROOT]/core/include/assertions.inc",
"line" => 516,
"function" => "trigger_localised_error",
"args" => array (
0 => "SYS0270",
1 => 256,
2 => "[NULL] \"\" is not a valid asset ID",
3 => 890,
4 => "[SYSTEM_ROOT]/core/include/asset_manager.inc"
)
),
4 => array (
"file" => "[SYSTEM_ROOT]/core/include/assertions.inc",
"line" => 490,
"function" => "trigger_exception",
"args" => array (
0 => "[NULL] \"\" is not a valid asset ID",
1 => ,
2 => 1
)
),
5 => array (
"file" => "[SYSTEM_ROOT]/core/include/asset_manager.inc",
"line" => 890,
"function" => "assert_valid_assetid",
"args" => array (
0 =>
)
),
6 => array (
"file" => "[SYSTEM_ROOT]/packages/bulkmail/bulkmail_subscribe_page/bulkmail_subscribe_page.inc",
"line" => 449,
"function" => "getasset",
"class" => "asset_manager",
"type" => "->",
"args" => array (
0 =>
)
),
7 => array (
"file" => "[SYSTEM_ROOT]/packages/bulkmail/bulkmail_subscribe_page/bulkmail_subscribe_page.inc",
"line" => 260,
"function" => "processpublicuserform",
"class" => "bulkmail_subscribe_page",
"type" => "->",
"args" => array (
[Empty]
)
),
8 => array (
"file" => "[SYSTEM_ROOT]/packages/cms/page_templates/page_user_group_manager/page_user_group_manager.inc",
"line" => 133,
"function" => "processform",
"class" => "bulkmail_subscribe_page",
"type" => "->",
"args" => array (
[Empty]
)
),
9 => array (
"file" => "[SYSTEM_ROOT]/core/include/asset.inc",
"line" => 3942,
"function" => "printbody",
"class" => "bulkmail_subscribe_page",
"type" => "->",
"args" => array (
[Empty]
)
),
10 => array (
"file" => "[SYSTEM_ROOT]/data/private/assets/design/235/design_file.php",
"line" => 546,
"function" => "printbodywithpaintlayout",
"class" => "bulkmail_subscribe_page",
"type" => "->",
"args" => array (
[Empty]
)
),
11 => array (
"file" => "[SYSTEM_ROOT]/core/assets/designs/design/design.inc",
"line" => 839,
"args" => array (
0 => "[SYSTEM_ROOT]/data/private/assets/design/235/design_file.php"
),
"function" => "require_once"
),
12 => array (
"file" => "[SYSTEM_ROOT]/core/include/asset.inc",
"line" => 3815,
"function" => "paint",
"class" => "design",
"type" => "->",
"args" => array (
0 => new bulkmail_subscribe_page Object (
[Max Depth Reached]
)
)
),
13 => array (
"file" => "[SYSTEM_ROOT]/core/include/asset.inc",
"line" => 3744,
"function" => "printfrontendasset",
"class" => "bulkmail_subscribe_page",
"type" => "->",
"args" => array (
0 => new bulkmail_subscribe_page Object (
[Max Depth Reached]
)
)
),
14 => array (
"file" => "[SYSTEM_ROOT]/core/include/mysource.inc",
"line" => 416,
"function" => "printfrontend",
"class" => "bulkmail_subscribe_page",
"type" => "->",
"args" => array (
[Empty]
)
),
15 => array (
"file" => "[SYSTEM_ROOT]/core/web/index.php",
"line" => 38,
"function" => "start",
"class" => "mysource",
"type" => "->",
"args" => array (
[Empty]
)
)</pre><br />
Any ideas on what the problem is? Thanks.