Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-11833

Twig error while viewing user notes

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-dev
    • Fix Version/s: 3.1.0-a1
    • Labels:
      None
    • Environment:
      PHP 5.4.12

      Description

      When attempting to view a user's notes in the MCP, the following error is thrown:

      Fatal error: Uncaught exception 'Twig_Error_Syntax' with message 'Unknown tag name "else" in "mcp_notes_user.html" at line 87' in C:\wamp\www\phpBB31\vendor\twig\twig\lib\Twig\Parser.php on line 186
      Twig_Error_Syntax: Unknown tag name "else" in "mcp_notes_user.html" at line 87 in C:\wamp\www\phpBB31\vendor\twig\twig\lib\Twig\Parser.php on line 186

      Call Stack
      #	Time	Memory	Function	Location
      1	0.0029	268896	{main}( )	..\mcp.php:0
      2	0.2975	6843560	p_master->display( )	..\mcp.php:251
      3	0.3389	7539088	page_footer( )	..\functions_module.php:925
      4	0.3466	7803920	phpbb_template_twig->display( )	..\functions.php:5526
      5	0.3472	7819552	Twig_Environment->display( )	..\twig.php:269
      6	0.3472	7819576	phpbb_template_twig_environment->loadTemplate( )	..\Environment.php:299
      7	0.3472	7819672	Twig_Environment->loadTemplate( )	..\environment.php:122
      8	0.3478	7824752	Twig_Environment->compileSource( )

        Attachments

          Activity

            People

            • Assignee:
              EXreaction EXreaction [X] (Inactive)
              Reporter:
              Noxwizard Patrick Webster
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: