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

Fatal error on activation #2716

Closed
4 tasks done
brianhogg opened this issue Aug 12, 2024 · 1 comment
Closed
4 tasks done

Fatal error on activation #2716

brianhogg opened this issue Aug 12, 2024 · 1 comment
Assignees

Comments

@brianhogg
Copy link
Contributor

brianhogg commented Aug 12, 2024

Reproduction Steps

  1. Install version of LifterLMS before 7.5.0
  2. Try to upgrade to the latest version (7.7.1)

Expected Behavior

Plugin activates without error

Actual Behavior

Uncaught Error: Call to a member function log() on null in /Users/jgarturo/Local Sites/dev/app/public/wp-content/plugins/lifterlms/includes/class-llms-db-ugrader.php:160

This issue has be recreated:

  • Locally
  • On a staging site
  • On a production website
  • With only LifterLMS and a default theme
@ideadude ideadude self-assigned this Aug 12, 2024
@brianhogg
Copy link
Contributor Author

Because we're running on the activation hook, need to initialize the background updater if it's not already.

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

No branches or pull requests

2 participants