Morgan Bearheart... Touched by Eris (elfwench) wrote in component_help,
Morgan Bearheart... Touched by Eris

  • Mood:

Hm... Error when trying to fix Layer? Little help, please?

EDIT: SOLVED! Thanks to hellokimberly

I just tried to implement these changes in my layer (one I'm working on and will change to as soon as it's finished) and I ended up with the following error:
 S2 Compiler Output at Thu Mar 16 14:36:22 2006
Error compiling layer:

Compile error: line 728, column 4: Right hand side of   operator is Entry, not a string or integer
  S2::NodeSum, S2/, 84
  S2::NodeSum, S2/, 64
  S2::NodeTerm, S2/, 76
  S2::NodeTerm, S2/, 66
  S2::NodeExpr, S2/, 46
  S2::NodePrintStmt, S2/, 55
  S2::NodeStmtBlock, S2/, 101
  S2::NodeFunction, S2/, 230
  S2::Checker, S2/, 339
  S2::Compiler, S2/, 34


724:     }
725:   }
727:   # Print the entry text.
728:   """ $e->print_text(); """;
730:   # If metadata is at bottom, stick it here
731:   if ($have_meta) {
732:     if($meta_pos == "bottom") {


The only change I made was changing the $e.text to $e->print_text();

I take it that the fix isn't as simple as it seems?

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened