• I was messing around with the code in the functions.php and when I did I got this:

    [17-Jan-2012 00:38:47] 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 ‘)
    AND meta_key = ‘_simple_seo_custom_menu_label_value” at line 6 for query
    SELECT
    post_id,
    meta_value
    FROM wp_postmeta
    WHERE
    post_id IN ()
    AND meta_key = ‘_simple_seo_custom_menu_label_value’
    made by require, require_once, include, get_header, locate_template, load_template, require_once, pixopoint_menu, pages, wp_list_pages, get_pages, apply_filters, call_user_func_array, simple_seo_get_pages
    [17-Jan-2012 00:39:02] 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 ‘)
    AND meta_key = ‘_simple_seo_custom_menu_label_value” at line 6 for query
    SELECT
    post_id,
    meta_value
    FROM wp_postmeta
    WHERE
    post_id IN ()
    AND meta_key = ‘_simple_seo_custom_menu_label_value’
    made by require, require_once, include, get_header, locate_template, load_template, require_once, pixopoint_menu, pages, wp_list_pages, get_pages, apply_filters, call_user_func_array, simple_seo_get_pages
    [17-Jan-2012 04:33:45] PHP Warning: session_start() [function.session-start]: Cannot send session cookie – headers already sent by (output started at /home/gamingfo/public_html/wordpress/wp-content/themes/NewGames/functions.php:336) in /home/gamingfo/public_html/wordpress/wp-content/plugins/si-contact-form/si-contact-form.php on line 1795
    [17-Jan-2012 04:33:45] PHP Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/gamingfo/public_html/wordpress/wp-content/themes/NewGames/functions.php:336) in /home/gamingfo/public_html/wordpress/wp-content/plugins/si-contact-form/si-contact-form.php on line 1795
    [17-Jan-2012 04:33:45] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/gamingfo/public_html/wordpress/wp-content/themes/NewGames/functions.php:336) in /home/gamingfo/public_html/wordpress/wp-content/plugins/wordpress-mobile-pack/plugins/wpmp_switcher/wpmp_switcher.php on line 506
    [17-Jan-2012 04:33:49] PHP Warning: session_start() [function.session-start]: Cannot send session cookie – headers already sent by (output started at /home/gamingfo/public_html/wordpress/wp-content/themes/NewGames/functions.php:336) in /home/gamingfo/public_html/wordpress/wp-content/plugins/si-contact-form/si-contact-form.php on line 1795
    [17-Jan-2012 04:33:49] PHP Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/gamingfo/public_html/wordpress/wp-content/themes/NewGames/functions.php:336) in /home/gamingfo/public_html/wordpress/wp-content/plugins/si-contact-form/si-contact-form.php on line 1795
    [17-Jan-2012 04:33:49] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/gamingfo/public_html/wordpress/wp-content/themes/NewGames/functions.php:336) in /home/gamingfo/public_html/wordpress/wp-content/plugins/wordpress-mobile-pack/plugins/wpmp_switcher/wpmp_switcher.php on line 506
    [17-Jan-2012 04:34:02] PHP Warning: session_start() [function.session-start]: Cannot send session cookie – headers already sent by (output started at /home/gamingfo/public_html/wordpress/wp-content/themes/NewGames/functions.php:336) in /home/gamingfo/public_html/wordpress/wp-content/plugins/si-contact-form/si-contact-form.php on line 1795
    [17-Jan-2012 04:34:02] PHP Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/gamingfo/public_html/wordpress/wp-content/themes/NewGames/functions.php:336) in /home/gamingfo/public_html/wordpress/wp-content/plugins/si-contact-form/si-contact-form.php on line 1795
    [17-Jan-2012 04:34:02] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/gamingfo/public_html/wordpress/wp-content/themes/NewGames/functions.php:336) in /home/gamingfo/public_html/wordpress/wp-content/plugins/wordpress-mobile-pack/plugins/wpmp_switcher/wpmp_switcher.php on line 506

    any help with this?

Viewing 1 replies (of 1 total)
  • The PHP warnings are all triggered by the first error and will go when away when this one is fixed.

    Although I don’t know what you exactly did with functions.php, could it be that the WHERE post_id IN () in the MySQL query shouldn’t be empty?

Viewing 1 replies (of 1 total)
  • The topic ‘I screwed something up’ is closed to new replies.