This is puzzling! As Ken originally mentioned, an old PHP version is the obvious cause. The error message "Parse error: syntax error, unexpected ':', expecting ';' or '{' in …/lib/classes/component.php on line 1162" is exactly what PHP 5 will report for this file.
If you upgraded from Moodle 3.5 to Moodle 3.7 on the same server it's hard to imagine how the server would have PHP 5 as Moodle 3.5 requires PHP 7 and the upgrade won't proceed without the necessary version. Similarly, unless phpMyAdmin is on a different server, this shows PHP 7.2.7.
Firstly, can you confirm that phpMyAdmin is running on the same server as Moodle?
Secondly, can you create a text file called phpinfo.php with two lines:
<?php
phpinfo();
Then upload this file to the Moodle source code folder (presumably /home2/coller9y/campus) on the server.
Then access this file from a browser using the URL for the Moodle site with /phpinfo.php at the end (e.g. if your site is https://moodle.example.com then you'd access https://moodle.example.com/phpinfo.php).
Then tell us the PHP version at the top of this page. It should look something like this:
or
You should remove this file after testing as it exposes technical information about the server to an attacker.