Hi everyone,
I have installed wordpress on my localhost(wamp). during the installation process, everything was good, however when I go to the first page I see this error:
Parse error: syntax error, unexpected ‘:’, expecting ‘;’ or ‘{’ in D:\wamp64\www\woocommerce\wp-content\plugins\tutor\classes\Utils.php on line 2853
I tried to find the problem, and changed some actions to solve it. but it does not work. Here is the code:
public function get_students_by_instructor( int $instructor_id, int $offset, int $limit, $search_filter = '', $course_id = '', $date_filter = '', $order_by = '', $order = '' ): array {
global $wpdb;
Does anyone have idea?
Thanks in advance