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
Many warnings in Moodle cronjob #199
Comments
The STDOUT constant is supposed to be built into the CLI environment so that you don't have to open the php://stdout handle multiple times. Seems a bit odd that it's failing, but the purpose is to print output. The var_export() is very odd, almost like the value being passed in is a very messy object, but it at least points us to problem. Moodle-2.0-plugin-for-Panopto/lib/panopto_user_soap_client.php Lines 121 to 122 in 857a85a
The SyncExternalUser function is failing. Now, I'm not sure why, and that's what the "getLastError" is supposed to be explaining, but there's probably a different problem like there's users on Moodle that are not on Panopto or the API call is failing. |
Hi, I have filed an internal work item to look into this issue. Thank you for your patience, |
We updated our test server to Moodle 4.3 and this is showing the same errors. I also see a new error, more or less the same as the old error. Execute adhoc task: block_panopto\task\ensure_category
|
And the old one: Execute adhoc task: block_panopto\task\sync_user_login
|
Moodle 4.3, PHP 8.0 |
I'm running Moodle 4.1.2 with latest Panopto plugin and see a lot of these warnings in the Cronjob log:
Execute adhoc task: block_panopto\task\sync_user_login
Adhoc task id: 10342
Adhoc task custom data: {"userid":"4279"}
... started 20:10:54. Current memory use 20.8 MB.
Warning: Use of undefined constant STDOUT - assumed 'STDOUT' (this will throw an Error in a future version of PHP) in /home/learndev/public_html/lib/clilib.php on line 45
Warning: fwrite() expects parameter 1 to be resource, string given in /home/learndev/public_html/lib/clilib.php on line 36
Warning: Use of undefined constant STDOUT - assumed 'STDOUT' (this will throw an Error in a future version of PHP) in /home/learndev/public_html/lib/clilib.php on line 45
Warning: fwrite() expects parameter 1 to be resource, string given in /home/learndev/public_html/lib/clilib.php on line 36
Warning: Use of undefined constant STDOUT - assumed 'STDOUT' (this will throw an Error in a future version of PHP) in /home/learndev/public_html/lib/clilib.php on line 45
Warning: fwrite() expects parameter 1 to be resource, string given in /home/learndev/public_html/lib/clilib.php on line 36
Warning: var_export does not handle circular references in /home/learndev/public_html/blocks/panopto/lib/panopto_user_soap_client.php on line 122
Warning: var_export does not handle circular references in /home/learndev/public_html/blocks/panopto/lib/panopto_user_soap_client.php on line 122
Warning: var_export does not handle circular references in /home/learndev/public_html/blocks/panopto/lib/panopto_user_soap_client.php on line 122
Warning: var_export does not handle circular references in /home/learndev/public_html/blocks/panopto/lib/panopto_user_soap_client.php on line 122
Warning: Use of undefined constant STDOUT - assumed 'STDOUT' (this will throw an Error in a future version of PHP) in /home/learndev/public_html/lib/clilib.php on line 45
Warning: fwrite() expects parameter 1 to be resource, string given in /home/learndev/public_html/lib/clilib.php on line 36
... used 7 dbqueries
... used 0.10246300697327 seconds
Adhoc task complete: block_panopto\task\sync_user_login
The text was updated successfully, but these errors were encountered: