Title: Got Error when enable this plugin
Last modified: October 19, 2022

---

# Got Error when enable this plugin

 *  Resolved [prokulit06](https://wordpress.org/support/users/prokulit06/)
 * (@prokulit06)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/got-error-when-enable-this-plugin/)
 * Hi Support,
    I tried to enable this plugin, but then I got “There has been a 
   critical error on this website.” My site is built using Elementor so it is supported
   in the plugin right?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgot-error-when-enable-this-plugin%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

1 [2](https://wordpress.org/support/topic/got-error-when-enable-this-plugin/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/got-error-when-enable-this-plugin/page/2/?output_format=md)

 *  Plugin Author [AMP Enhancer](https://wordpress.org/support/users/ampenhancer/)
 * (@ampenhancer)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/got-error-when-enable-this-plugin/#post-16217818)
 * Sorry for the inconvenience and very sorry for the delay in response. Can you
   please enable the debug mode at your end and send us the error log kindly? So
   that we will fix it accordingly to resolve your issue.
 *  Plugin Author [AMP Enhancer](https://wordpress.org/support/users/ampenhancer/)
 * (@ampenhancer)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/got-error-when-enable-this-plugin/#post-16322990)
 * We haven’t heard back from you in a while. Can you please enable the debug mode
   at your end and send us the error log kindly? So that we will fix it accordingly
   to resolve your issue.
 *  Thread Starter [prokulit06](https://wordpress.org/support/users/prokulit06/)
 * (@prokulit06)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/got-error-when-enable-this-plugin/#post-16323969)
 * The site is on live i cannot enable amp because it can cause error maybe i can
   just copy and paste the error? sorry for late reply.
 *  Plugin Author [AMP Enhancer](https://wordpress.org/support/users/ampenhancer/)
 * (@ampenhancer)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/got-error-when-enable-this-plugin/#post-16328178)
 * Well. Please share, So that we will go through it and assist you to fix the issue
   immediately.
 *  Thread Starter [prokulit06](https://wordpress.org/support/users/prokulit06/)
 * (@prokulit06)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/got-error-when-enable-this-plugin/#post-16329379)
 * This is the error. I tried the amp enhancer to my staging site.
 * Error Details
   =============An error of type E_ERROR was caused in line 48 of 
   the file /home/redriverpos/[staging.supplementforall.info/wp-content/plugins/amp-enhancer/pagebuilders/elementor/themebuilder/theme-document.php](http://staging.supplementforall.info/wp-content/plugins/amp-enhancer/pagebuilders/elementor/themebuilder/theme-document.php).
   Error message: Uncaught ReflectionException: Method get_site_editor_type does
   not exist in /home/redriverpos/[staging.supplementforall.info/wp-content/plugins/amp-enhancer/pagebuilders/elementor/themebuilder/theme-document.php:48](http://staging.supplementforall.info/wp-content/plugins/amp-enhancer/pagebuilders/elementor/themebuilder/theme-document.php:48)
   Stack trace:#0 /home/redriverpos/[staging.supplementforall.info/wp-content/plugins/amp-enhancer/pagebuilders/elementor/themebuilder/theme-document.php(48)](http://staging.supplementforall.info/wp-content/plugins/amp-enhancer/pagebuilders/elementor/themebuilder/theme-document.php(48)):
   ReflectionClass->getMethod(‘get_site_editor…’)#1 /home/redriverpos/[staging.supplementforall.info/wp-content/plugins/amp-enhancer/pagebuilders/elementor/themebuilder/theme-document.php(129)](http://staging.supplementforall.info/wp-content/plugins/amp-enhancer/pagebuilders/elementor/themebuilder/theme-document.php(129)):
   ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document::get_site_editor_type_bc()#
   2 /home/redriverpos/[staging.supplementforall.info/wp-content/plugins/elementor/core/common/modules/finder/categories/create.php(94)](http://staging.supplementforall.info/wp-content/plugins/elementor/core/common/modules/finder/categories/create.php(94)):
   ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document::get_create_url()#
   3 /home/redriverpos/[staging.supplementforall.info/wp-content/plugins/elementor/core/common/modules/finder/categories/create.php(67)](http://staging.supplementforall.info/wp-content/plugins/elementor/core/common/modules/finder/categories/create.php(67)):
   Elementor\Core\Common\Modules\
 *  Plugin Author [AMP Enhancer](https://wordpress.org/support/users/ampenhancer/)
 * (@ampenhancer)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/got-error-when-enable-this-plugin/#post-16340867)
 * Sorry for the inconvenience. Can you please let us know by deactivating other
   plugins one by one on your site and let us know back which one is causing these
   errors? So that we will reproduce this issue at our end and assist you to fix
   the issue. Please share the additional details to recreate this.
 *  Thread Starter [prokulit06](https://wordpress.org/support/users/prokulit06/)
 * (@prokulit06)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/got-error-when-enable-this-plugin/#post-16343178)
 * These are the plugins that are installed on that site. I already tried that AMP
   enhancer and Elementor only but still has an error.
 * ![](https://prnt.sc/8Yfe8ivUmpxf)
 * ![](https://prnt.sc/8b39F-gvDiDM)
 *  Plugin Author [AMP Enhancer](https://wordpress.org/support/users/ampenhancer/)
 * (@ampenhancer)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/got-error-when-enable-this-plugin/#post-16349722)
 * We have tried to recreate this issue on our end but didn’t get the mentioned 
   errors. Can you please let us know the theme that you are using and also only
   the elementor and amp enhancer plugins only are you using? So that we will test
   the same and assist you to fix the issue.
 *  Thread Starter [prokulit06](https://wordpress.org/support/users/prokulit06/)
 * (@prokulit06)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/got-error-when-enable-this-plugin/#post-16351515)
 * Hi Support,
   Here is the error I created a fresh new site and installed only these
   plugins
 * Plugins Screenshot: [https://prnt.sc/Fu38urAK4_v4](https://prnt.sc/Fu38urAK4_v4)
   
   Error Screenshot: [https://prnt.sc/Tjs8ZYVRES3f](https://prnt.sc/Tjs8ZYVRES3f)
 *  Plugin Author [AMP Enhancer](https://wordpress.org/support/users/ampenhancer/)
 * (@ampenhancer)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/got-error-when-enable-this-plugin/#post-16377716)
 * Sorry for the delay in response. Can you please let me know the wordpress theme
   which you are using currently at your end?
 *  Thread Starter [prokulit06](https://wordpress.org/support/users/prokulit06/)
 * (@prokulit06)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/got-error-when-enable-this-plugin/#post-16379194)
 * I use hello elementor theme. In that site.
 *  Plugin Author [AMP Enhancer](https://wordpress.org/support/users/ampenhancer/)
 * (@ampenhancer)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/got-error-when-enable-this-plugin/#post-16392963)
 * Thanks for the information. We have recreated this at our end and raised the 
   GitHub ticket in our repository. We will fix this and get back to you with an
   update once we fixed the issues.
 * Here is the reference ticket to track the updates: [https://github.com/ahmedkaludi/amp-enhancer/issues/73](https://github.com/ahmedkaludi/amp-enhancer/issues/73)
 *  Thread Starter [prokulit06](https://wordpress.org/support/users/prokulit06/)
 * (@prokulit06)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/got-error-when-enable-this-plugin/#post-16550818)
 * Still no updates in the ticket
 *  [Magazine3](https://wordpress.org/support/users/magazine3/)
 * (@magazine3)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/got-error-when-enable-this-plugin/#post-16568193)
 * .
 *  Plugin Author [AMP Enhancer](https://wordpress.org/support/users/ampenhancer/)
 * (@ampenhancer)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/got-error-when-enable-this-plugin/page/2/#post-16568195)
 * Hi, We will fix this issue and once it gets fixed then we will get back to you
   with an update.

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

1 [2](https://wordpress.org/support/topic/got-error-when-enable-this-plugin/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/got-error-when-enable-this-plugin/page/2/?output_format=md)

The topic ‘Got Error when enable this plugin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/amp-enhancer_8a8fe7.svg)
 * [AMP Enhancer - Compatibility Layer for Official AMP Plugin](https://wordpress.org/plugins/amp-enhancer/)
 * [Support Threads](https://wordpress.org/support/plugin/amp-enhancer/)
 * [Active Topics](https://wordpress.org/support/plugin/amp-enhancer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amp-enhancer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amp-enhancer/reviews/)

 * 20 replies
 * 4 participants
 * Last reply from: [AMP Enhancer](https://wordpress.org/support/users/ampenhancer/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/got-error-when-enable-this-plugin/page/2/#post-16806654)
 * Status: resolved