WordPress.org

Support

Support » Plugins and Hacks » Events Manager and WPML Compatibility » Database error – EM_WPML::get_translation_source()

Database error – EM_WPML::get_translation_source()

  • Hello,

    I’ve found lots of EM_WPML errors in my error.log. Everything seems to be working fine, but there’s some problem with EM_WPML::get_translation_source(). I’ve tried to use standard WordPress template, but it didn’t help.

    [Tue Feb 05 14:51:43 2013] [error] [client 66.249.78.21] 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 language_code='en'' at line 1 for query SELECT element_id FROM wp_icl_translations WHERE trid= AND language_code='en' made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/newsroom14/single.php'), get_footer, locate_template, load_template, require_once('/themes/newsroom14/footer.php'), wp_nav_menu, walk_nav_menu_tree, call_user_func_array, Walker->walk, Walker->display_element, call_user_func_array, Walker_Nav_Menu->start_el, apply_filters('the_title'), call_user_func_array, em_wp_the_title, get_option, apply_filters('option_dbem_edit_bookings_page'), call_user_func_array, EM_WPML::get_translated_page, EM_WPML::get_translation_source
    
    [Tue Feb 05 15:11:38 2013] [error] [client 88.212.34.143] 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 language_code='en'' at line 1 for query SELECT element_id FROM wp_icl_translations WHERE trid= AND language_code='en' made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/newsroom14/archive.php'), get_template_part, locate_template, load_template, require('/themes/newsroom14/_loop.php'), the_title, get_the_title, apply_filters('the_title'), call_user_func_array, em_wp_the_title, get_option, apply_filters('option_dbem_edit_locations_page'), call_user_func_array, EM_WPML::get_translated_page, EM_WPML::get_translation_source, referer: http://MYWEBPAGE/
    [Tue Feb 05 15:11:38 2013] [error] [client 88.212.34.143] 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 language_code='en'' at line 1 for query SELECT element_id FROM wp_icl_translations WHERE trid= AND language_code='en' made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/newsroom14/archive.php'), get_template_part, locate_template, load_template, require('/themes/newsroom14/_loop.php'), the_title, get_the_title, apply_filters('the_title'), call_user_func_array, em_wp_the_title, get_option, apply_filters('option_dbem_edit_bookings_page'), call_user_func_array, EM_WPML::get_translated_page, EM_WPML::get_translation_source, referer: http://MYWEBPAGE/
    [Tue Feb 05 15:11:38 2013] [error] [client 88.212.34.143] 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 language_code='en'' at line 1 for query SELECT element_id FROM wp_icl_translations WHERE trid= AND language_code='en' made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/newsroom14/archive.php'), get_template_part, locate_template, load_template, require('/themes/newsroom14/_loop.php'), the_title, get_the_title, apply_filters('the_title'), call_user_func_array, em_wp_the_title, get_option, apply_filters('option_dbem_edit_events_page'), call_user_func_array, EM_WPML::get_translated_page, EM_WPML::get_translation_source, referer: http://MYWEBPAGE/
    [Tue Feb 05 15:11:38 2013] [error] [client 88.212.34.143] 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 language_code='en'' at line 1 for query SELECT element_id FROM wp_icl_translations WHERE trid= AND language_code='en' made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/newsroom14/archive.php'), get_template_part, locate_template, load_template, require('/themes/newsroom14/_loop.php'), the_title, get_the_title, apply_filters('the_title'), call_user_func_array, em_wp_the_title, get_option, apply_filters('option_dbem_edit_locations_page'), call_user_func_array, EM_WPML::get_translated_page, EM_WPML::get_translation_source, referer: http://MYWEBPAGE/
    [Tue Feb 05 15:11:38 2013] [error] [client 88.212.34.143] 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 language_code='en'' at line 1 for query SELECT element_id FROM wp_icl_translations WHERE trid= AND language_code='en' made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/newsroom14/archive.php'), get_template_part, locate_template, load_template, require('/themes/newsroom14/_loop.php'), the_title, get_the_title, apply_filters('the_title'), call_user_func_array, em_wp_the_title, get_option, apply_filters('option_dbem_edit_bookings_page'), call_user_func_array, EM_WPML::get_translated_page, EM_WPML::get_translation_source, referer: http://MYWEBPAGE/
    [Tue Feb 05 15:11:38 2013] [error] [client 88.212.34.143] 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 language_code='en'' at line 1 for query SELECT element_id FROM wp_icl_translations WHERE trid= AND language_code='en' made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/newsroom14/archive.php'), get_template_part, locate_template, load_template, require('/themes/newsroom14/_loop.php'), the_title, get_the_title, apply_filters('the_title'), call_user_func_array, em_wp_the_title, get_option, apply_filters('option_dbem_edit_events_page'), call_user_func_array, EM_WPML::get_translated_page, EM_WPML::get_translation_source, referer: http://MYWEBPAGE/
    [Tue Feb 05 15:11:38 2013] [error] [client 88.212.34.143] 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 language_code='en'' at line 1 for query SELECT element_id FROM wp_icl_translations WHERE trid= AND language_code='en' made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/newsroom14/archive.php'), get_template_part, locate_template, load_template, require('/themes/newsroom14/_loop.php'), the_title, get_the_title, apply_filters('the_title'), call_user_func_array, em_wp_the_title, get_option, apply_filters('option_dbem_edit_locations_page'), call_user_func_array, EM_WPML::get_translated_page, EM_WPML::get_translation_source, referer: http://MYWEBPAGE/
    [Tue Feb 05 15:11:38 2013] [error] [client 88.212.34.143] 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 language_code='en'' at line 1 for query SELECT element_id FROM wp_icl_translations WHERE trid= AND language_code='en' made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/newsroom14/archive.php'), get_template_part, locate_template, load_template, require('/themes/newsroom14/_loop.php'), the_title, get_the_title, apply_filters('the_title'), call_user_func_array, em_wp_the_title, get_option, apply_filters('option_dbem_edit_bookings_page'), call_user_func_array, EM_WPML::get_translated_page, EM_WPML::get_translation_source, referer: http://MYWEBPAGE/
    [Tue Feb 05 15:11:38 2013] [error] [client 88.212.34.143] 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 language_code='en'' at line 1 for query SELECT element_id FROM wp_icl_translations WHERE trid= AND language_code='en' made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/newsroom14/archive.php'), get_template_part, locate_template, load_template, require('/themes/newsroom14/_loop.php'), the_title, get_the_title, apply_filters('the_title'), call_user_func_array, em_wp_the_title, get_option, apply_filters('option_dbem_edit_events_page'), call_user_func_array, EM_WPML::get_translated_page, EM_WPML::get_translation_source, referer: http://MYWEBPAGE/
    [Tue Feb 05 15:11:38 2013] [error] [client 88.212.34.143] 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 language_code='en'' at line 1 for query SELECT element_id FROM wp_icl_translations WHERE trid= AND language_code='en' made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/newsroom14/archive.php'), get_template_part, locate_template, load_template, require('/themes/newsroom14/_loop.php'), the_title, get_the_title, apply_filters('the_title'), call_user_func_array, em_wp_the_title, get_option, apply_filters('option_dbem_edit_locations_page'), call_user_func_array, EM_WPML::get_translated_page, EM_WPML::get_translation_source, referer: http://MYWEBPAGE/
    [Tue Feb 05 15:11:38 2013] [error] [client 88.212.34.143] 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 language_code='en'' at line 1 for query SELECT element_id FROM wp_icl_translations WHERE trid= AND language_code='en' made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/newsroom14/archive.php'), get_template_part, locate_template, load_template, require('/themes/newsroom14/_loop.php'), the_title, get_the_title, apply_filters('the_title'), call_user_func_array, em_wp_the_title, get_option, apply_filters('option_dbem_edit_bookings_page'), call_user_func_array, EM_WPML::get_translated_page, EM_WPML::get_translation_source, referer: http://MYWEBPAGE/
    [Tue Feb 05 15:11:38 2013] [error] [client 88.212.34.143] 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 language_code='en'' at line 1 for query SELECT element_id FROM wp_icl_translations WHERE trid= AND language_code='en' made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/newsroom14/archive.php'), get_template_part, locate_template, load_template, require('/themes/newsroom14/_loop.php'), the_title, get_the_title, apply_filters('the_title'), call_user_func_array, em_wp_the_title, get_option, apply_filters('option_dbem_edit_events_page'), call_user_func_array, EM_WPML::get_translated_page, EM_WPML::get_translation_source, referer: http://MYWEBPAGE/
    [Tue Feb 05 15:11:38 2013] [error] [client 88.212.34.143] 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 language_code='en'' at line 1 for query SELECT element_id FROM wp_icl_translations WHERE trid= AND language_code='en' made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/newsroom14/archive.php'), get_template_part, locate_template, load_template, require('/themes/newsroom14/_loop.php'), the_title, get_the_title, apply_filters('the_title'), call_user_func_array, em_wp_the_title, get_option, apply_filters('option_dbem_edit_locations_page'), call_user_func_array, EM_WPML::get_translated_page, EM_WPML::get_translation_source, referer: http://MYWEBPAGE/
    [Tue Feb 05 15:11:38 2013] [error] [client 88.212.34.143] 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 language_code='en'' at line 1 for query SELECT element_id FROM wp_icl_translations WHERE trid= AND language_code='en' made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/newsroom14/archive.php'), get_template_part, locate_template, load_template, require('/themes/newsroom14/_loop.php'), the_title, get_the_title, apply_filters('the_title'), call_user_func_array, em_wp_the_title, get_option, apply_filters('option_dbem_edit_bookings_page'), call_user_func_array, EM_WPML::get_translated_page, EM_WPML::get_translation_source, referer: http://MYWEBPAGE/
    [Tue Feb 05 15:11:38 2013] [error] [client 88.212.34.143] 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 language_code='en'' at line 1 for query SELECT element_id FROM wp_icl_translations WHERE trid= AND language_code='en' made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/newsroom14/archive.php'), get_template_part, locate_template, load_template, require('/themes/newsroom14/_loop.php'), the_title, get_the_title, apply_filters('the_title'), call_user_func_array, em_wp_the_title, get_option, apply_filters('option_dbem_edit_events_page'), call_user_func_array, EM_WPML::get_translated_page, EM_WPML::get_translation_source, referer: http://MYWEBPAGE/
    [Tue Feb 05 15:11:38 2013] [error] [client 88.212.34.143] 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 language_code='en'' at line 1 for query SELECT element_id FROM wp_icl_translations WHERE trid= AND language_code='en' made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/newsroom14/archive.php'), get_template_part, locate_template, load_template, require('/themes/newsroom14/_loop.php'), the_title, get_the_title, apply_filters('the_title'), call_user_func_array, em_wp_the_title, get_option, apply_filters('option_dbem_edit_locations_page'), call_user_func_array, EM_WPML::get_translated_page, EM_WPML::get_translation_source, referer: http://MYWEBPAGE/
    [Tue Feb 05 15:11:38 2013] [error] [client 88.212.34.143] 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 language_code='en'' at line 1 for query SELECT element_id FROM wp_icl_translations WHERE trid= AND language_code='en' made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/newsroom14/archive.php'), get_template_part, locate_template, load_template, require('/themes/newsroom14/_loop.php'), the_title, get_the_title, apply_filters('the_title'), call_user_func_array, em_wp_the_title, get_option, apply_filters('option_dbem_edit_bookings_page'), call_user_func_array, EM_WPML::get_translated_page, EM_WPML::get_translation_source, referer: http://MYWEBPAGE/

    WordPress 3.5.1
    Event Manager 5.3.5
    WPML Multilingual CMS 2.6.3

    http://wordpress.org/extend/plugins/events-manager-wpml/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Database error – EM_WPML::get_translation_source()’ is closed to new replies.
Skip to toolbar