themeum/tutor

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

Opened this issue · 0 comments

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?