DB Error: Duplicate entry 'NULL' for key 'sessions_user_id' php 5.5 instead of 5.6

I am now using Database Server 5.6.38 and php 5.6.31