guys all the issues (even the clone dashboard one) are all due to this
https://www.euperia.com/development/mysql-fix-field-doesnt-default-value/1509 which @nchaveiro pointed out.
If i disable strict mode (which is on by default on mysql 5.7) all the issues are resolved …
for windows users using the latest wamp version , you can disable strict mode by clicking on the wamp system tray icon then choose mysql → my sql settings → sql mode → none
it will write the value from the above url in your mysql my.ini config file then and restart all services, solving all these problems with default code