• Resolved kmm290859

    (@kmm290859)


    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: https://www.screencast.com/t/Yn74PlRSh

    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; +https://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

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘WordPress database error Unknown column’ is closed to new replies.