You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When clicking save on the GUI to update a query, a critical error is thrown, which can results in an inabiloty to upodate a query's settings can can lead to custom sorts and filters being removed.
Fatal error: Uncaught TypeError: array_map(): Argument #2 ($array) must be of type array, string given in .../plugins/query-wrangler/admin/admin.php:107
Looks like the recent updates accidentally changed qw_update_query( $_POST ); to qw_update_query( $query_id ); in admin/query-admin-pages.php. But qw_update_query( $post ) in admin/admin.php is expecting $_POST data to be passed not an ID. Refer to pull request #29 for the fix.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
When clicking save on the GUI to update a query, a critical error is thrown, which can results in an inabiloty to upodate a query's settings can can lead to custom sorts and filters being removed.
Looks like the recent updates accidentally changed
qw_update_query( $_POST );
toqw_update_query( $query_id );
inadmin/query-admin-pages.php
. Butqw_update_query( $post )
inadmin/admin.php
is expecting $_POST data to be passed not an ID. Refer to pull request #29 for the fix.The text was updated successfully, but these errors were encountered: