WPML plugin break map showing pins when activated
This topic contains 13 replies, has 4 voices, and was last updated by paattal 5 years, 11 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: AH01071 error, buddyboss, icheckbox, WPML
-
AuthorPosts
-
October 29, 2019 at 3:36 pm #515246
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
October 29, 2019 at 3:56 pm #515253This reply has been marked as private.October 29, 2019 at 4:16 pm #515262This reply has been marked as private.October 30, 2019 at 5:54 am #515307This reply has been marked as private.October 30, 2019 at 7:42 am #515311This reply has been marked as private.October 30, 2019 at 9:41 am #515321This reply has been marked as private.October 30, 2019 at 9:47 am #515323This reply has been marked as private.October 30, 2019 at 5:03 pm #515386Hi paattal,
I have noticed the issue. i will need to check database.
can you please send cpanel details.Thanks
October 30, 2019 at 5:28 pm #515402This reply has been marked as private.October 30, 2019 at 5:53 pm #515407Thanks, I noticed the issue with category filter.
I will get back to you with update.November 5, 2019 at 10:12 am #515975This reply has been marked as private.November 5, 2019 at 5:33 pm #516038Ok 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…
November 7, 2019 at 7:37 am #516250Hi 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,
KiranNovember 13, 2019 at 3:17 pm #516975Hi Kiran,
It’s Ok now thank you.
Regards
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket