protocol error: , Invalid document end at col 1. Check the back end log for OutOfMemoryErrors. fread(): Length parameter must be greater than 0