Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

block_panopto\task\sync_user,Undefined constant "STDOUT" #217

Open
Richardvi opened this issue Aug 29, 2024 · 2 comments
Open

block_panopto\task\sync_user,Undefined constant "STDOUT" #217

Richardvi opened this issue Aug 29, 2024 · 2 comments

Comments

@Richardvi
Copy link

image

Moodle 4.4.4, PHP 8.1

This error is continuously popping up in our Moodle:

image

@zeroAps
Copy link

zeroAps commented Oct 11, 2024

Thanks @Richardvi, I've created internal item 6643 to look into this. It seems we have few issues related to this, so we will investigate.

@Richardvi
Copy link
Author

I have some more information now in the logs:

Execute adhoc task: block_panopto\task\sync_user
Adhoc task id: 3901952
Adhoc task custom data: {"courseid":"28488","userid":"20886"}
... started 14:37:04. Current memory use 26.7 MB.
... used 173 dbqueries
... used 0.34851384162903 seconds
Adhoc task failed: block_panopto\task\sync_user,Undefined constant "STDOUT"
Backtrace:

  • line 1875 of /blocks/panopto/lib/panopto_data.php: call to cli_writeln()
  • line 137 of /blocks/panopto/lib/panopto_user_soap_client.php: call to panopto_data::print_log()
  • line 1008 of /blocks/panopto/lib/panopto_data.php: call to panopto_user_soap_client->sync_external_user()
  • line 55 of /blocks/panopto/classes/task/sync_user.php: call to panopto_data->sync_external_user()
  • line 519 of /lib/classes/cron.php: call to block_panopto\task\sync_user->execute()
  • line 302 of /lib/classes/cron.php: call to core\cron::run_inner_adhoc_task()
  • line 128 of /lib/classes/cron.php: call to core\cron::run_adhoc_tasks()
  • line 188 of /admin/cli/cron.php: call to core\cron::run_main_process()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants