Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-11833

Twig error while viewing user notes

XMLWordPrintable

      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( )

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

              Created:
              Updated:
              Resolved: