Skip to content

ActionView::Template::Error: undefined method `formatted_data' for #<Gitlab::Git::WikiPage:0x00007f5a9845be70>

https://sentry.gitlap.com/gitlab/gitlabcom/issues/86756/

NoMethodError: undefined method `formatted_data' for #<Gitlab::Git::WikiPage:0x00007f5a9845be70>
  app/models/wiki_page.rb:110:in `formatted_content'
    @attributes[:formatted_content] ||= @page&.formatted_data
  app/helpers/markup_helper.rb:116:in `render_wiki_content'
    wiki_page.formatted_content.html_safe
  app/views/projects/wikis/show.html.haml:29:in `_app_views_projects_wikis_show_html_haml___511944630574856858_70013518974120'
    = render_wiki_content(@page)
  app/controllers/projects/wikis_controller.rb:16:in `show'
    render 'show'
  lib/gitlab/i18n.rb:47:in `with_locale'
    yield
...
(149 additional frame(s) were not displayed)

ActionView::Template::Error: undefined method `formatted_data' for #<Gitlab::Git::WikiPage:0x00007f5a9845be70>

ActionView::Template::Error: undefined method `formatted_data' for #<Gitlab::Git::WikiPage:0x00007f5a9845be70>

/cc @markglenfletcher