Remove error_log calls in public version (fix #1), Errors with the lates...

...t version from master (fix #5).