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.
Tagged: Bug
This topic contains 14 replies, has 2 voices.
Last updated by magdalenaG-6 2 years, 8 months ago.
Assisted by: Mateus Getulio.
Author | Posts |
---|---|
September 2, 2022 at 11:22 am #11977535 | |
magdalenaG-6 |
We have updated our WPML plugin and now I am trying to translate a page on my website. Instead, I got this message: |
September 2, 2022 at 8:11 pm #11979615 | |
Mateus Getulio Supporter
Languages: English (English ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
Hey there, Thank you for contacting our support forum! As a quick test, could you please try to manually remove the WPML plugins and reinstall them? If still not solved after this procedure, we might be facing an interaction issue with a third-party functionality, in this case: - Deactivate all the plugins that are not related to WPML Could you tell me the results of this investigation? Also, can you enable the debug mode? Please add the following code in your wp-config.php file: // Enable WP_DEBUG mode define( 'WP_DEBUG', true ); // Enable Debug logging to the /wp-content/debug.log file define( 'WP_DEBUG_LOG', true ); // Disable display of errors and warnings define( 'WP_DEBUG_DISPLAY', false ); @ini_set( 'display_errors', 0 ); // Use dev versions of core JS and CSS files (only needed if you are modifying these core files) define( 'SCRIPT_DEBUG', true ); Please check the following links to read more about debugging with WordPress. After adding the code above, try to reproduce the issue again and check if you'll find a debug.log file inside the wp-content folder. If you locate it there, please send us the last lines here in the ticket. Looking forward to your reply. Thanks! Regards, |
September 5, 2022 at 7:39 am #11986961 | |
magdalenaG-6 |
Hi, [05-Sep-2022 07:31:21 UTC] PHP Fatal error: Uncaught TypeError: Argument 1 passed to WPML_Language_Pair_Records::convert_from_storage_format() must be of the type array, string given, called in /var/www/imds-test/wp-content/plugins/sitepress-multilingual-cms/classes/language/class-wpml-language-pair-records.php on line 52 and defined in /var/www/imds-test/wp-content/plugins/sitepress-multilingual-cms/classes/language/class-wpml-language-pair-records.php:81 |
September 5, 2022 at 8:00 am #11987199 | |
magdalenaG-6 |
Another problem we are facing is the following (I don't know if this has something to do with the translation problem): We use WooCommerce for our bookinh process. On the German website everything works fine. The user can register and book an event, he can go to the cart and complete the booking. I have tried to log in on the English and the French test page (that worked) and to register to an event (that did not work. The system does say that the booking has been added to the shopping cart. |
September 5, 2022 at 6:28 pm #11991845 | |
Mateus Getulio Supporter
Languages: English (English ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
Hello, I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it. Our Debugging Procedures I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site. Privacy and Security Policy We have strict policies regarding privacy and access to your information. Please see: **IMPORTANT** - Please make a backup of site files and database before providing us access. Please, let me know if you need any additional details. Have a nice day. |
September 9, 2022 at 8:35 pm #12024921 | |
Mateus Getulio Supporter
Languages: English (English ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
Hi there, Thank you for providing the website credentials. Unfortunately, while we were trying to apply a possible solution, I got disconnected from the dashboard and it seems that now the credentials do not work anymore: hidden link Could you please review it? I'm marking your next reply as private, if you want to provide a new login. Thanks! |
September 12, 2022 at 2:25 pm #12035031 | |
Mateus Getulio Supporter
Languages: English (English ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
Hello, Thank you for fixing this. Sorry about this back and forth, but again we suddenly got disconnected. Could you please check it once more? If it is possible, kindly provide us with a Duplicator package, so that we can migrate the website to a copy version hosted on our servers, and therefore, have more control about the disconnection issue. Looking forward to your reply. Thanks! |
September 13, 2022 at 1:16 pm #12043483 | |
magdalenaG-6 |
I offer my deepest apologies. I just checked, and, indeed, the account I created earlier no longer exists. As soon as we resolve this issue, we will contact you again. |
September 15, 2022 at 5:42 am #12056167 | |
magdalenaG-6 |
Hello, I think we have solved the account problem. You can login with the credentials mentioned in the previous posts. Best regards & thank you. |
September 15, 2022 at 7:43 pm #12063381 | |
Mateus Getulio Supporter
Languages: English (English ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
Hello, Thanks for your efforts in solving the disconnection issue. I have double-checked the problem, but so far I haven't been able to find a fix. I asked my colleagues to take a look to see if there's anything I'm missing. I'll come back here as soon as one of them answers me (which shouldn't take long). Thanks in advance for your patience! Regards, |
September 16, 2022 at 7:22 pm #12069451 | |
Mateus Getulio Supporter
Languages: English (English ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
Hi, I have escalated this ticket to our 2nd tier of support where our 2nd tier specialists will take a deeper look at this issue and will try to find a solution. I will get back to you as soon as I get an answer from them. Best regards, |
September 19, 2022 at 9:08 pm #12081765 | |
Mateus Getulio Supporter
Languages: English (English ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
Hi there, Thanks for your patience. Upon further inspection, we could check that the problem is due to the wrong value assigned for the usermeta key "wp_language_pairs". In example for user ID 3: s:73:"a:1:{s:2:"de";a:4:{s:2:"en";i:1;s:2:"fr";i:1;s:2:"it";i:1;s:2:"es";i:1;}}"; while it should be: a:1:{s:2:"de";a:4:{s:2:"en";i:1;s:2:"fr";i:1;s:2:"it";i:1;s:2:"es";i:1;}} Only this user is affected. In this case, could you please: - Get access to your database It should be solved after this. Please give it a try and let us know how it goes. Thanks! |
September 21, 2022 at 10:11 pm #12098841 | |
magdalenaG-6 |
Hello, A small question: what could lead to such data corruption in the database? And how could we avoid this in the future? And thanks again! |
September 22, 2022 at 9:42 pm #12106995 | |
Mateus Getulio Supporter
Languages: English (English ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
Hi there, Glad that we were able to resolve this. It is hard to say what caused this problem, but most probably it could be related to the same issue that we were facing about the disconnection. As I mentioned above, we were trying to apply a fix in the Users section and twice we got logged out after this attempt. Therefore, my best guess is that a third-party conflict caused this corruption in the users table. Regardless, because you confirmed the suggested fix worked well for you, I hope we are good to close here. Feel free to contact us any time if you need assistance with our products. Thanks! Kind regards, |