Just upgraded from php 5.6 to 7.0, than moodle 3.1 to 3.3 and than php 7.0 to 7.1 and discovered messaging was not working.
I noticed the following php error messages but have no idea how to troubleshoot it:
[14-Jun-2018 14:21:36 zzzzzzz] PHP Notice: Undefined variable: errormessage in zzzzzzzz\message\externallib.php on line 164When I send someone a message in the first screenshot below the message appears in the lefthand menu 'You: 221pm test'. When I refresh the page the message disappears and the much older message shows up instead (second screenshot).
I have been sending messages between multiple test account and adminsitrator accounts and none have made it through yet.
The Scheduled Task regarding Messaging appears to work fine (see screenshots below.)
Messaging is turned on (see last screenshot).
Im guessing this is a php issue? Perhaps I should try downgrading php 7.1 to 7.0? Or is there a php.ini setting I should update?