I think I’ve found the problem:
When saving a widget, the GET parameter “page=dynwid-config” is passed. In the POST-Vars there is also a parameter “page” with the value ‘no’ or ‘yes’.
Wordpress checks (https://github.com/WordPress/WordPress/blob/master/wp-includes/class-wp.php#L298-L299) whether these values are equal and throws the “A variable mismatch has been detected”-error in case of inequality (which is the case here).
Can you please adjust the code so that the POST variable is not named like one of the public_query_vars (https://codex.ww.wp.xz.cn/WordPress_Query_Vars)?
Thanks!