-
Notifications
You must be signed in to change notification settings - Fork 3
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
out_as_local_url called on a non-local URL #67
Comments
Do you have any recommended versions to avoid this error? It is a blocker upgrading from 0.4.2 2021020300 to 1.0.1 2021080400. |
Hi, since the "returning URL" is always the same, I have temporarily "solved" the error replacing that row with the following one (with the "hardcoded URL").
It works and this could fix the error. Giorgio |
Here is what I did, and found useful:
If this make sense to you, I can send a PR. |
@Kemmotar83 Your temp fix works 4 me. Thankx |
While upgrading to latest version (2021080400), I got the following error message (CLI)
!!! Coding error detected, it must be fixed by a programmer: out_as_local_url called on a non-local URL !!!
It seems to be referring to settings.php
$returnurl = $PAGE->url->out_as_local_url(false);
I am using Moodle 3.9.8
The text was updated successfully, but these errors were encountered: