Depracted Functions

Hello i recently download the Exam Center Module for my VA, and when i instaled im recibin this

Deprecated: Non-static method ExamsData::get_setting_info() should not be called statically, assuming $this from incompatible context in /home/u972563037/public_html/core/modules/Exams/Exams.php

Deprecated: Non-static method ExamsData::check_exam_assigned() should not be called statically, assuming $this from incompatible context in /home/u972563037/public_html/core/templates/exams/exam_list.php 

Also when i request an exam i recibe this other error, warning in this case

Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘Exams’ does not have a method ‘’.url(‘’ in /home/u972563037/public_html/core/classes/MainController.class.php on line 218

21 hours ago, eediaz said:

Hello i recently download the Exam Center Module for my VA, and when i instaled im recibin this

Deprecated: Non-static method ExamsData::get_setting_info() should not be called statically, assuming $this from incompatible context in /home/u972563037/public_html/core/modules/Exams/Exams.php

Deprecated: Non-static method ExamsData::check_exam_assigned() should not be called statically, assuming $this from incompatible context in /home/u972563037/public_html/core/templates/exams/exam_list.php 

Also when i request an exam i recibe this other error, warning in this case

Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘Exams’ does not have a method ‘’.url(‘’ in /home/u972563037/public_html/core/classes/MainController.class.php on line 218

where did yoy buy this module?

the 2 deprecated errors is because you are calling a function staticlly (Example::example()) but in the Model (ExamsData.class.php) the functions aren’t static… you should change the public function by public static function.