I tried to insert code into my customizer_class.php file in WPLMS-Customizer. I got code from this page below and saved my file with the code.
https://wplms.io/support/knowledge-base/removing-instructors-profile-link-from-name-in-course-page/
However the code didn't work. I deleted the code and updated the file. However I got this error:
Parse error: syntax error, unexpected 'return' (T_RETURN), expecting function (T_FUNCTION)
Now practically all of my website refused to work and spits back the above error on nearly every page I access. I can't even log in as admin on my Wordpress website due to this error.
I think that I might have deleted necessary code when removing the ineffective extra code but I have no clue what the original file looked like. Even if I can find what it looked like, WP admin is not functioning due to the error so fixing it is difficult.
Is there an original version of the Customizer-Class.php file I can access and restore site usability.
Got it fixed from somewhere else.
Go in cpanel and delete the last code from customiser.
Be carrefuly whenyou put code in wplms customizer, even a blank space will give you eror. Y experience that.