Trigger Failure Warnings

This is very strange, as it JUST started happening, without really any changes to our system.


When creating a news Single Calendar Event, either through the Admin Interface, or an asset builder, I get the following errors:


[codebox]0 => array (
&quot;function&quot; =&gt; &quot;sq_error_handler&quot;,<br />
&quot;args&quot; =&gt; array (<br />
	0 =&gt; 512,<br />
	1 =&gt; &quot;FAILURE: Trigger &#092;&quot;Events Admin - Future Status&#092;&quot; (Trigger# 101), Event &#092;&quot;trigger_event_asset_created&#092;&quot; broadcast by &#092;&quot;test&#092;&quot; (Id# 34601) [CORE0127]&quot;,<br />
	2 =&gt; &quot;[SYSTEM_ROOT]/core/include/locale_manager.inc&quot;,<br />
	3 =&gt; 504,<br />
	4 =&gt; array (<br />
		[Max Depth Reached]<br />
	) <br />
) <br />

),

1 => array (

"file" => "[SYSTEM_ROOT]/core/include/locale_manager.inc",

"line" => 504,

"function" => "trigger_error",

"args" => array (

0 => "FAILURE: Trigger \"Events Admin - Future Status\" (Trigger# 101), Event \"trigger_event_asset_created\" broadcast by \"test\" (Id# 34601) [CORE0127]",

1 => 512

)

),

2 => array (

"file" => "[SYSTEM_ROOT]/core/include/general.inc",

"line" => 1120,

"function" => "raiseerror",

"class" => "locale_manager",

"type" => "->",

"args" => array (

0 => "CORE0127",

1 => 512,

2 => array (

[Max Depth Reached]

)

)

),

3 => array (

"file" => "[SYSTEM_ROOT]/core/assets/system/triggers/trigger_manager/trigger_manager.inc",

"line" => 874,

"function" => "trigger_localised_error",

"args" => array (

0 => "CORE0127",

1 => 512,

2 => "101",

3 => "Events Admin - Future Status",

4 => "trigger_event_asset_created",

5 => "34601",

6 => "test"

)

),

4 => array (

"file" => "[SYSTEM_ROOT]/core/include/mysource.inc",

"line" => 2665,

"function" => "broadcastevent",

"class" => "trigger_manager",

"type" => "->",

"args" => array (

0 => "trigger_event_asset_created",

1 => new calendar_event_single Object (

[Max Depth Reached]

),

2 =>

)

),

5 => array (

"file" => "[SYSTEM_ROOT]/core/include/asset.inc",

"line" => 508,

"function" => "broadcasttriggerevent",

"class" => "mysource",

"type" => "->",

"args" => array (

0 => "trigger_event_asset_created",

1 => new calendar_event_single Object (

[Max Depth Reached]

)

)

),

6 => array (

"file" => "[SYSTEM_ROOT]/core/include/asset.inc",

"line" => 4266,

"function" => "create",

"class" => "calendar_event_single",

"type" => "->",

"args" => array (

0 => array (

[Max Depth Reached]

)

)

),

7 => array (

"file" => "[SYSTEM_ROOT]/core/include/asset_manager_edit_fns.inc",

"line" => 120,

"function" => "processbackend",

"class" => "calendar_event_single",

"type" => "->",

"args" => array (

0 => new backend_outputter Object (

[Max Depth Reached]

),

1 => array (

[Max Depth Reached]

)

)

),

8 => array (

"file" => "[SYSTEM_ROOT]/core/include/asset_manager.inc",

"line" => 7314,

"function" => "paintbackend",

"class" => "asset_manager_edit_fns",

"type" => "->",

"args" => array (

[Empty]

)

),

9 => array (

"file" => "[SYSTEM_ROOT]/core/include/backend.inc",

"line" => 1344,

"function" => "paintbackend",

"class" => "asset_manager",

"type" => "->",

"args" => array (

0 => new backend Object (

[Max Depth Reached]

)

)

),

10 => array (

"file" => "[SYSTEM_ROOT]/core/include/backend.inc",

"line" => 189,

"function" => "_printmain",

"class" => "backend",

"type" => "->",

"args" => array (

[Empty]

)

),

11 => array (

"file" => "[SYSTEM_ROOT]/core/include/mysource.inc",

"line" => 355,

"function" => "paint",

"class" => "backend",

"type" => "->",

"args" => array (

[Empty]

)

),

12 => array (

"file" => "[SYSTEM_ROOT]/core/web/index.php",

"line" => 31,

"function" => "start",

"class" => "mysource",

"type" => "->",

"args" => array (

[Empty]

)

)

[/codebox]

All the backtrace tells me is that the trigger action failed and it was marked as blocking execution of the event, so it failed the asset creation as well.


Doesn't offer any information about why the action itself failed. Anything else in the error log?


Well, there is another strange error:

     9:51:29 - 07 Oct
    User: MySource System (0)
    Level: PHP Notice
    	(/core/include/mysource.inc:1476) - Undefined index: userid
    9:51:29 - 07 Oct
    User: MySource System (0)
    Level: PHP Notice
    	(/core/include/mysource.inc:1477) - Undefined index: user_type_code
    9:51:29 - 07 Oct
    User: MySource System (0)
    Level: PHP Notice
    	(/core/include/mysource.inc:272) - Undefined index: userid


No idea why this error is happening or what it is meaning, but it also seemed like Matrix was logging me out at that time too.

Those errors indicate your session was completely lost, including all information about the current user (both public or logged in). I'm really not sure what would have caused that.