[Resolved] Editing a new page using Elementor breaks
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing a white screen when trying to edit a page with Elementor, accompanied by a TypeError related to the json_decode function in the WPML plugin. The error message indicates that json_decode expects a string, but an array was given. Solution: We recommend the following steps to troubleshoot and potentially resolve the issue: 1. Perform a full backup of your site. 2. Temporarily deactivate all third-party plugins except WPML and Elementor to check for conflicts. 3. If the problem persists, provide FTP access to the staging site so we can examine the error logs for more detailed information. 4. Contact Elementor support as the issue persists even after deactivating WPML, suggesting that the problem might not be directly related to WPML.
Please note that this solution might be 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 with us 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.
Background of the issue:
I am trying to edit a new page using Elementor. I created a new page and clicked on 'Edit with Elementor'. The interface starts loading but stops on a white screen. I have an Airbrake issue with more details. Link to a page where the issue can be seen: hidden link
Symptoms:
Instead of seeing the Elementor edit screen, I got a blank screen and this error reported in Airbrake: Error type: TypeError, Error message: json_decode(): Argument #1 ($json) must be of type string, array given. File: /var/www/html/web/app/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Elementor/DataConvert.php
Questions:
Why does the Elementor interface stop on a white screen when I try to edit a page?
How can I resolve the TypeError related to json_decode in the WPML plugin?
I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.
Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.
Your upcoming reply will be treated with confidentiality and will only be visible to you and me.
✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.
Thanks for your reply. Could you please grant me full administrative access to your staging site? I need to update the WPML plugins to the latest version for a test.
Thanks for your patience. I've deactivated most of the 3rd party plugins, including WPML and editing this page hidden link using Elementor is still not possible. This is something else and have you contacted Elementor support?
I've already deactivated all WPML plugins, and the issue persists. Please ask Airbrake to check on this again. I'm sure they will have another opinion on this matter.
I understand your opinion based on the fact that the error remains after disactivating WPML, but please: I don't want to be bounced back from one support team to another.
The original error logged in our system refers to this file on line 42:
thanks for the help Kor, i will pass it along to the Elementor support team and see if they can solve it.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.