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: Exception
This topic contains 13 replies, has 3 voices.
Last updated by marwanH 1 year, 9 months ago.
Assisted by: Subash Chandra Poudel.
Author | Posts |
---|---|
September 14, 2023 at 7:58 am #14394385 | |
marwanH |
I am trying to: edit my page and it keeps giving me the same error. Link to a page where the issue can be seen: I expected to see: hidden link Instead, I got: critical error |
September 14, 2023 at 9:32 am #14395229 | |
marwanH |
This is the message that i receive when the WPML plugin is active and i try to edit my page |
September 15, 2023 at 10:32 am #14402445 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, 1) In order to expedite handling your support requests, can you please share WPML support debug information from your site. - To give debug information, login to your site and go to WPML → Support. From there click on the “debug information” link at the bottom of the page. More information on the link: https://wpml.org/faq/provide-debug-information-faster-support/ 2) Please enable error logging that will save all errors in a file called debug.log, log file inside the /wp-content/ directory. To do so, please add the following define('WP_DEBUG', true); define( 'WP_DEBUG_LOG', true ); define( 'WP_DEBUG_DISPLAY', false); Once you have added those lines to your wp-config.php file, please try andreplicate the issue. Then go to your installation's wp-content folder and find the "debug.log" file that should've appeared by now (it will appear if it encounters an error in your server). Then, upload that file into a storage platform of your choosing (Google Drive, Dropbox, etc) and send me the link (make sure it's set as "public" otherwise i won't be able to access its content) so i can download it and take a look at it, and determine where to go from there. Thanks, |
September 18, 2023 at 7:19 am #14409453 | |
marwanH |
hidden link We have sent you the error that caused our site to actually crash in the weekend. We also sent you a video to understand what keeps happening. It keeps affecting the homepage when we try to edit it. Thank you |
September 19, 2023 at 6:34 am #14416239 | |
Subash Chandra Poudel |
Hi there, To ensure the quickest and most accurate support, please provide your debug information so that I can get a look at some of your configurations. You can find it in WPML > Support > click on “Debug information” link. Please check this link for more info: http://wpml.org/faq/provide-debug-information-faster-support/ Thank you for the details. The video does not seem to work, I see "Sorry, there was a problem loading a video" when trying to view the video. The log file works fine and I see the following error there: Parse error: syntax error, unexpected character 0x00, expecting end of file in /public_html/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-revisions-controller.php on line 430 Fatal error: Uncaught Error: Call to a member function set() on null in /public_html/wp-includes/l10n.php:806 Stack trace: #0 ... The error seems to be caused due to missing or broken WordPress files. Did you recently copy/migrate the site files from another location? If yes can you please re-copy/migrate the WordPress files and see if it helps? if it does not helps, for more context on the issue can you please let me know: - Does it/error happen only when editing the homepage or do you get the error when doing actions as well? - Did it start after some changes or updates to the site? Regards, |
September 19, 2023 at 11:05 am #14418909 | |
marwanH |
I have provided the debug information. |
September 20, 2023 at 3:55 pm #14432125 | |
Subash Chandra Poudel |
Thank you for the details. To troubleshoot the issue further, If the issue persists, I would need to take a closer look at your site. So would you please mind sharing temporary access (WP-Admin and FTP) to your site? Preferably to a test site where the problem has been replicated. I have enabled a private reply for you to share the credentials securely, which means only you and I have access to it. IMPORTANT: Please take a complete backup of the site first to avoid data loss. ✙ I would additionally need your permission to make a copy of the site with plugins like Duplicator and deploy it on my local machine to test the issue further. Regards, |
September 26, 2023 at 9:04 am #14465079 | |
marwanH |
Any updates regarding our situation? Thank you, |
September 26, 2023 at 3:23 pm #14468173 | |
Subash Chandra Poudel |
Hi there, Thank you for the details. With the details you provided, I was able to log in to the host and access PHPMyAdmin. I checked and I see that not only that the _icl_strings table does not exist but all WPML settings and options seem to be missing from the database so most probably the site restore was not complete or it was restored to a version of the site when it still had issues. In this case, I recommend you restore a backup of the site from when WPML and everything on the site were working fine by coordinating with your hosting provider. You can also follow the following steps to completely rest WPML and reset it up, however, please note that ( IMPORTANT ) doing the following steps will also completely reset WPML options, translations, and any WPML data and you will need to translate the site even if you have already done so. - Backup the site completely again for a reference or better test this on a staging/test site first. |
September 27, 2023 at 6:25 am #14470467 | |
marwanH |
Hello, Table 'halber_amg19.wpw9_icl_strings' doesn't exist |
September 27, 2023 at 7:24 am #14470683 | |
Subash Chandra Poudel |
Thank you for the updates. As explained in the erratum linked next I added the code to your theme functions.php, visited the site, and removed the code, and this seems to fix the issue. https://wpml.org/errata/missing-_icl_strings-_icl_string_translations-data-tables/ Can you please recheck and see if everything is fine now? |
September 27, 2023 at 10:41 am #14472905 | |
marwanH |
The message disappeared but we cannot edit our products or orders. When we want to edit them this message appears: Learn more about troubleshooting WordPress. |
September 27, 2023 at 5:01 pm #14476233 | |
Subash Chandra Poudel |
Hi there, This seems to be caused due to Memory limit on the site. I added the following code to your wp-config.php file and editing the product seems to work fine now. define( 'WP_MEMORY_LIMIT', '512M'); Please check and confirm. Regards, |
September 27, 2023 at 5:15 pm #14476353 | |
marwanH |
Yes, the issue has been resolved! Thank you very much for your assistance, if we had known it was a memory issue we would have changed it ourselves. we thought it was related to your plugin since it only happened when your plugin was active. |