To find any errors that might lead us to the problem type a term in the search block and click the Search button. At the bottom of the page click on the "Error(s)" link and then let us know what is displayed. The output you showed us above is the SQL query that was made on your homepage instead of any error(s).
Since I can't remember if 2.0.16 administration panel displayed the system information the easiest way to find the PHP version is to do the following:
Create a file on your system with a text editor. You can call it anything but for simplicity just call it phpinfo.php with the following contents:
Upload this to the root folder (directory) on your web server using either an ftp client or your web server control panel (cpanel, etc). Go to your website and then type:
A report of your PHP configuration will be displayed. The PHP version is displayed near the beginning. It might be useful for you to print this out in case you need it later.Important:
DELETE the phpinfo.php file from your webserver. This file can give a potential hacker useful information if you leave it for anyone to find.
You can find the version of the module (mastop-publish) by looking at the Admin panel > Module page. Please report the PHP and module versions back here so we can see if there's either a known problem or help you "dive in" to find the problem. I looked at the current version of mastop-publish and does support search.