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!

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org