undefined constant path in admin/pages.php after upgrade to 1.9.1

Hi gang,

After upgrading to 1.9.1 started seeing this if you go to CP/ Pages:

Exception Raised

Use of undefined constant path - assumed 'path' in admin/themes/ascent/templates/pages.php on line 215

Looks like the constant definitions are missing prior to hitting the line.

<li>
    <a href="<?php print $app->urlFor('publish')?>?path=<%= path %>&new=true&fieldset=<?php print $fieldset ?>&type=none">
    <?php print $fieldset_data['title'] ?></a>
</li>

Environment

  • Statamic: 1.9.1
  • php: 5.5.18-1+deb.sury.org~trusty+1
Answered by Sergei Filippov!
>>>>>>> Answered <<<<<<<
3 Replies
0 Followers