WordPress.org

Forums

Odd datebase error keeps links from being added (3 posts)

  1. billdennis5
    Member
    Posted 9 years ago #

    Does anyone have advice for these two error messages when we try to add a link?

    "WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 2]
    INSERT INTO wp_1_link2cat (link_id, category_id) VALUES (4, )"

    and

    "Warning: Cannot modify header information - headers already sent by (output started at /home/jean6289/public_html/wp-inst/wp-includes/wp-db.php:108) in /home/jean6289/public_html/wp-inst/wp-admin/link.php on line 79"

  2. Austin Matzko
    Member
    Posted 9 years ago #

    Here's my guess for what's happening: recently, you installed a plugin by copying its text and pasting it into a text file. However, there is space either before the first <?php or after the last ?>. Remove that space, and the problem should go away.

  3. Mark (podz)
    Support Maven
    Posted 9 years ago #

    /wp-inst/

    That's MU code - their forums will help.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags