General developer forum

error in cloned lesson

 
Picture of Amin Farajzadeh
error in cloned lesson
 

I cloned lesson activity and I changed its name to vpl. but now when I want to enter vpl activity by student role for the second time  it asks start last seen or not.when I click on no it gives me an error:

Fatal error: Class 'mod_vpl\event\vpl_restarted' not found in E:\xampp\htdocs\moodle3\mod\vpl\locallib.php on line 2099

what should I do ????

 
Average of ratings: -
Davo
Re: error in cloned lesson
Group Core developersGroup Particularly helpful MoodlersGroup Plugin developers

Take a look in mod\vpl\classes\event and see if you have renamed lesson_restarted to vpl_restarted (including renaming of the class inside it).


 
Average of ratings: Useful (1)