Can’t publish changes on PHP 8+
-
Hello Elementor Support, I can’t publish any changes in Elemenor editor when the PHP version 8+ is set for server. Only works OK on PHP 7.4

How can this be fixed? No other plugins produce such issues and PHP 7.4 is quite outdated already.
-
System info:
== Server Environment ==
Operating System: Linux
Software: Apache/2.4.52 (Ubuntu)
MySQL version: (Ubuntu) v8.0.40
PHP Version: 8.3.14
PHP Memory Limit: 256M
PHP Max Input Vars: 1000
PHP Max Post Size: 500M
GD Installed: Yes
ZIP Installed: Yes
Write Permissions: All right
Elementor Library: Connected
== WordPress Environment ==
Version: 6.7.1
Site URL: https://www.bluemagiclinic.com/dental
Home URL: https://www.bluemagiclinic.com/dental
WP Multisite: No
Max Upload Size: 500 MB
Memory limit: 256M
Max Memory limit: 256M
Permalink Structure: /%postname%/
Language: en_US
Timezone: 0
Admin Email: [email protected]
Debug Mode: Inactive
== Theme ==
Name: Hello Elementor
Version: 3.3.0
Author: Elementor Team
Child Theme: No
== User ==
Role: administrator
WP Profile lang: en-US
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0
== Active Plugins ==
Admin and Site Enhancements (ASE) Pro
Version: 7.6.7.1
Author: wpase.com
Elementor
Version: 3.27.2
Author: Elementor.com
FileBird Pro
Version: 6.4.3
Author: Ninja Team
Fluent Forms
Version: 5.2.10
Author: Contact Form - WPManageNinja LLC
Fluent Forms Pro Add On Pack
Version: 5.2.10
Author: Fluent Forms
FlyingPress
Version: 4.16.2
Author: FlyingWeb
Perfect Images
Version: 7.0.0
Author: Jordy Meow
Premium Addons for Elementor
Version: 4.10.79
Author: Leap13
Premium Addons PRO
Version: 2.9.29
Author: Leap13
UpdraftPlus - Backup/Restore
Version: 1.25.1
Author: TeamUpdraft, DavidAnderson
== Features ==
Custom Fonts: 0
Custom Icons: 0
== Integrations ==
== Elementor Experiments ==
Inline Font Icons: Active by default
Additional Custom Breakpoints: Active by default
Container: Active by default
Upgrade Swiper Library: Active by default
Optimized Markup: Inactive by default
Plugin Onboarding: Active by default
Load Google Fonts locally: Inactive by default
Default to New Theme Builder: Active by default
Header & Footer: Active by default
Elementor Home Screen: Active by default
Landing Pages: Inactive by default
Nested Elements: Active by default
Editor Top Bar: Active by default
Pages Panel: Inactive by default
Element Caching: Inactive
Link In Bio: Active by default
Floating Buttons: Active by default
Elementor Editor Events: Inactive by default
Atomic Widgets: Inactive by default
Global Classes: Inactive by default
Launchpad Checklist: Active by default
Menu: Inactive by default
== Log ==
Log: showing 20 of 242025-01-15 19:47:57 [info] Elementor data updater process has been queued. [array (
'plugin' => 'Elementor',
'from' => '3.26.4',
'to' => '3.26.5',
)]
2025-01-23 08:19:19 [info] elementor::elementor_updater Started
2025-01-23 08:19:19 [info] Elementor/Upgrades - _on_each_version Start
2025-01-23 08:19:19 [info] Elementor/Upgrades - _on_each_version Finished
2025-01-23 08:19:19 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '3.26.5',
'to' => '3.27.0',
)]
2025-01-24 10:14:48 [info] elementor::elementor_updater Started
2025-01-24 10:14:48 [info] Elementor/Upgrades - _on_each_version Start
2025-01-24 10:14:48 [info] Elementor/Upgrades - _on_each_version Finished
2025-01-24 10:14:48 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '3.27.0',
'to' => '3.27.1',
)]
2025-01-24 10:14:48 [info] Elementor data updater process has been queued. [array (
'plugin' => 'Elementor',
'from' => '3.27.0',
'to' => '3.27.1',
)]
PHP: showing 1 of 1PHP: 2025-01-15 19:48:39 [notice X 1][/home/u785694563/domains/edeus.tech/public_html/bluemagic/wp-content/plugins/elementor/includes/managers/image.php::113] Trying to access array offset on value of type bool [array (
'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]
JS: showing 8 of 8JS: 2025-01-15 20:00:06 [error X 2][https://edeus.tech/bluemagic/wp-admin/load-scripts.php?c=1&loadchunk_0=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.7.1:2:28760] Cannot read properties of undefined (reading 'value')
JS: 2025-01-17 08:18:32 [error X 3][https://edeus.tech/bluemagic/wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.26.5:3:801342] Cannot read properties of undefined (reading 'toLowerCase')
JS: 2025-01-17 15:51:20 [error X 2][https://edeus.tech/bluemagic/wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.26.5:3:682481] this.model.isValidChild is not a function
JS: 2025-01-20 15:57:20 [error X 20][https://edeus.tech/bluemagic/wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.26.5:3:801849] Cannot read properties of undefined (reading 'localized')
JS: 2025-01-22 18:55:53 [error X 1][https://edeus.tech/bluemagic/wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.27.0:3:914974] elementorFrontend is not defined
JS: 2025-01-22 19:10:28 [error X 1][https://edeus.tech/bluemagic/wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.27.0:3:54282] Cannot read properties of undefined (reading 'activate')
JS: 2025-01-23 09:51:10 [error X 1][https://edeus.tech/bluemagic/wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.27.0:3:688201] Cannot read properties of undefined (reading 'get')
JS: 2025-01-24 18:36:52 [error X 1][https://edeus.tech/bluemagic/wp-content/plugins/elementor/assets/js/web-cli.min.js?ver=3.27.1:3:81750] Data commands: not found.
== Elementor - Compatibility Tag ==
Premium Addons for Elementor: Compatible
Premium Addons PRO: Incompatible
-
This reply was modified 1 year, 4 months ago by
Steven Stern (sterndata).
-
This reply was modified 1 year, 4 months ago by
VisedFAQ. Reason: edited log
Hi there,
Thank you for contacting us.
This issue is likely caused by an incompatibility between your Elementor version and PHP 8+. Here are some steps to diagnose and fix it:
1. Check Your Elementor Version
Ensure that you are using the latest versions of both Elementor. Older versions may not be fully compatible with PHP 8+.2.
2. Enable Debug Mode
Enable WordPress debug mode to check for errors:
- Add this to your
wp-config.phpfile:define('WP_DEBUG', true); define('WP_DEBUG_LOG', true); define('WP_DEBUG_DISPLAY', false); @ini_set('display_errors', 0); - After trying to publish changes in Elementor, check the error log (
/wp-content/debug.log) for any PHP-related errors.
3. Check for Plugin Conflicts
Even though you mentioned that other plugins don’t cause issues, some may still conflict with Elementor under PHP 8+.
- Deactivate all plugins except Elementor and try again.
- If it works, reactivate plugins one by one to identify the culprit.
4. Switch to a Default Theme
Try switching to a default theme (like Twenty Twenty-Four) and check if the issue persists. Some themes may not be fully compatible with PHP 8+.
5. Check PHP Error Log
If your server provides error logs (e.g., via cPanel or SSH access), check them for any fatal errors or deprecation warnings that may help pinpoint the issue.
6. Increase PHP Limits
7. Reinstall Elementor
Sometimes, a corrupted installation can cause issues.
- Deactivate and delete Elementor
- Reinstall them from the WordPress plugin repository.
8. Check for a Server-Side Conflict
Your hosting environment may have specific settings causing conflicts.
- Contact your hosting provider and ask if they see any PHP errors related to Elementor.
- If necessary, test the site on another PHP 8+ environment (e.g., a staging site with a different host)
Hope this helps.
Hi @miloss84, the issue was caused by incorrect server permissions.
-
This reply was modified 1 year, 4 months ago by
The topic ‘Can’t publish changes on PHP 8+’ is closed to new replies.