I’ve already used the same solution, it works (luckily!) but I my footer widgets are still there, so I think can be an other problem!
Thanks!
Seems that the error is related to this plugin
https://wordpress.org/plugins/autoptimize/
I’ll write they very soon for report this problem. Thank you again for your support!