Plugin Contributor
Qurl
(@qurl)
I think that error message is coming from another plugin, maybe the widget you’re using? I don’t have such an error message in the plugin.
I guess it has something to do with WPML. Because if I deactivate it…there is no such error.
I’ll write them and let you know.
Thank you.
P.S. The widgets I’m working with are standard “HTML widget”.
Same Issue here! If I deactivate WPML, the Issue still exist.
I’m using WordPress 5.0.3, all Plugins on the newest version and PHP-Version is 7.2.
We have the same problem. We try a lot combination on a “clean” installation. We found the problem.
WPML Multilingual CMS & WPML String Translation & Dynamic Widgets & Yoast SEO = NOT working
WPML Multilingual CMS & Dynamic Widgets & Yoast SEO = Working
So there need to be a conflict between WPML, Dynamic Widgets or Yoast SEO. All of this Plugins are a lot in use. Possible your Guys together can check that.
We ask the wpml.org Support, but they don’t want to check, about you Plugin is not compatible marked for the latest wordpress version.
Response from the wpml.org Support:
—
The Dynamic Widgets plugin by Qurl (https://wordpress.org/plugins/dynamic-widgets/) is not known to us. I couldn’t find any record about it on our compatible list of plugins here https://wpml.org/documentation/plugins-compatibility/. Or in our internal documentation. Nevertheless, our compatibility team usually helps and tries to find a fix (if it is possible) to the compatibility issue of all plugins. But there must be two conditions for this.
A. The plugin must be public (available to everyone for free or by payment).
B. The plugin must be regularly maintained and compatible with the latest version of WordPress.
Unfortunately, B is not the case with the Dynamic Widgets plugin. So I’m sorry we cannot help here with this case. So I would suggest you find another plugin that does the same that wither compatible with WPML or updated to the latest WordPress version and try to work with it.
—
Can you please take a look? Thank you.
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.wordpress.org/WordPress_Query_Vars)?
Thanks!
I am having the same issue tried deactivating wpml etc, did not help. Stopped working both on 4.99 and on 5.03
Plugin Contributor
Qurl
(@qurl)
My apologies for my silence. I see some very useful information about the problem. I’ll try to have a look in a short term.
Plugin Contributor
Qurl
(@qurl)
I’ve just released version 1.5.14 that fixes this bug. Thanks @fjaeker!
it works with 4.99! thanks a lot