johngodley / redirection

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

Redirection Error #3796

Open trrill opened 5 months ago

trrill commented 5 months ago
Plugin: 5.4.1 4.2
WordPress: 6.3.2 (multi)
PHP: 8.0.30
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
JavaScript: https://breakingdefense.sites.breakingmedia.com/wp-content/plugins/redirection/redirection.js?ver=5.4.1-4921947a93e8d2bdecfa002a29093c22
REST API: https://breakingdefense.sites.breakingmedia.com/wp-json/
Query: ?page=redirection.php

Error: Unable to add new redirect (redirect_create_failed)
Raw: {"code":"redirect_create_failed","message":"Unable to add new redirect","data":{"status":400,"error_code":297,"wpdb":"Field 'last_access' doesn't have a default value"}}
johngodley commented 1 month ago

Is this happening for every redirect? Do you have access to your database? If so could you paste here the wp_redirection_items table schema? It looks like somehow it isn't setup correctly.

trrill commented 1 month ago
Screenshot 2024-06-15 at 11 00 21 AM