Fatal error: Uncaught ReflectionException: Method get_site_editor_type does not exist
Change the 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 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 … Read more