• Hi,

    this site was working fine a few days ago but is now giving this error when trying to view anything else than the home page.

    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 1 for query SELECT * FROM wp_pageblocks_pages_config WHERE page_id = made by require, require_once, include, the_post, WP_Query->the_post, do_action_ref_array, call_user_func_array, PageBlocks->insert_page_blocks_top, PageBlocks->get_page_config 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 1 for query SELECT * FROM wp_pageblocks_pages_config WHERE page_id = made by require, require_once, include, have_posts, WP_Query->have_posts, do_action_ref_array, call_user_func_array, PageBlocks->insert_page_blocks_bottom, PageBlocks->get_page_config

    The site is here: http://www.ethansdream.com/

    Any ideas what could be wrong?
    I have tried to repair the database but phpmyadmin is unable to do this as it says that all the tables are: “The storage engine for the table doesn’t support repair”

    I also changed the name of the functions.php file to check if it was that, but I still get the same error.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WordPress database error You have an error in your SQL syntax’ is closed to new replies.