Changed 'share' and 'deleted' columns in 'solutions' table to bool type (tinyint), fixed issue with code running on the local machine.