Login
Nick
Passwort
Neuen Account erstellen

Ninja DatenInventarAccount-DatenAnfragenEigenentwicklungen
AccountdatenDateneinsichtAktivitätspunkteChataccountsLöschung

Typed property UserData::$mail must not be accessed before initialization (500 Internal Server Error)

Symfony Exception

Typed property UserData::$mail must not be accessed before initialization

Exception

Error

in Data.php/ (line 54)
  1. <tr>
  2. <td valign='top' colspan=\"4\"><u><b>Kontaktdaten</b></u></td>
  3. </tr>
  4. <tr>
  5. <td valign='top' width=\"20%\">E-Mail</td>
  6. <td valign='top' width=\"30%\"><input type=\"text\" name=\"mail\" size=\"20\" value=\"$dorfs->mail\">";if($dorfs->mailBest != '1'){echo '<br><font color=red>nicht bestätigt!</font>(Bestätigungsmail anfordern)<input type="checkbox" name="bestMail" value="1">';}
  7. echo "</tr>";
  8. echo "<tr>
  9. <td valign='top' width=\"20%\">Geworben von </td>
  10. <td valign='top' width=\"30%\">"; if($dorfs->geworbenVon == 0){echo "<input type=\"text\" name=\"werb\" size=\"20\" placeholder=\"Charaktername\"> oder Keinem:".'<input type="checkbox" name="werbNoone" value="1">';}
  11. elseif($dorfs->geworbenVon == 1){ echo 'niemandem.'; } else {
require() in src/Legacy/LegacyBridge.php (line 31)
  1. $p = $request->getPathInfo();
  2. $_SERVER['PHP_SELF'] = $p;
  3. $_SERVER['SCRIPT_NAME'] = $p;
  4. $_SERVER['SCRIPT_FILENAME'] = $legacyScriptFilename;
  5. require $legacyScriptFilename;
  6. }
  7. /**
  8. * @throws \Exception
  9. */
LegacyBridge::handleRequest() in public/index.php (line 29)
  1. $response = $kernel->handle($request);
  2. if ($response->isNotFound() === false) {
  3. $response->send();
  4. } else {
  5. LegacyBridge::handleRequest($request);
  6. }
  7. $kernel->terminate($request, $response);

Stack Trace

Error
Error:
Typed property UserData::$mail must not be accessed before initialization

  at Data.php/:54
  at require()
     (src/Legacy/LegacyBridge.php:31)
  at NarutoRPG\Legacy\LegacyBridge::handleRequest()
     (public/index.php:29)