Resolving Common PHP Errors and Deprecation Notices with Essential Addons for Elementor
Content
If you manage a WordPress site built with Elementor and Essential Addons, you may have encountered PHP errors, warnings, or deprecated function notices. These messages can appear after a plugin, theme, or WordPress core update and often point to a compatibility issue. This guide will help you understand why these errors occur and walk you through the most effective steps to resolve them.
Why Do These Errors Happen?
WordPress and its ecosystem are constantly evolving. As PHP, WordPress, and plugins like Elementor are updated, older functions are sometimes replaced with newer, more efficient methods. When a plugin uses a function that has been marked as deprecated, WordPress will display a notice to alert developers to update their code. These notices are not always a sign of a broken site but indicate that an update is needed for future compatibility. Common triggers include:
- Using an outdated version of Essential Addons for Elementor.
- Running an old version of PHP on your server.
- A conflict with another plugin or your theme.
- Cached files that need to be regenerated after an update.
Common Error Messages
Based on community reports, some frequent errors include:
- Deprecation Notices: Messages like
_register_controls is deprecated since version 3.1.0!or_register_skins is deprecated since version 3.1.0! - PHP Warnings/Notices: Such as
Cannot redeclare control with same name. - Fatal Errors: Which can cause a white screen or prevent access to the admin dashboard.
- JavaScript Errors: Like
Uncaught ReferenceError: elementorFrontend is not definedin the browser console.
Step-by-Step Troubleshooting Guide
1. Update Everything
The first and most crucial step is to ensure all your software is up to date. Many deprecated function errors were resolved in newer versions of Essential Addons.
- Essential Addons: Update to the latest available version.
- Elementor & Elementor Pro: Ensure both are updated.
- WordPress: Check that you are on the latest version of WordPress.
- Theme: Update your theme (e.g., OceanWP, Astra, Hello Elementor).
- Other Plugins: Update all other plugins on your site.
2. Check for Plugin Conflicts
If updating doesn't resolve the issue, a conflict with another plugin is likely. To test for this:
- Go to Plugins -> Installed Plugins.
- Deactivate all plugins except for Elementor and Essential Addons for Elementor.
- Check if the error disappears.
- If it does, reactivate your other plugins one by one, checking after each activation to identify the conflicting plugin.
3. Regenerate Assets & Clear Caches
After updating, cached CSS and JavaScript files from the old version can linger and cause issues.
- Regenerate Essential Addons Assets: Go to Essential Addons -> Tools and click the Regenerate Assets button.
- Regenerate Elementor Files: Go to Elementor -> Tools and click Regenerate Files & Data.
- Clear All Caches: Purge your server cache, any caching plugin (like WP Rocket or W3 Total Cache), and your browser cache.
4. Check Your PHP Version
Using an outdated PHP version can cause compatibility problems and security issues.
- Contact your web host or check your hosting control panel (like cPanel) to see your current PHP version.
- The 'Essential Addons for Elementor' team recommends using PHP 7.4 or higher. Upgrading to PHP 8.0 or 8.1 is even better for performance and security, but check that all your plugins and themes are compatible first.
5. Increase WordPress Memory Limit
Some fatal errors are caused by insufficient memory allocated to WordPress. You can increase this limit by editing your wp-config.php file. Above the line that says /* That's all, stop editing! Happy blogging. */, add:
define('WP_MEMORY_LIMIT', '512M');
When to Seek Further Help
If you have followed all these steps and the error persists, the issue might be more specific. When seeking help in community forums, be prepared to provide:
- The exact error message.
- Your WordPress, Elementor, and Essential Addons versions.
- The name of your active theme.
- The PHP version your server is using.
By systematically working through these steps, you can usually identify and resolve the source of common PHP errors, keeping your Elementor site running smoothly.
Related Support Threads Support
-
Deprecated: _register_controls is deprecated since version 3.1.0!https://wordpress.org/support/topic/deprecated-_register_controls-is-deprecated-since-version-3-1-0/
-
Error on Essential Addons for Elementorhttps://wordpress.org/support/topic/error-on-essential-addons-for-elementor/
-
4.3.1 errors with Elementorhttps://wordpress.org/support/topic/4-3-1-errors-with-elementor/
-
Compatibility issues with other pluginshttps://wordpress.org/support/topic/compatibility-issues-with-other-plugins-4/
-
_register_controls is deprecated since version 3.1.0!https://wordpress.org/support/topic/_register_controls-is-deprecated-since-version-3-1-0/
-
Suddenly stop taking shortcodes (dynamic values)https://wordpress.org/support/topic/suddenly-stop-taking-shortcodes-dynamic-values/
-
Problem after plugin updatehttps://wordpress.org/support/topic/problem-after-plugin-update-6/
-
Latest 3.5.2 breaks post image as dynamic BGhttps://wordpress.org/support/topic/latest-3-5-2-breaks-post-image-as-dynamic-bg/
-
Elementorhttps://wordpress.org/support/topic/elementor-195/
-
Elementor code errorhttps://wordpress.org/support/topic/elementor-code-error/
-
PHP error after 5.9.24 (ElementorControls_Manager::add_control_to_stack)https://wordpress.org/support/topic/php-error-after-5-9-24-elementorcontrols_manageradd_control_to_stack/
-
Deprecated Errorhttps://wordpress.org/support/topic/deprecated-error-21/
-
bug fix issus ?https://wordpress.org/support/topic/bug-fix-issus/
-
An exception in the Shop page and in any Single Product pagehttps://wordpress.org/support/topic/eexception-in-shop-page-and-in-single-product-pages/
-
Table of Contents has broken my posthttps://wordpress.org/support/topic/table-of-contents-has-broken-my-post/
-
PHP 7.3 Compatibilityhttps://wordpress.org/support/topic/php-7-3-compatibility-29/
-
Latest 3.5.2 prevents shortcodes from showing on sitehttps://wordpress.org/support/topic/latest-3-5-2-prevents-shortcodes-from-showing-on-site/
-
white space below footer with “;”https://wordpress.org/support/topic/white-space-below-footer-with/
-
php Errorhttps://wordpress.org/support/topic/php-error-513/
-
Fatal error updating pluginhttps://wordpress.org/support/topic/fatal-error-updating-plugin-3/
-
Elementor Deprecated messagehttps://wordpress.org/support/topic/elementor-deprecated-message/
-
Elementer Errorhttps://wordpress.org/support/topic/elementer-error/
-
Can’t save Elementor template conditions with latest versions of this pluginhttps://wordpress.org/support/topic/cant-save-elementor-template-conditions-with-latest-versions-of-this-plugin/
-
Elementor Crashed my Sitehttps://wordpress.org/support/topic/elementor-crashed-my-site/
-
Elementor Version 3.7.0 code errorhttps://wordpress.org/support/topic/elementor-version-3-7-0-code-error/
-
!!! Critical errors on your websitehttps://wordpress.org/support/topic/critical-errors-on-your-website/
-
Cuando actualizo el plugin se desconfigura toda la webhttps://wordpress.org/support/topic/cuando-actualizo-el-plugin-se-desconfigura-toda-la-web/
-
Elementor and ThePostGrid conflicthttps://wordpress.org/support/topic/elementor-and-thepostgrid-conflict/
-
Deprecated: _register_controls is deprecated since version 3.1.0!https://wordpress.org/support/topic/deprecated-_register_controls-is-deprecated-since-version-3-1-0-2/
-
Function _register_controlshttps://wordpress.org/support/topic/function-_register_controls/
-
Getting Uncaught TypeErrors / SyntaxErros And alot of others Issueshttps://wordpress.org/support/topic/getting-uncaught-typeerrors-syntaxerros-and-alot-of-others-issues/
-
Update 4.3.6 white card problemhttps://wordpress.org/support/topic/update-4-3-6-white-card-problem/
-
Problem with 4.1.1 Version – Error!https://wordpress.org/support/topic/problem-with-4-1-1-version-error/