Help - Search - Members - Calendar
Full Version: Preview Error
Movable Type Community Forum > Other Product Discussion > Bugs and Odd Behavior
soliloqueer
When I click the "preview" button to preview a post I'm working on, I get this error:

Can't call method "entry_based" on an undefined value at lib/MT/Template/ContextHandlers.pm line 4547.

I don't know if this is a bug, or something I've simply screwed up.

I am using Movable Type 4.01, this worked in Movable Type 4.0, and as far as I know, I haven't done anything different with any templates or settings since I upgraded.

Any ideas?
shelley
Are you using the MTArchiveTitle tag in an Individual Entry Archive template? Try replacing any instances of it in that template with MTEntryTitle instead.
soliloqueer
QUOTE (shelley @ Nov 27 2007, 04:00 PM) *
Are you using the MTArchiveTitle tag in an Individual Entry Archive template? Try replacing any instances of it in that template with MTEntryTitle instead.


huh.gif

Yes, that was the problem... thank you. Thank you thank you thank you thank you. I've been driving myself completely insane trying to figure this out.

biggrin.gif
mashby
I had the same problem as well, so I'll just jump on the pile of thank you's with soliloqueer...


THANK YOU THANK YOU THANK YOU

biggrin.gif

will-x
QUOTE (shelley @ Nov 27 2007, 05:00 PM) *
Are you using the MTArchiveTitle tag in an Individual Entry Archive template? Try replacing any instances of it in that template with MTEntryTitle instead.


Can you please clarify this? We just upgraded from MT 4.0 to 4.13 and now I'm having the same "can't call method 'entry_based'..." problem.

I've gone through each of the templates under Design > Templates and made the change from "MTArchiveTitle" to "MTEntryTitle", saved & published each template and am still getting the error.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.