Title: error on elementor
Last modified: October 8, 2024

---

# error on elementor

 *  Resolved [Mehdi ardeshir](https://wordpress.org/support/users/mehdi0121/)
 * (@mehdi0121)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/error-on-elementor/)
 * hi
 * im getting error on my first page when using template and i think its for slider
   widget
 * **Warning**: Trying to access array offset on value of type bool in **C:\Users\
   mehdi-pc\Local Sites\elementor-new\app\public\wp-content\plugins\elementor\includes\
   base\widget-base.php** on line **223**
   **Warning**: Undefined array key -1 in**
   C:\Users\mehdi-pc\Local Sites\elementor-new\app\public\wp-content\plugins\elementor\
   includes\base\controls-stack.php** on line **695**

Viewing 13 replies - 1 through 13 (of 13 total)

 *  Plugin Support [Milos](https://wordpress.org/support/users/miloss84/)
 * (@miloss84)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/error-on-elementor/#post-18060697)
 * Hi there,
 * Thanks for contacting us and hope you are doing well and having a great day.
 * To rule out the possibility of a plugin or theme conflict, please deactivate 
   all your plugins (besides Elementor and Elementor Pro). If it solves the issue
   reactivate them one by one to find the culprit. If it didn’t help, switch your
   theme (temporarily) to a default WP theme such as Twenty Nineteen and see if 
   it makes any difference.
 * I am looking forward to hearing back from you soon.
 * Kind regards,
 *  [dremeda](https://wordpress.org/support/users/dremeda/)
 * (@dremeda)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/error-on-elementor/#post-18089116)
 * I am getting the same plugin error on a fresh WP install, fresh Elementor / Elementor
   Pro, no other plugins enabled.
 * **Warning**: Undefined array key 31 in **/www/wp-content/plugins/elementor/includes/
   base/controls-stack.php** on line **695**
    -  This reply was modified 1 year, 10 months ago by [dremeda](https://wordpress.org/support/users/dremeda/).
      Reason: comment formatting
 *  Thread Starter [Mehdi ardeshir](https://wordpress.org/support/users/mehdi0121/)
 * (@mehdi0121)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/error-on-elementor/#post-18090881)
 * [@miloss84](https://wordpress.org/support/users/miloss84/)
   Hi there,
 * Thanks for your answer.
 * This error sometimes displays, and when I refresh the page, it will be fixed.
 * It is not always showing me.
 *  [Kaeli Bunt](https://wordpress.org/support/users/thecraftmarketplace/)
 * (@thecraftmarketplace)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/error-on-elementor/#post-18101322)
 * We’re getting the same message, can’t seem to find any conflicts
 *  [mcvoy](https://wordpress.org/support/users/mcvoy/)
 * (@mcvoy)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/error-on-elementor/#post-18101800)
 * Hello,
   I have the same error. It occurred after updating Elementor and a few 
   other plugins. After changing the PHP version to 7.4, the problem disappears.
   Elementor has constant problems in PHP higher than 7.4, because it officially
   supports only PHP up to 7.4. The problem is that 7.4 is no longer supported and
   hosting companies charge extra for maintaining them on servers.
 *  [mcvoy](https://wordpress.org/support/users/mcvoy/)
 * (@mcvoy)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/error-on-elementor/#post-18101817)
 * Temporary solution:
   I changed Elementor version to 3.22.3 and Elementor Pro to
   3.22.1 and the problem disappeared. I did not check with higher versions – I 
   do not have time to play. I simply reverted the version from which I was updating
   to 3.25.X.We have to wait until Elementor Team takes care of the problem.
 *  [polikpower](https://wordpress.org/support/users/polikpower/)
 * (@polikpower)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/error-on-elementor/#post-18119519)
 * If you google the error, there are thousands of ready sites on the internet who
   have this error, I have this error on a fresh install too on the latest versions
   of elementor. Can anyone tell me how to solve it?
 *  [polikpower](https://wordpress.org/support/users/polikpower/)
 * (@polikpower)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/error-on-elementor/#post-18119756)
 * I think I know what the cause is. I have looked at sites from google search with
   the same error, usually this error appears on all sites where there is a slider
   widget. On my sites that don’t have this widget there is no error, only where
   there is a widget there is an error.
 *  [danuco](https://wordpress.org/support/users/danuco/)
 * (@danuco)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/error-on-elementor/#post-18140973)
 * I encountered the same problem after updating Elementor, where errors were still
   showing on the frontend even though `WP_DEBUG` was set to `false`. After some
   investigation, I discovered that code duplication in my `wp-config.php` file 
   was suppressing the `WP_DEBUG` setting, causing the errors to display.
 * If you’re facing a similar issue, try adding the following lines to your `wp-
   config.php` file to properly enable debugging:
 * if ( ! defined( ‘WP_DEBUG’ ) ) {
   define( ‘WP_DEBUG’, true );}
 * if ( ! defined( ‘WP_DEBUG_LOG’ ) ) {
   define( ‘WP_DEBUG_LOG’, true );}
 * if ( ! defined( ‘WP_DEBUG_DISPLAY’ ) ) {
   define( ‘WP_DEBUG_DISPLAY’, false );}
 * This will:
    - Enable error logging to a file (`wp-content/debug.log`)
    - Keep errors hidden from visitors on the frontend
 * This should help resolve the issue and prevent unnecessary error messages from
   displaying publicly.
 *  [Morpheus21](https://wordpress.org/support/users/morpheus21/)
 * (@morpheus21)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/error-on-elementor/#post-18142827)
 * same issue (both errors) here with the media carousel on the frontend of three
   different homepages. just ele free 3.25.6 + ele pro 3.25.3 enabled, wp 6.7, php
   8.2.18. all the usual fixes (cache, regenerate css, delete revisions etc.) didn’t
   helped
   saving the affected page again fixes the problem, but changing the menu
   or header/footer, for example, brings back the error.
 *  [fallax010](https://wordpress.org/support/users/fallax010/)
 * (@fallax010)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/error-on-elementor/#post-18178078)
 * ![](https://i0.wp.com/i.postimg.cc/mDJTV8g4/elementor.jpg?ssl=1)
 * disabling element cache solved it for me temporarily, then it popped up again
    - php 8.2
    - Elementor Pro 3.25.4
 * downgrading to php 7.4 removed the 2 errors
    -  This reply was modified 1 year, 8 months ago by [fallax010](https://wordpress.org/support/users/fallax010/).
    -  This reply was modified 1 year, 8 months ago by [fallax010](https://wordpress.org/support/users/fallax010/).
 *  [globalmanager46](https://wordpress.org/support/users/globalmanager46/)
 * (@globalmanager46)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/error-on-elementor/#post-18185422)
 * Hi there,
 * Does someone found is from the issue of this PHP warnings, i have tons of logs
   with this error.
 * Elementor support tell me its a specific case with my website, but i see that
   is not. If someone found the solution, please let me know
 * Thanks in advance
    -  This reply was modified 1 year, 8 months ago by [globalmanager46](https://wordpress.org/support/users/globalmanager46/).
 *  [mc2crea](https://wordpress.org/support/users/mc2crea/)
 * (@mc2crea)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/error-on-elementor/#post-18190396)
 * Hello,
 * I have the same problem on one of my website but only on one of the products.
   I am using the same image diaporama widget on all products, but it online shows
   the error on this page : [https://aravebike.com/produit/vtt-electrique-hiver-sans-neige/](https://aravebike.com/produit/vtt-electrique-hiver-sans-neige/)
 * I have the widget-base arror but also the constrols-stack.php error on this product
   page, but not on the other products of the same website.
 * Any idea ?
 * Thanks

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘error on elementor’ is closed to new replies.

 * ![](https://ps.w.org/elementor/assets/icon-256x256.gif?rev=3444228)
 * [Elementor Website Builder - more than just a page builder](https://wordpress.org/plugins/elementor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/elementor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/elementor/)
 * [Active Topics](https://wordpress.org/support/plugin/elementor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/elementor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/elementor/reviews/)

 * 13 replies
 * 11 participants
 * Last reply from: [mc2crea](https://wordpress.org/support/users/mc2crea/)
 * Last activity: [1 year, 8 months ago](https://wordpress.org/support/topic/error-on-elementor/#post-18190396)
 * Status: resolved