Announcement

Symphony's issue tracker has been moved to Github.

Issues are displayed here for reference only and cannot be created or edited.

Browse

Closed#402: Undefined variable: markdown in class.errorhandler.php

On symphony error page:

Notice: Undefined variable: markdown in /symphony/lib/core/class.errorhandler.php on line 48

class.errorhandler.php:

public static function render($e){

$lines = NULL;
$odd = true;

$markdown .= "t" . $e->getMessage() . "n";
$markdown .= "t" . $e->getFile() . " line " . $e->getLine() . "nn";

Fix:

    $markdown  = "t" . $e->getMessage() . "n";
$markdown .= "t" . $e->getFile() . " line " . $e->getLine() . "nn";

My symphony version: 2.1.1

class.errorhandler.php - official Symphony repository on github

I think this is only really relevant for PHP5.3, but nevertheless, fixed in this commit

This issue is closed.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details