This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | - | 9:00 – 18:00 | 9:00 – 18:00 | 9:00 – 18:00 | 9:00 – 18:00 | 9:00 – 18:00 |
- | - | - | - | - | - | - |
Supporter timezone: America/Lima (GMT-05:00)
Tagged: Compatibility
This topic contains 0 replies, has 1 voice.
Last updated by Andreas W. 6 minutes ago.
Assisted by: Andreas W..
Author | Posts |
---|---|
December 20, 2024 at 10:57 am #16533425 | |
viktorH-11 |
Background of the issue: Hello, we have a template and a few plugins for the latest WordPress . We installed WPML to translate the site into three languages. We have one plugin for bus tickets, and we know that it is not compatible with WPML. We translated everything , and most things are working, but in the end , we see that in the different languages , it creates different IDs for the buses . Example: When someone buys a ticket from English or Bulgarian on the same day, seat and bus the order is different because they are created in the database with ID =254 and ID =2943 and for woocomerce and database the Buses are different. What we did : Can you provide us with support and litle help ? Symptoms: Questions: |
December 20, 2024 at 1:48 pm #16534484 | |
Bruno Kos Supporter
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+01:00) |
Please use the sandbox provided at the following link: hidden link. 1. Create one bus line without translating it. Once these steps are complete, our compatibility team will review the setup to determine possible solutions. In the meantime, please ask their developers to join our platform at https://wpml.org/contractors/. While we cannot force anyone to join, we can recommend it as a potential course of action. |
December 28, 2024 at 9:01 pm #16550543 | |
viktorH-11 |
Hello, Just in English: 1. We add two bus lines. From "Varna to Athens" and from "Athens to Varna" in different days, 2. We cant understand this. 3. We cread one Main Menu with two pages : Buy Ticket - there is the main shrotcode [wbtm-bus-search] and one home page Home, that there is shortcode for just the search form with shorcode [wbtm-bus-search-form] and create the settings in the Bus plugin- Bus - Settings. 4. We write to the developers of Bus Ticket and on monday we will write them again. * We try to upload the bus ticket pro, to open two features for PDF ticket and forms form names under bus seats for the passandjers, but the site have some security. (it doesn't matter) |
December 31, 2024 at 4:28 pm #16556162 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello, I can confirm that we get fatal errors on the "Buy Tickets" page which might be conflict cuased by the shortcodes in different languages. I will be investigating this further today. Further, take kindly note of this configuration suggestion: It would be recommended to translate the bus routes and before doing thyis to make sure that all custom fields for the bus routes are set properly. On WPML > Settings > Custom Field Translation you will need to set each field accordingly to "Copy" or "Translate". This means, settings should be set to "Copy" and text fields should be set to "Translate". Now, when translating the bus routes you should be able to translate their text while settings will be copied over to the translate bus route when translating it with the WPMNL Translation Editor. Then, on WPML > Settings > Post Type Translation set "Bus (wbtm_bus)" to "Translatable And on WPML > Settings > Taxonomies Translation set the following taxonomies also to Translatable only show translated items": - Bus Type (wbtm_bus_cat) Now, go to Bus > All Buses and translate the Bus Routes with the WPML Translation Editor. Best regards |
December 31, 2024 at 7:12 pm #16556427 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Take kindly note that I need more time to investigate this issue and I hope for your understanding. |
December 31, 2024 at 9:04 pm #16556465 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
On my test site I was not able to navigate between languages on backend and frontend due to a fatal error. This fatal error disappears once you comment out self::on_activation_page_create(); from wp-content/plugins/bus-ticket-booking-with-seat-reservation/woocommerce-bus.php on line 40. This means, you would change this line to: //self::on_activation_page_create(); This way this method will not longer run and no pages will be created when the plugin is getting activated. Somehow this solves the fatal errors when trying to navigate between languages on the site but I am not truley sure yet what is actually causing this issue. --- Now, the next issue I experience is that I am not able to set a return date when trying to search for bus routes on the translated search form. It looks like there might be too many issues to be solved from our end, but I am escalating to the compatilbity team for having a look into it. First, inside the main plugin file, the function on_activation_page_create() is causing that the site is throwing fatal errors when trying to switch to a second langauges. This function is responsible for creating the default pages when activating the plugin. Removing the function solves the issue but I ran into further errors when trying to set up translated bus route posts. I suggest that you reach out to the author of the plugin and invite him to join our GoGlobal-Program. This way our compatilbity team can support the author in making the plugin compatible with WPML. The author can sign up here: |
January 3, 2025 at 12:09 pm #16561291 | |
viktorH-11 |
Hello, we from today start to work. And we start to test your advice. On our site we dont have fatal errors. Do you want to open our site for you. We will write im again, but i think after the new no one will work. Maybe from 6-January all will start to work again. We will write again here, and we are online. With Respect |
January 3, 2025 at 12:11 pm #16561293 | |
viktorH-11 |
Hello, we from today start to work. And we start to test your advice. On our site we dont have fatal errors. Do you want to open our site for you. We will write im again, but i think after the new no one will work. Maybe from 6-January all will start to work again. We will write again here, and we are online. With Respect Can you give us acces again to you demo site. |
January 3, 2025 at 12:14 pm #16561302 | |
viktorH-11 |
You must disable and enable againt the plugin of the bus ticket. We have just error like this, thu disable and enable plugin it will fix it. THe true problem is that create different lines on the diferent languages. |
January 3, 2025 at 3:25 pm #16561803 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hi, I would like to request temporary access (wp-admin and FTP) to the site to investigate the issue further. The required fields are below the comment section when you log in to leave the next reply. The information you provide is private, meaning only you and I can see and access it. IMPORTANT If you can't see the "wp-admin / FTP" fields, your post and site login details will be set to "PUBLIC". DO NOT publish the data unless you see the required wp-admin / FTP fields. I may need to install a plugin called "All In One WP Migration" here to create a copy of the site that I can use to investigate the issue further. However, I would also be very grateful if you could provide a staging site or copy of the website from your server for this purpose. If you have any questions about creating such a staging site, you can consult your hosting provider. Please note that WPML must also be registered on this staging site at https://wpml.org/de/account/websites/. If you are not able to provide such a copy of the website for testing, please let me know on this ticket. The private reply form looks like this: The next time you reply, click on "I still need assistance". Video: Please note that we are obliged to request this information individually on each ticket. We are not allowed to access any credentials that were not specifically submitted on this ticket in the private response form. Best regards |