WordPress database error Unknown column

[ad_1]

Redirection Version 5.3.2
WordPress Current version: 6.0.1

Getting error in error log when Redirection tries to post to log. Full error log content below.

Screenshot of database table in question here:

As can be seen the Insert command is trying to insert into fields that do not exist in the table. In fact the fields this is trying to insdert are contained in the 404 logs table.

How can this be fixed?

[25-Aug-2022 00:35:05 UTC] WordPress database error Unknown column 'domain' in 'field list' for query INSERT INTOwpto_redirection_logs(url,domain,ip,created,agent,request_method,http_code,redirection_id,sent_to,redirect_by) VALUES ('/category/site-content-sp-109/', 'https://whatsonpenang.com', '', '2022-08-25 00:35:05', 'Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.79 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)', 'GET', '301', '46', 'https://whatsonpenang.com/', 'redirection') made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, WordPress_Module->init, Red_Item->get_match, do_action('redirection_visit'), WP_Hook->do_action, WP_Hook->apply_filters, WordPress_Module->redirection_visit, Red_Item->visit, Red_Redirect_Log::create, QM_DB->query

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer