Title: Rahul Kumar's Replies | WordPress.org

---

# Rahul Kumar

  [  ](https://wordpress.org/support/users/adminwebdev/)

 *   [Profile](https://wordpress.org/support/users/adminwebdev/)
 *   [Topics Started](https://wordpress.org/support/users/adminwebdev/topics/)
 *   [Replies Created](https://wordpress.org/support/users/adminwebdev/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/adminwebdev/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/adminwebdev/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/adminwebdev/engagements/)
 *   [Favorites](https://wordpress.org/support/users/adminwebdev/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Fatal error: Uncaught ReflectionException:](https://wordpress.org/support/topic/fatal-error-uncaught-reflectionexception-4/)
 *  [Rahul Kumar](https://wordpress.org/support/users/adminwebdev/)
 * (@adminwebdev)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-reflectionexception-4/#post-16631930)
 * [@haroonmohal](https://wordpress.org/support/users/haroonmohal/)
   Hey haroonmohal..
   yes if you change the plugin name after that you will access the dashboard ..
   but it’s not a permanent.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Fatal error: Uncaught ReflectionException:](https://wordpress.org/support/topic/fatal-error-uncaught-reflectionexception-4/)
 *  [Rahul Kumar](https://wordpress.org/support/users/adminwebdev/)
 * (@adminwebdev)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-reflectionexception-4/#post-16631908)
 * **Change the code**
 *     ```wp-block-code
       $reflection = new \ReflectionClass( $class_name ); //45 line
       $method = $reflection->getMethod( 'get_site_editor_type' );
   
       // It's own method, use it.
       if ( $class_name === $method->class ) {
           return static::get_site_editor_type();
       }
       ```
   
 * **By**
 *     ```wp-block-code
       if (method_exists($class_name, "get_site_editor_type")) {
           $reflection = new \ReflectionClass( $class_name );
           $method = $reflection->getMethod( 'get_site_editor_type' );
   
           // It's own method, use it.
           if ( $class_name === $method->class ) {
               return static::get_site_editor_type();
           }
       }
       ```
   
 * **elementor-pro file:**
   /home/customer/www/captainhookssushi.com/public_html/
   wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.
   php:45Guys in my case it’s working fine.I think if you will use this code then
   your issue will be solved.
 * Thanks

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