ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

EE 2.7 to 2.7.1 Upgrade Problem - Undefined variable: template_group

September 26, 2013 12:38am

Subscribe [1]
  • #1 / Sep 26, 2013 12:38am

    arvinsim

    23 posts

    I had this error in one page that I have after upgrade.

    A PHP Error was encountered
    Severity: Notice
    Message: Undefined variable: template_group
    Filename: libraries/Template.php
    Line Number: 1959
    
    A PHP Error was encountered
    Severity: Notice
    Message: Undefined variable: template
    Filename: libraries/Template.php
    Line Number: 1959

    Anyone has an idea what the problem is here?

    —————————————————————————————————————
    An Observation that might be useful or not

    Looking at libraries/Template.php, it seems to me that there is a chance that $template_group and $template will not be set based on the scope and conditionals. Is this wrong?

  • #2 / Sep 26, 2013 3:52am

    arvinsim

    23 posts

    Somehow I got duplicate template groups. I just deleted the duplicates and now it works.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases