thank you for the quick reply.
Error in log:
[06-Jan-2017 12:19:33] PHP Warning: Missing argument 2 for sql(), called in /home1/.../hooks/Price.php on line 20 and defined in /home1/.../incFunctions.php on line 249
I checked line 20 in the hook file there is a simple sql, here it is before and after the change:
Sql that generated the error:
sql('DROP TABLE IF EXISTS `Price`');
Sql change with no error in log:
sql('DROP TABLE IF EXISTS `Price`', $eo);
This change solved my problem.
The other error still persists, have no idea what is causing it, this is what in the log file:
[14-Jan-2017 19:22:10] PHP Warning: htmlspecialchars() [<a href='function.htmlspecialchars'>function.htmlspecialchars</a>]: Invalid multibyte sequence in argument in /home1/......../admin/incFunctions.php on line 935