No. That is line 31. Not important, but it seems like your text editor is ignoring the first line, or perhaps starting with line 0.
Regardless, in that vicinity should be this block of code:
$controller = new WT_Controller_Page();
$controller
->requireAdminLogin()
->setPageTitle(WT_I18N::translate('Manage family trees'));
(And don’t forget to copy it from the forum not the email)
I think the last file I sent may have had a typo (“rerequire”) though, so whatever you find, use the above instead.
Whatever you have, make sure it is exactly that.