This thread is resolved. Here is a description of the problem and solution.
Problem:
If you're experiencing issues with the Ninja Forms Multilingual plugin where the PDF Form Submission extension fails to export PDFs when a form includes a checkboxlist field, this might be due to a compatibility problem between these plugins.
Solution:
We have escalated this issue to our development team and have published a workaround on our errata page. We recommend you visit https://wpml.org/errata/ninja-forms-pdf-form-submissions-pdf-export-errors-with-checkboxes-field/ and apply the suggested steps.
Additionally, subscribing to the comments on this errata page will keep you updated on when a permanent fix is rolled out.
Please note that this solution might be irrelevant if it's outdated or not applicable to your specific case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket at WPML support forum for further assistance.
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, Known issue
This topic contains 11 replies, has 2 voices.
Last updated by Waqas Bin Hasan 1 year, 8 months ago.
Assisted by: Waqas Bin Hasan.
| Author | Posts |
|---|---|
| August 5, 2024 at 9:45 am #16038602 | |
|
kizilay-akademiB |
Background of the issue: Symptoms: Questions: |
| August 5, 2024 at 12:15 pm #16039891 | |
|
Waqas Bin Hasan WPML Supporter since 05/2014
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Hi, Thank you for contacting the support. I understand that deactivating Ninja Forms Multilingual plugin fixes the problem. However, can you please check by the following steps? 1) Take a full backup of your site and database before proceeding. Please let me know and I'll try my best to help you further on the matter. Regards. |
| August 6, 2024 at 2:25 pm #16044426 | |
|
kizilay-akademiB |
Hi, If the form created with Ninja Forms contains a checkboxlist and one or both of the WPML String Translation or Ninja Forms Multilingual plugin are active, the "Ninja Forms - PDF Form Submissions" plugin does not export PDFs of form submissions. But it works if the form does not contain checkboxlist or Ninja Forms Multilingual and WPML String Translation are deactive. I think there is a conflict with Ninja Forms Multilingual and WPML String Translation with Ninja Forms - PDF Form Submissions. |
| August 7, 2024 at 7:34 am #16046422 | |
|
Waqas Bin Hasan WPML Supporter since 05/2014
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Thank you for taking time to test this and providing the feedback. I need to take a closer look at your site. So I request temporary access (WP-Admin and FTP), preferably to a test site where the problem has been replicated. Your next answer will be private, to share this information safely. Also provide detailed steps to reproduce the issue and links to pages in admin and on frontend. IMPORTANT: Please take a complete backup of the site to avoid data loss. I may need to activate/deactivate plugins also. See https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/ for details on privacy and security. |
| August 7, 2024 at 11:33 am #16047664 | |
|
kizilay-akademiB |
Unfortunately, we are unable to provide you with temporary access to our website. But I have prepared a video recording that shows how the problem occurs. First, I made a clean WordPress installation. With the default 2004 theme, I used only Ninja Forms, Ninja Forms - PDF Form Submissions, Ninja Forms Multilingual, WPML Multilingual CMS and WPML String Translation plugins and I tested and recorded all the stages that show the problem one by one. In the same way, you can test it as in the video by installing WordPress and the plugins I mentioned. You can access the video from the link below: |
| August 7, 2024 at 1:33 pm #16048341 | |
|
Waqas Bin Hasan WPML Supporter since 05/2014
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Thank you for the video, I can see the steps you performed and can see the issue indeed. Almost at end of the video when the issue happens, this is showing a 500 Internal Server Error. This means there's something crashing the process. Can you enable debugging in your site? See https://wpml.org/documentation/support/debugging-wpml/ for details. Then reproduce the error so it is logged in the debug.log. And then please take the error detail from the log and share with me. If you don't find the error in debug.log, you should look into PHP and/or Server error logs. Alternatively you can also try this plugin https://wordpress.org/plugins/debug-log-manager/ and activate it. This logs real time errors. You can then find it in WordPress -> Tools menu and can get the error details. |
| August 8, 2024 at 2:33 pm #16053435 | |
|
kizilay-akademiB |
There is no error log about this in the debug.log file. Also I looked server and php errors. Only 500 error appears on the server side but no other information (2024-08-08 16:59:08 Error 500 POST /test/tr/wp-json/ninja-forms-submissions/submissions/handle-extra?_locale=user HTTP/1.0). I copied the 500 error that appears in the video from the browser console and pasted it below. If you try it yourself by making a simple installation as I did in the video, you can see the problem. api-fetch.min.js?ver=4c185334c5ec26e149cc:2 POST /test/wp-json/ninja-forms-submissions/submissions/handle-extra?_locale=user 500 (Internal Server Error) |
| August 9, 2024 at 6:15 am #16054909 | |
|
Waqas Bin Hasan WPML Supporter since 05/2014
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Thank you for the updates and the error log. I'll check about it soon and 'll get back to you accordingly. |
| August 9, 2024 at 12:43 pm #16056498 | |
|
Waqas Bin Hasan WPML Supporter since 05/2014
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Thank you for your patience and cooperation. I am still working on this and need some more time to investigate and find a fix. I'll be able to get back to you on Monday. |
| August 9, 2024 at 2:01 pm #16056802 | |
|
kizilay-akademiB |
Thank you for your interest. I hope you can easily solve the problem. I wish you good work. |
| August 12, 2024 at 6:35 am #16060600 | |
|
Waqas Bin Hasan WPML Supporter since 05/2014
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Thank you for your patience and cooperation. I was able to reproduce the problem in a fresh installation and have escalated the issue to our 2nd tier team for further investigation. I'll update you as soon as I hear back. |
| August 13, 2024 at 12:48 pm #16066486 | |
|
Waqas Bin Hasan WPML Supporter since 05/2014
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Thank you for your patience and cooperation. Our team has escalated the issue to our dev team, while have published this errata https://wpml.org/errata/ninja-forms-pdf-form-submissions-pdf-export-errors-with-checkboxes-field/ with a workaround. Please check and apply accordingly. I'll also recommend subscribing to the comments of the said errata, so you'll know when the fix is rolled out. |
| August 14, 2024 at 12:02 pm #16070293 | |
|
kizilay-akademiB |
This solution worked for me. Thanks |