Twitter triggers throwing errors

Hi,


We have four triggers set up to automatically post to Twitter (for jobs, media releases and 2 other news sections).



Up until just recently they were working fine, but now they're throwing errors (see further below…).



All of our other triggers are still working.



The Twitter triggers seem to have stopped working since our IT section changed the proxy server setup for the division.



Despite all the errors it still says that we are 'connected' in the Authentication status field under client credentials on the Twitter triggers, but the posts aren't getting through.



My manager has added the IP of this new proxy server to the Proxy Config screen in Matrix (see the attached screenshot). This has made remote content work again, but it hasn't made any difference to the triggers.



[attachment=506:proxysettings.png]



These are the errors that appear when you go to the details screen of the Twitter trigger…


    
    PHP Warning
    File: 	[SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc 	Line: 	198
    Message: 	simplexml_load_string() [function.simplexml-load-string]: Entity: line 7: parser error : Opening and ending tag mismatch: BR line 6 and FONT
    Backtrace: 	Show
    
    PHP Warning
    File: 	[SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc 	Line: 	198
    Message: 	simplexml_load_string() [function.simplexml-load-string]: 
    Backtrace: 	Show
    
    PHP Warning
    File: 	[SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc 	Line: 	198
    Message: 	simplexml_load_string() [function.simplexml-load-string]: ^
    Backtrace: 	Show
    
    PHP Warning
    File: 	[SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc 	Line: 	198
    Message: 	simplexml_load_string() [function.simplexml-load-string]: Entity: line 9: parser error : AttValue: " or ' expected
    Backtrace: 	Show
    
    PHP Warning
    File: 	[SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc 	Line: 	198
    Message: 	simplexml_load_string() [function.simplexml-load-string]: 
    Backtrace: 	Show
    
    PHP Warning
    File: 	[SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc 	Line: 	198
    Message: 	simplexml_load_string() [function.simplexml-load-string]: ^
    Backtrace: 	Show
    
    PHP Warning
    File: 	[SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc 	Line: 	198
    Message: 	simplexml_load_string() [function.simplexml-load-string]: Entity: line 9: parser error : attributes construct error
    Backtrace: 	Show
    
    PHP Warning
    File: 	[SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc 	Line: 	198
    Message: 	simplexml_load_string() [function.simplexml-load-string]: 
Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: ^ Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: Entity: line 9: parser error : Couldn't find end of Start Tag TABLE line 9 Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]:
Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: ^ Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: Entity: line 15: parser error : Opening and ending tag mismatch: BR line 14 and FONT Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: ^ Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: Entity: line 16: parser error : Opening and ending tag mismatch: BR line 13 and TD Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: ^ Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: Entity: line 16: parser error : Opening and ending tag mismatch: FONT line 11 and TR Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: ^ Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: Entity: line 28: parser error : AttValue: " or ' expected Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: ^ Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: Entity: line 28: parser error : attributes construct error Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: ^ Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: Entity: line 28: parser error : Couldn't find end of Start Tag FONT line 28 Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: ^ Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: Entity: line 31: parser error : Opening and ending tag mismatch: BR line 29 and FONT Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: ^ Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: Entity: line 33: parser error : Opening and ending tag mismatch: TD line 10 and TABLE Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]:
Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: ^ Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: Entity: line 34: parser error : Opening and ending tag mismatch: TR line 10 and blockquote Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: ^ Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: Entity: line 35: parser error : Opening and ending tag mismatch: blockquote line 8 and FONT Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: ^ Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: Entity: line 36: parser error : Opening and ending tag mismatch: FONT line 5 and BODY Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: ^ Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: Entity: line 36: parser error : Opening and ending tag mismatch: BODY line 4 and HTML Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: ^ Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: Entity: line 37: parser error : Premature end of data in tag HTML line 1 Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: Backtrace: Show PHP Warning File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 198 Message: simplexml_load_string() [function.simplexml-load-string]: ^ Backtrace: Show PHP Notice File: [SYSTEM_ROOT]/core/assets/system/triggers/trigger_action_types/trigger_action_update_twitter_status/trigger_action_update_twitter_status.inc Line: 200 Message: Trying to get property of non-object Backtrace: Show


Does anyone know if there are some other settings we should be altering?

Thanks!

Margaret proxysettings.png (35.4 KB)

I think that's because Update Twitter status trigger action doesn't support Matrix proxy. It always tries to contact twitter api directly.
So your previous environment doesn't have proxy at all, is it correct?



If that's the proxy problem, we should be able to fix it for you.

[quote]
I think that's because Update Twitter status trigger action doesn't support Matrix proxy. It always tries to contact twitter api directly.

So your previous environment doesn't have proxy at all, is it correct?



If that's the proxy problem, we should be able to fix it for you.

[/quote]



G'day – yes, that sounds like the problem. We had a new proxy set up here 2 weeks ago, and the Twitter trigger hasn't worked since.



The remote content feature wasn't working either, but after updating the proxy settings in Matrix, remote content started working, but Twitter didn't.



Can this be fixed as a bug, or would it be considered a feature request?



Cheers,



Warwick

http://bugs.matrix.squiz.net/view_bug.php?bug_id=5252


I filed a report for this issue. I think it's an enhancement. But we will need to build it anyway.

Once it's fixed, please contact Squiz Support for a patch.

[quote]
http://bugs.matrix.squiz.net/view_bug.php?bug_id=5252



I filed a report for this issue. I think it's an enhancement. But we will need to build it anyway.

Once it's fixed, please contact Squiz Support for a patch.

[/quote]



This has been fixed now.



Chiran