Title: Elementor &amp; PHP 8.1
Last modified: November 15, 2022

---

# Elementor & PHP 8.1

 *  Resolved [Michael Sutter](https://wordpress.org/support/users/michih/)
 * (@michih)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/elementor-php-8-1/)
 * Hi there
 * As of today, is Elementor (Free and Pro) fully compatible with PHP 8.1 or what
   is the current status?
 * Thanks a lot
    Michael

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/elementor-php-8-1/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/elementor-php-8-1/page/2/?output_format=md)

 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [3 years, 6 months ago](https://wordpress.org/support/topic/elementor-php-8-1/#post-16200263)
 * > As of today, is Elementor (Free and **Pro**)
 * For pro or commercial product support please contact the developer directly on
   their site. This includes any pre-sales topics as well.
 * As the developer is aware, commercial products are [not supported in these forums](https://wordpress.org/support/guidelines/#do-not-post-about-commercial-products).
   I am sure they will have no problem supporting you there.
 *  Thread Starter [Michael Sutter](https://wordpress.org/support/users/michih/)
 * (@michih)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/elementor-php-8-1/#post-16200275)
 * Thanks Jan.
 * So I change my question to:
    As of today, is Elementor (Free) fully compatible
   with PHP 8.1 or what is the current status?
 *  [israelaz](https://wordpress.org/support/users/israelaz/)
 * (@israelaz)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/elementor-php-8-1/#post-16200343)
 * Hi,
 * Elementor is compatible with PHP 8
 *  [techbwat](https://wordpress.org/support/users/techbwat/)
 * (@techbwat)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/elementor-php-8-1/#post-16260497)
 * As far as today, Elementor and Elementor Pro support PHP 8.0 but surprisingly
   not PHP 8.1 as mentionned in their website : “PHP 7.4 or Greater (excluding PHP
   8.1).”
 * Any road map to support 8.1 ? 8.0 is now End Of Support.
 *  [lappyd](https://wordpress.org/support/users/lappyd/)
 * (@lappyd)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/elementor-php-8-1/#post-16305239)
 * Hi, your plugin support executive “israelaz” is saying it supports
 * Please be clear elementor is compatible with php8.1 or not?
 *  [yinxingmaiming](https://wordpress.org/support/users/yinxingmaiming/)
 * (@yinxingmaiming)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/elementor-php-8-1/#post-16314790)
 * This is truly a bizarre thread. I am likewise having issues and I have the same
   question. Let’s keep it simple:
    1. Does Elementor / Pro support 8.0?
    2. Does Elementor / Pro support 8.1?
 *  [yinxingmaiming](https://wordpress.org/support/users/yinxingmaiming/)
 * (@yinxingmaiming)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/elementor-php-8-1/#post-16318608)
 * As of 2022-12-24:
 * Elementor supports PHP 8.0.x.
 * Elementor does NOT support PHP 8.1.x (reasons not disclosed)
 *  [erveeel](https://wordpress.org/support/users/erveeel/)
 * (@erveeel)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/elementor-php-8-1/#post-16382644)
 * Any update yet? I have two sites that don’t work with php 8.1
 *  [hrmsprojetsdigitaux](https://wordpress.org/support/users/hrmsprojetsdigitaux/)
 * (@hrmsprojetsdigitaux)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/elementor-php-8-1/#post-16574457)
 * I think Elementor team should be more precise in their requirements page.
   Because
   it says :
 * **PHP 7.4 or Greater**
   **Note:** If your site is hosted on a server with an older
   PHP, you may experience issues. We recommend you to contact your hosting provider
   to **upgrade to the latest version of PHP**.
 * cf. [https://elementor.com/help/requirements/](https://elementor.com/help/requirements/)
 *  [laplagam](https://wordpress.org/support/users/laplagam/)
 * (@laplagam)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/elementor-php-8-1/#post-16645899)
 * As of 11th of April 2023, elementor still does not support 8.1. Still needs to
   stick to 8.0 to avoid the site going down.
 *  [allmyhoney](https://wordpress.org/support/users/allmyhoney/)
 * (@allmyhoney)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/elementor-php-8-1/#post-16653706)
 * As of 13th April 2023 still does not work with PHP 8.1.x unfortunately 🙁
 *  [chrisclarkx2](https://wordpress.org/support/users/chrisclarkx2/)
 * (@chrisclarkx2)
 * [3 years ago](https://wordpress.org/support/topic/elementor-php-8-1/#post-16749175)
 * My host is requiring an update to PHP 8.1 – My staging site is throwing a critical
   error with the update to 8.1 and remains after revert to 8.0. I had to revert
   to 7.4 for the site to work. This is with an updated Elementor 3.13.2 which states
   the rollout has corrected “security issues”. Still no go.
 * I’m still suspecting Elementor due to some frustrating issues when attempting
   to download my wp-contents file for upload to staging. The download continues
   to fail. Avast continues to detect a trojan virus in an Elementor plug-in file.
 * Not sure what to do…..FRUSTRATED!
 *  [codeablellie](https://wordpress.org/support/users/codeablellie/)
 * (@codeablellie)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/elementor-php-8-1/#post-17060582)
 * Hi, I’ve the same issue, updated PHP version to 8.2 for my client and the website
   hit a critical error. It’s fine on PHP 7.4
 * error log: [https://share.cleanshot.com/l89dmTbQ](https://share.cleanshot.com/l89dmTbQ?fbclid=IwAR0iLSTAPYkVAwobXPTZtnO_gmnXPIC3DUqdqacel7VcYCnEtGP8Xui3WWg)
 * website staging URL: [https://bostongroupstg.wpenginepowered.com/](https://bostongroupstg.wpenginepowered.com/?fbclid=IwAR1ldlj93toSCv09H_O2EzlmgIcDIuGEfNhtPCBvBwJYnif-xhmFXqFlfi0)
 * Is there a fix for this? all plugins are disabled except for Elementor and Elementor
   Pro. Enabling Elementor Pro breaks the site.
   Any ideas or fixes? I’ve been trying
   to get support since last Thursday. I have a client waiting on this. Can someone
   please direct me to get help?Thanks,Ellie
 *  [sasa2282](https://wordpress.org/support/users/sasa2282/)
 * (@sasa2282)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/elementor-php-8-1/#post-17062528)
 * Hi,
 * sorry, I have no solution, but can confirm the same problem – had to update a
   site to PHP 8.1.2 and these are the errors I get:
 *     ```wp-block-code
       [Tue Sep 19 11:31:12.094935 2023] [php:warn] [pid 6724] [client 164.8.251.237:53979] PHP Warning: Undefined variable $method in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/wp-admin/edit.php?post_type=page[Tue Sep 19 11:31:12.094989 2023] [php:warn] [pid 6724] [client 164.8.251.237:53979] PHP Warning: Attempt to read property "class" on null in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/wp-admin/edit.php?post_type=page[Tue Sep 19 11:31:12.095191 2023] [php:warn] [pid 6724] [client 164.8.251.237:53979] PHP Warning: Undefined variable $method in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/wp-admin/edit.php?post_type=page[Tue Sep 19 11:31:12.095204 2023] [php:warn] [pid 6724] [client 164.8.251.237:53979] PHP Warning: Attempt to read property "class" on null in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/wp-admin/edit.php?post_type=page[Tue Sep 19 11:31:12.095257 2023] [php:warn] [pid 6724] [client 164.8.251.237:53979] PHP Warning: Undefined variable $method in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/wp-admin/edit.php?post_type=page[Tue Sep 19 11:31:12.095268 2023] [php:warn] [pid 6724] [client 164.8.251.237:53979] PHP Warning: Attempt to read property "class" on null in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/wp-admin/edit.php?post_type=page[Tue Sep 19 11:31:12.095341 2023] [php:warn] [pid 6724] [client 164.8.251.237:53979] PHP Warning: Undefined variable $method in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/wp-admin/edit.php?post_type=page[Tue Sep 19 11:31:12.095353 2023] [php:warn] [pid 6724] [client 164.8.251.237:53979] PHP Warning: Attempt to read property "class" on null in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/wp-admin/edit.php?post_type=page[Tue Sep 19 11:31:12.095451 2023] [php:warn] [pid 6724] [client 164.8.251.237:53979] PHP Warning: Undefined variable $method in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/wp-admin/edit.php?post_type=page[Tue Sep 19 11:31:12.095465 2023] [php:warn] [pid 6724] [client 164.8.251.237:53979] PHP Warning: Attempt to read property "class" on null in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/wp-admin/edit.php?post_type=page[Tue Sep 19 11:31:12.095525 2023] [php:warn] [pid 6724] [client 164.8.251.237:53979] PHP Warning: Undefined variable $method in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/wp-admin/edit.php?post_type=page[Tue Sep 19 11:31:12.095535 2023] [php:warn] [pid 6724] [client 164.8.251.237:53979] PHP Warning: Attempt to read property "class" on null in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/wp-admin/edit.php?post_type=page[Tue Sep 19 11:31:12.095584 2023] [php:warn] [pid 6724] [client 164.8.251.237:53979] PHP Warning: Undefined variable $method in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/wp-admin/edit.php?post_type=page[Tue Sep 19 11:31:12.095592 2023] [php:warn] [pid 6724] [client 164.8.251.237:53979] PHP Warning: Attempt to read property "class" on null in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/wp-admin/edit.php?post_type=page[Tue Sep 19 11:31:12.095644 2023] [php:warn] [pid 6724] [client 164.8.251.237:53979] PHP Warning: Undefined variable $method in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/wp-admin/edit.php?post_type=page[Tue Sep 19 11:31:12.095654 2023] [php:warn] [pid 6724] [client 164.8.251.237:53979] PHP Warning: Attempt to read property "class" on null in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/wp-admin/edit.php?post_type=page[Tue Sep 19 11:31:12.095700 2023] [php:warn] [pid 6724] [client 164.8.251.237:53979] PHP Warning: Undefined variable $method in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/wp-admin/edit.php?post_type=page[Tue Sep 19 11:31:12.095707 2023] [php:warn] [pid 6724] [client 164.8.251.237:53979] PHP Warning: Attempt to read property "class" on null in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/wp-admin/edit.php?post_type=page[Tue Sep 19 11:31:12.095756 2023] [php:warn] [pid 6724] [client 164.8.251.237:53979] PHP Warning: Undefined variable $method in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/wp-admin/edit.php?post_type=page[Tue Sep 19 11:31:12.095776 2023] [php:warn] [pid 6724] [client 164.8.251.237:53979] PHP Warning: Attempt to read property "class" on null in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/wp-admin/edit.php?post_type=page[Tue Sep 19 11:31:12.095828 2023] [php:warn] [pid 6724] [client 164.8.251.237:53979] PHP Warning: Undefined variable $method in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/wp-admin/edit.php?post_type=page[Tue Sep 19 11:31:12.095838 2023] [php:warn] [pid 6724] [client 164.8.251.237:53979] PHP Warning: Attempt to read property "class" on null in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/wp-admin/edit.php?post_type=page[Tue Sep 19 11:31:14.659157 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Undefined variable $method in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/[Tue Sep 19 11:31:14.659208 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Attempt to read property "class" on null in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/[Tue Sep 19 11:31:14.659410 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Undefined variable $method in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/[Tue Sep 19 11:31:14.659422 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Attempt to read property "class" on null in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/[Tue Sep 19 11:31:14.659666 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Undefined variable $method in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/[Tue Sep 19 11:31:14.659683 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Attempt to read property "class" on null in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/[Tue Sep 19 11:31:14.659871 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Undefined variable $method in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/[Tue Sep 19 11:31:14.659887 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Attempt to read property "class" on null in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/[Tue Sep 19 11:31:14.659968 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Undefined variable $method in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/[Tue Sep 19 11:31:14.659978 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Attempt to read property "class" on null in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/[Tue Sep 19 11:31:14.660181 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Undefined variable $method in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/[Tue Sep 19 11:31:14.660195 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Attempt to read property "class" on null in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/[Tue Sep 19 11:31:14.660271 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Undefined variable $method in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/[Tue Sep 19 11:31:14.660279 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Attempt to read property "class" on null in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/[Tue Sep 19 11:31:14.660538 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Undefined variable $method in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/[Tue Sep 19 11:31:14.660555 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Attempt to read property "class" on null in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/[Tue Sep 19 11:31:14.660621 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Undefined variable $method in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/[Tue Sep 19 11:31:14.660646 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Attempt to read property "class" on null in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/[Tue Sep 19 11:31:14.660723 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Undefined variable $method in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/[Tue Sep 19 11:31:14.660734 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Attempt to read property "class" on null in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/[Tue Sep 19 11:31:14.660910 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Undefined variable $method in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/[Tue Sep 19 11:31:14.660926 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Attempt to read property "class" on null in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/[Tue Sep 19 11:31:17.748760 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Undefined variable $method in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/o-projektu/[Tue Sep 19 11:31:17.748879 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Attempt to read property "class" on null in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/o-projektu/[Tue Sep 19 11:31:17.749094 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Undefined variable $method in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/o-projektu/[Tue Sep 19 11:31:17.749131 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Attempt to read property "class" on null in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/o-projektu/[Tue Sep 19 11:31:17.749210 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Undefined variable $method in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/o-projektu/[Tue Sep 19 11:31:17.749242 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Attempt to read property "class" on null in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/o-projektu/[Tue Sep 19 11:31:17.749313 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Undefined variable $method in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/o-projektu/[Tue Sep 19 11:31:17.749340 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Attempt to read property "class" on null in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/o-projektu/[Tue Sep 19 11:31:17.749448 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Undefined variable $method in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/o-projektu/[Tue Sep 19 11:31:17.749484 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Attempt to read property "class" on null in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/o-projektu/[Tue Sep 19 11:31:17.749598 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Undefined variable $method in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/o-projektu/[Tue Sep 19 11:31:17.749645 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Attempt to read property "class" on null in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/o-projektu/[Tue Sep 19 11:31:17.749725 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Undefined variable $method in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/o-projektu/[Tue Sep 19 11:31:17.749757 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Attempt to read property "class" on null in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/o-projektu/[Tue Sep 19 11:31:17.749856 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Undefined variable $method in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/o-projektu/[Tue Sep 19 11:31:17.749884 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Attempt to read property "class" on null in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/o-projektu/[Tue Sep 19 11:31:17.749953 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Undefined variable $method in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/o-projektu/[Tue Sep 19 11:31:17.749983 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Attempt to read property "class" on null in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/o-projektu/[Tue Sep 19 11:31:17.750063 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Undefined variable $method in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/o-projektu/[Tue Sep 19 11:31:17.750094 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Attempt to read property "class" on null in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/o-projektu/[Tue Sep 19 11:31:17.750181 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Undefined variable $method in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/o-projektu/[Tue Sep 19 11:31:17.750213 2023] [php:warn] [pid 7148] [client 164.8.251.237:53983] PHP Warning: Attempt to read property "class" on null in /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 51, referer: https://sitename.com/o-projektu/
       ```
   
 * What is the latest PHP version supported by Elementor and Elementor Pro?
   Will
   open another ticket, as this one was previously marked as resolved.
 *  [ExecuServices](https://wordpress.org/support/users/mpratt62/)
 * (@mpratt62)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/elementor-php-8-1/page/2/#post-17081593)
 * I like how Elementor marked this as resolved. Here is a detailed response from
   Plesk support as to why I am having all kinds of issues with Elementor, and it
   comes down to Elementor Deprecated code for PHP 8.x and WP-CLI (among other things):
   ——-
 * Hello Michael,
    I acknowledge your frustration, and I want to assure you that
   we are committed to finding a solution to this issue. However, it’s important
   to note that the ultimate resolution needs to originate from Elementor’s end,
   as their plugin is causing a PHP fatal error when used with PHP 8.x version, 
   this prevents wp-cli from being able to work. WP-CLI is the official command-
   line tool for handling and managing WordPress websites. Maybe it would be a good
   idea to inquire with them about their plans to address the issue outlined here(
   [https://wordpress.org/support/topic/elementor-php-8-1/](https://wordpress.org/support/topic/elementor-php-8-1/)).
   There are numerous other affected clients eagerly awaiting a solution, and it’s
   evident that the error originates from their end, logs are really clear on this
   aspect. It’s worth noting that individuals are experiencing the same problem 
   even if they are not using Plesk. Therefore, it seems unusual for them to attribute
   the issue to your ‘hosting provider auto-login feature’.
 * > The thread you linked to is 10 months old… Elementor does not give a flying
   > F. Here is there response to your email:
 * ![](https://i0.wp.com/execuservices.net/img/2023-09-19_19-25-29.png?ssl=1)
 * Indeed, the thread has been active for 10 months, and Elementor has yet to resolve
   the problem. If you scroll down, you’ll notice that people have been expressing
   their concerns as recently as 2 days ago.
 * > Since there IS a method that I am able to use on Plesk, can we just use that
   > method going forward?
   > I am confused how a plugin with some deprecated code can blow up the functionality
   > of WP-Toolkit? Why would the code inside of ANY plugin be able to BREAK the
   > main way you use to login to the websites? It seems like the method that is
   > being deprecated is SIGNIFICANTLY superior because of this limitation… right?
 * Let me clarify the situation: When using the Active List, everything functions
   as expected because Plesk employs an internal method to retrieve the login details.
   However, this approach is less than ideal, especially considering that the Active
   List view is slated for deprecation in the near future. On the contrary, the 
   same cannot be said for the new Dynamic List. In order to achieve a more efficient
   and standardized process, it relies on the default wp-cli command line for its
   operations, which is utilized by the WP-Toolkit Login mechanism as well.
    In 
   summary, their response doesn’t hold up. The fact remains that the Elementor 
   Pro plugin indeed has a significant issue, leading to a PHP fatal error. This
   error disrupts the functionality of the wp-cli (WordPress command-line interface),
   and our attempts to use the login-url method clearly demonstrate its failure,
   attributable to a bug or incompatibility with newer PHP version 8.x. For instance,
   this is the command being run by wp-cli
 *     ```wp-block-code
       /wp-cli/wpt-wp-cli.php --path=/var/www/vhosts/[redacted]/httpdocs --no-color instance login-url --skip-plugins=false --format=json 
       ```
   
 * It fails while generating the json file, because there’s a PHP fatal error on
   the plugin level:
 *     ```wp-block-code
       Syntax error 
       JSON: "https:\/\/[redacted]\/wp-login.php" 
       PHP: 2023-09-19 13:36:23 [notice X 0][/var/www/vhosts/[redacted]/httpdocs/wp-content/plugins/elementor-pro/core/editor/editor.php::118] Using ${var} in strings is deprecated, use {$var} instead [array ( 
         'trace' => ' 
       #0: Elementor\Core\Logger\Manager -> shutdown() 
       ', 
       )] 
       ```
   
 * > Is Plesk essentially saying: “Pay for WP-Toolkit, it will work as long as WordPress
   > and all the plugins you want to use are coded to our specifications only!”
 * I want to clarify that Plesk is simply utilizing the standard wp-cli method when
   attempting to auto-login to the instance. It’s important to note that wp-cli 
   is not developed by Plesk; you can find more information about wp-cli here: [https://developer.wordpress.org/cli/commands/](https://developer.wordpress.org/cli/commands/)
   
   So we would suggest reaching out to their support again showing all the facts
   outlined above, in case they still refuse to acknowledge the problem then you
   might need to Temporarily switch the website to PHP 7.x, as other people suggested
   that all works on older PHP versions. Hope it helps Michael!

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/elementor-php-8-1/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/elementor-php-8-1/page/2/?output_format=md)

The topic ‘Elementor & PHP 8.1’ 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/)

 * 19 replies
 * 16 participants
 * Last reply from: [Michael Sutter](https://wordpress.org/support/users/michih/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/elementor-php-8-1/page/2/#post-17190726)
 * Status: resolved