I'm migrating my refinerycms project to production and i'm now getting the error
NoMethodError in Refinery/admin/pages#index
Showing /var/www/vhosts/tomstestsite.us/PersonalTrainingKT/app/views/refinery/admin/pages/_page.html.erb where line #10 raised:
undefined method `title_with_meta' for #<Refinery::Page:0x000000083d5538>
Extracted source (around line #10):
7: <% end %>
8:
9: <span class='title <%= 'toggle' if page.children.present? %>'>
10: <%= page.title_with_meta.html_safe %>
11: <% if Refinery.i18n_enabled? and Refinery::I18n.frontend_locales.many? %>
12: <span class='preview'>
13: <% page.translations.each do |translation| %>
What would cause this error?
The error is caused by the fact that Refinery::Page does not have a title_with_meta method defined on it. Not sure what version you're using, but as of this commit, title_with_meta was moved to the page helper.