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

"Calling current() on an object" deprecation warning #732

Closed
simmonsgc opened this issue Jun 28, 2024 · 3 comments
Closed

"Calling current() on an object" deprecation warning #732

simmonsgc opened this issue Jun 28, 2024 · 3 comments

Comments

@simmonsgc
Copy link

In testing turnitintooltwo plugin version 2024032901 on Moodle version 4.3.5+ (Build: 20240614) today, I received a deprecation warning:

Deprecated: current(): Calling current() on an object is deprecated in /var/www/asulearn-test.appstate.edu/mod/turnitintooltwo/lib.php on line 254

Steps to recreate:

  • Turn editing on
  • Add and activity or resource
  • In chooser, select Turnitin Assignment
  • Make settings for Assignment (defaults are fine)
  • Click 'Save and return to course'
  • Observe error
@steveorulez
Copy link

Hello, any news on this?
we have the same problem on moodle 4.3.5+ and php 8.2

christian

@aspark21
Copy link
Contributor

aspark21 commented Jul 26, 2024

@jack-tii
Copy link
Contributor

Thanks for bringing this to our attention! This has now been resolved on or develop branch.

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

No branches or pull requests

4 participants