Parse error: syntax error, unexpected T_FUNCTION in /htdocs/public/www/wp-content/plugins/wordpress-popular-posts/includes/class-wordpress-popular-posts-rest-controller.php on line 374