• adding redirections creates sql errors like this:

    WordPress database error Incorrect datetime value: '0' for column 'last_access' at row 1 for query INSERT INTO <code>wp_redirection_items</code> (<code>url</code>,<code>action_type</code>,<code>regex</code>,<code>position</code>,<code>match_type</code>,<code>action_data</code>,<code>action_code</code>,<code>last_access</code>,<code>group_id</code>) VALUES ('sitename.com/register','url','1','0','url','http://sitename.com/registration/','301','0','1') made by do_action, call_user_func_array, RedirectionAjax->red_redirect_add, Red_Item->create
    WordPress database error Incorrect integer value: '' for column 'regex' at row 1 for query INSERT INTO <code>wp_redirection_items</code> (<code>url</code>,<code>action_type</code>,<code>regex</code>,<code>position</code>,<code>match_type</code>,<code>action_data</code>,<code>action_code</code>,<code>last_access</code>,<code>group_id</code>) VALUES ('/sitename.com/register','url','','0','url','http://sitename.com/registration/','301','0','1') made by do_action, call_user_func_array, RedirectionAjax->red_redirect_add, Red_Item->create

    I’m trying this on 3.0.3 and tried disabling all plugins.

  • The topic ‘can't add redirections’ is closed to new replies.