WPML plugin break map showing pins when activated

This topic contains 13 replies, has 4 voices, and was last updated by  paattal 5 years ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #515246

    paattal
    Expired Member
    Post count: 9

    Hi,

    When I activate WPML plugin, map stay in search andd I have this PHP log error :

    [Tue Oct 29 16:18:56.026831 2019] [proxy_fcgi:error] [pid 10260:tid 139779693827840] [client 90.91.150.108:60968] AH01071: Got error ‘PHP message: Erreur de la base de donn\xc3\xa9es WordPress Unknown column ‘wp_posts.ID’ in ‘on clause’ pour la requ\xc3\xaate SELECT count( p.ID ) FROM wp_posts AS p INNER JOIN wp_geodir_gd_place_detail AS l ON l.post_id = p.ID JOIN wp_icl_translations AS icl_t ON icl_t.element_id = wp_posts.ID WHERE p.ID IN (‘-1′) AND p.post_type=’gd_place’ AND ( p.post_status = ‘publish’ OR p.post_status = ‘private’ OR p.post_status = ‘draft’ OR p.post_status = ‘private’) AND icl_t.language_code = ‘fr’ AND icl_t.element_type = ‘post_gd_place’ faite par require_once(‘wp-admin/admin.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, bp_init, do_action(‘bp_init’), WP_Hook->do_action, WP_Hook->apply_filters, bp_setup_nav, do_action(‘bp_setup_nav’), WP_Hook->do_action, WP_Hook->apply_filters, GeoDir_BuddyPress_Public->geodir_buddypress_setup_nav, geodir_buddypress_count_favorite’, referer: https://spotncharge.com/wp-admin/plugins.php?plugin_status=all&paged=1&s

    Works fine if not activate but I need to translate custom fields. It’s strange because wp_posts.ID exist.

    I don’t use PLACE CPT but an another, can I translate it ?

    Thanks

    #515253

    Kor
    Moderator
    Post count: 16516
    This reply has been marked as private.
    #515262

    paattal
    Expired Member
    Post count: 9
    This reply has been marked as private.
    #515307

    Kor
    Moderator
    Post count: 16516
    This reply has been marked as private.
    #515311

    paattal
    Expired Member
    Post count: 9
    This reply has been marked as private.
    #515321

    Kor
    Moderator
    Post count: 16516
    This reply has been marked as private.
    #515323

    paattal
    Expired Member
    Post count: 9
    This reply has been marked as private.
    #515386

    Naveen Giri
    Moderator
    Post count: 1559

    Hi paattal,

    I have noticed the issue. i will need to check database.
    can you please send cpanel details.

    Thanks

    #515402

    paattal
    Expired Member
    Post count: 9
    This reply has been marked as private.
    #515407

    Naveen Giri
    Moderator
    Post count: 1559

    Thanks, I noticed the issue with category filter.
    I will get back to you with update.

    #515975

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    #516038

    paattal
    Expired Member
    Post count: 9

    Ok your information gave me the solution and i solved issue with WPML team :
    https://spotncharge.com/fr/wp-json/ is now working and map is displayed properly when GeoDirectory Multilingual is activated.

    But category filter is always not working : test by uncheck category on map, you have always all pins displayed…

    #516250

    Kiran
    Moderator
    Post count: 7069

    Hi paattal,

    BuddyBoss theme iCheckbox is causing problem in tick/untick categories on map.

    I have added following PHP snippet under snippets to fix this problem.

    
    
    /**
     * FIX: BuddyBoss iCheckbox causes issue with tick/untick category checkbox on map.
     */
    function gd_snippet_191107_map_custom_content( $map_options ) {
    	if ( ! empty( $map_options['cat_filter'] ) ) {
    		echo '<div id="mepr-payment-methods-wrapper" style="display:none!important"> </div>';
    	}
    }
    add_filter( 'geodir_map_custom_content', 'gd_snippet_191107_map_custom_content', 10, 1 );

    Please check and let us know.

    Regards,
    Kiran

    #516975

    paattal
    Expired Member
    Post count: 9

    Hi Kiran,

    It’s Ok now thank you.

    Regards

Viewing 14 posts - 1 through 14 (of 14 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount