Login
Nick
Passwort
Neuen Account erstellen
www.narutogame.de Einbauten der Puppenspieler

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

Symfony Exception

Typed property CharacterData::$name must not be accessed before initialization

Exception

Error

in Waffen.php/ (line 325)
  1. <tbody>
  2. ";
  3. if($dorfs->admin >= 2){
  4. $sql = "SELECT * FROM Itemsk WHERE Perso = '0' ORDER BY Name";
  5. }else{
  6. $sql = "SELECT * FROM Itemsk WHERE Perso = '0' AND Wokaufen != '' AND (Useronly = '' || Useronly = '".$dorfs2->name."') AND (Land = '' || Land LIKE '%".$dorfs2->Heimatdorf."%') ORDER BY Name";
  7. }
  8. $query = mysql_query($sql);
  9. while ($row = mysql_fetch_array($query))
  10. {
  11. $Itemid = $row["id"];
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

Name
Beschreibung
Error
Error:
Typed property CharacterData::$name must not be accessed before initialization

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