Parse error in adminfunctions_template.php 3537

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bi11i
    Senior Member
    • Sep 2004
    • 135
    • 3.0.7

    Parse error in adminfunctions_template.php 3537

    I see this periodically in my php error logs. I can't seem to find what could be wrong. I've reupped all my files, etc.

    Any ideas?
    Code:
    <!--StartFragment-->PHP Parse error:  parse error, unexpected ')', expecting ']' in /home/mysite/includes/adminfunctions_template.php(3537) : eval()'d code on line 58
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    Have you tried to enter invalid code into a template recently? Upon saving a template, the software checks for valid syntax and can return errors.

    Comment

    • bi11i
      Senior Member
      • Sep 2004
      • 135
      • 3.0.7

      #3
      Yes, that's it, thanks. That I can live with (although that is a bug, isn't it?)

      Comment

      • Jake Bunce
        Senior Member
        • Dec 2000
        • 46598
        • 3.6.x

        #4
        Not a bug. It is normal behavior for the software to return errors on invalid template code.

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...