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

Tutor Pro Enrollments: Undefined constant TUTOR\Input::TYPE_RAW #339

Open
Eddaoust opened this issue Feb 20, 2023 · 0 comments
Open

Tutor Pro Enrollments: Undefined constant TUTOR\Input::TYPE_RAW #339

Eddaoust opened this issue Feb 20, 2023 · 0 comments

Comments

@Eddaoust
Copy link

Hi,
I encounter an error 500 when the modal enrolment load the user list with the following message:
PHP Fatal error: Uncaught Error: Undefined constant TUTOR\Input::TYPE_RAW in /var/www/html/wp-content/plugins/tutor-pro/addons/enrollments/classes/Enrollments.php:83

I checked in the codebase and the constant TUTOR\Input::TYPE_RAW didn't exist.
I solve the issue by switching TUTOR\Input::TYPE_RAW to TUTOR\Input::TYPE_STRING.

Can you please fix this in the tutor pro plugin?

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

No branches or pull requests

1 participant