@minosnet, there seem to be a conflict with the log class file. You can comment these two lines for now (line #18 and #19) to disable logging:

Change from this:

include_once ('log.php');...