After upgrading from Moodle 3.1, messaging shows this message for users:
Your messages are temporarily unavailable due to upgrades in the messaging infrastructure. Please wait for them to be migrated.
Referencing
https://moodle.org/mod/forum/discuss.php?d=375430
and
https://moodle.org/mod/forum/discuss.php?d=370876
cron is running once per minute. this does not migrate the messages. I ran cron manually, same result. Is there a way to force the migration script to run on all users? I tried running the script provided by Howard Miller BELOW, THAT DIDN'T WORK OUT EITHER.
<?php
define('CLI_SCRIPT', true);
require_once('config.php')
\core_message\task\migrate_message_data::queue_task(...USER ID...);
this generates 500 server error
also tried closing the php tag
<?php
define('CLI_SCRIPT', true);
require_once('config.php') \core_message\task\migrate_message_data::queue_task(2);
?>
running from moodle root folder generate 500 server error.
Has anyone seen this issue with no cron fix, what else might it be?
Any help is appreciated.
here's my environment: