johngodley / redirection

Manage all your WordPress 301 redirects and monitor 404 errors
https://redirection.me
GNU General Public License v3.0
559 stars 139 forks source link

Redirection Error - 'match_url' in 'field list' #1856

Closed animbix closed 5 years ago

animbix commented 5 years ago
Plugin: 4.3.1
WordPress: 5.1.1 (single)
PHP: 7.2.18-1+ubuntu18.04.1+deb.sury.org+1
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36
JavaScript: https://www.nimbix.net/wp-content/plugins/redirection/redirection.js
REST API: https://www.nimbix.net/wp-json/

Error: Unable to add new redirect (58): Unknown column 'match_url' in 'field list'
Raw: {"code":"redirect","message":"Unable to add new redirect","data":{"status":400,"error_code":58,"wpdb":"Unknown column 'match_url' in 'field list'"}}
animbix commented 5 years ago

Solved - Assuming it was a database issue, I fixed the problem by changing the database version to 2.4, then upgrading it again to 4.1, in the support page of the plugin.