denise: Image: Me, facing away from camera, on top of the Castel Sant'Angelo in Rome (Default)
Denise ([staff profile] denise) wrote in [site community profile] dw_styles2010-10-24 01:17 pm

Error while previewing

With this last code push, if you're using a core1 journal style -- one imported from LiveJournal or another LJ-based website -- some people are receiving an error when previewing posts:

Error running style: Died in S2::run_code running EntryPage::print(): Can't use string ("") as a subroutine ref while "strict refs" in use at (eval 1872)[/home/dw/current/src/s2/S2.pm:201] line 1096

It appears to be happening when you use an imported core1 journal style and have custom comment pages turned on.

If this is happening to you, you can fix it by recompiling your layout layer. If you don't know what that means:

1). Go to http://www.dreamwidth.org/customize/advanced/layers and find the style you're using. (If you have more than one there, which you probably will: look for the one that says it's a "Child of layer 1: LiveJournal S2 Core, v1")

2). Hit the 'edit' button.

3). Once that loads, hit "Save and compile" (it's in the top bar)

That should make it work again!
fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)

[personal profile] fu 2010-10-24 05:29 pm (UTC)(link)
Thanks for posting <3
trobadora: (Default)

[personal profile] trobadora 2010-10-24 05:34 pm (UTC)(link)
It happened to me too, with a core1 style migrated to core2. Recompiling the layout layer did the trick, thank you!
rydra_wong: "dreamwidth" on green/red background (dreamwidth -- green)

[personal profile] rydra_wong 2010-10-24 06:04 pm (UTC)(link)
\o/ It works! I was wondering about that ...
aurora: (Default)

[personal profile] aurora 2010-10-27 01:45 pm (UTC)(link)
Thanks for this!!
chagrined: Marvel comics: zombie!Spider-Man, holding playing cards, saying "Brains?" (brains?)

[personal profile] chagrined 2010-10-28 06:06 pm (UTC)(link)
Thanks :)
megyal: (Default)

[personal profile] megyal 2010-10-30 03:02 am (UTC)(link)
Thank you!