Update all your widgets by clicking Project → Tools → Update Widgets
This will probably solve the error.
*Edit* Apparently that is not enough. Maybe this helps:
Worst case, you will need to find out which part of your app generates the problem. If possible create a new project and import your version7 project module by module and widget by widget.