WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager and WPML Compatibility
Database error - EM_WPML::get_translation_source() (3 posts)

  1. majo.kmet
    Member
    Posted 1 year ago #

    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/

  2. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    maybe the latest version fixes this (update both WPML and this compat plugin)?

  3. majo.kmet
    Member
    Posted 1 year ago #

    It seems that problem is solved after update. thank you!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic