• I am using the geoplaces theme by templatic. I am not able to add items to the mega menu. Error log shows :
    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_posts WHERE id = made by do_action_ref_array, call_user_func_array, check_and_publish_future_post, wp_publish_post, wp_transition_post_status, do_action, call_user_func_array, apt_check_required_transition, apt_publish_post

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter jasniya

    (@jasniya)

    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_posts WHERE id = made by wp_update_nav_menu_item, wp_update_post, wp_insert_post, wp_transition_post_status, do_action(‘transition_post_status’), call_user_func_array, apt_check_required_transition, apt_publish_post

    Have you tried:

    – deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the Twenty Eleven theme to rule out any theme-specific problems.

    resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    Thread Starter jasniya

    (@jasniya)

    I deactivated the plugins , now Im getting a new error: [03-Jul-2012 12:41:57 UTC] PHP Warning: Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0

    Try asking your hosts for assistance with this.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘WordPress database error – error in SQL syntax;’ is closed to new replies.