How to fix learnpress certificate plugin error

Please my brothers and sisters, help me solve this learnpress plugin error. When I deactivate the learnpress certificate addon plugin, the error disappears but when I reactivate the plugin the error resurfaces. I have tried my best to fix this error for long time now, all to no avail. Please help me.
The below images are the errors I got when I set the wp debug mode to on or off.

i have provide the learnpress 3 version file in addon session there is certificate file kindly replace the file with this one via ftp any other tool u r comfortable with.
hope this will help to solve the error

Thanks, I will try that out today