Error 500 in My account

Issue #558 resolved
Thomas Scotti created an issue

I thought it's was the same thing as the issues i answered just before but no.

I have an 500 error when I go to "my account" after change my data file from a server to another.

Call to a member function getEditPath() on null
Symfony\Component\Debug\Exception\ FatalThrowableError
in src/AppBundle/Controller/MyController.php (line 69)
            'inm' => $in,
            'inSum' => array_sum($in),
            'inAverage' => array_sum($in) / $days,
            'edit_path' => $this->sieve->getSieve($box)->getEditPath()
        );
    }
    /**
     * Displays a form to edit an existing Box entity.

Comments (2)

  1. Log in to comment