Hello,
On Moodle 4.1 with plugin version 2023031010 - the Copy Translations scheduled task seems to consistently to fail on labels (Text & Media Area), and I wasn't sure if it's a issue with other plugins or something further that I may need to configure.
Started processing table: label
...
Scheduled task failed: Copy translations (filter_translations\task\copy_translations),Coding error detected, it must be fixed by a programmer: out_as_local_url called on a non-local URL
Backtrace:
line 2353 of /filter/filtercodes/filter.php: call to moodle_url->out_as_local_url()
line 515 of /lib/filterlib.php: call to filter_filtercodes->filter()
line 188 of /lib/filterlib.php: call to moodle_text_filter->filter_stage_post_clean()
line 230 of /lib/filterlib.php: call to filter_manager->apply_filter_chain()
line 1348 of /lib/weblib.php: call to filter_manager->filter_text()
line 1655 of /lib/weblib.php: call to format_text()
line 133 of /filter/translations/classes/task/copy_translations.php: call to format_module_intro()
line 263 of /lib/cronlib.php: call to filter_translations\task\copy_translations->execute()
line 120 of /lib/cronlib.php: call to cron_run_inner_scheduled_task()
line 73 of /lib/cronlib.php: call to cron_run_scheduled_tasks()
line 178 of /admin/cli/cron.php: call to cron_run()
I do have label as one of the tables to check in the CT Plugin settings:
... "label": [
"intro"
], ...
Wanted to check to see if this error had come up before for anyone. Thanks,
I have found the issue -- the background task was failing on labels due to a specific label that contained a quite a few FilterCodes in it. Upon deleting this label, the scheduled task no longer failed.
Hello, On Moodle 4.1 with plugin version 2023031010 - the Copy Translations scheduled task seems to consistently to fail on labels (Text & Media Area), and I wasn't sure if it's a issue with other plugins or something further that I may need to configure.
Started processing table: label ... Scheduled task failed: Copy translations (filter_translations\task\copy_translations),Coding error detected, it must be fixed by a programmer: out_as_local_url called on a non-local URL Backtrace:
I do have label as one of the tables to check in the CT Plugin settings: ... "label": [ "intro" ], ...
Wanted to check to see if this error had come up before for anyone. Thanks,
filter_translations_task_copy_translations-48014814.log