-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Runtime notice: Non-static method #256
Comments
bitte Quelltext und Fehlerausgaben in "drei Ticks" setzen - siehe https://guides.github.com/features/mastering-markdown/#examples => "Code" Du solltest auch schreiben, dass Du mit MetaModels gearbeitet hast - der DCG wird auch in anderen Projekten verwendet! Es ist nicht erkennbar. welche Attribute Du in MM verwendest, und ob es auf ein bestimmtes Attribut ankommt. Wie soll die Umgebung nach gebaut werden, damit der Fehler reproduziert werden kann? |
- public function getConfig()
+ public static function getConfig()
{
if (!self::$config) {
return self::$config = Config::getInstance();
}
return self::$config;
} |
Das hat den Fehler behoben. Gewaltig!! |
m.E. sollte dann auch folgendes "richtiger" sein - public function setConfig(Config $config)
+ public static function setConfig(Config $config)
{
self::$config = $config;
} aber da sollte @discordier oder @dmolineus nochmal drüber gucken... |
Der Fehler passiert in der Methode |
Should be fixed with the hotfix 35. Can you please test it. |
hat Schnubl getestet - funktioniert... |
Hallo,
ich hab heute ein Update gemacht und erhalte nun diese Fehlermeldung wenn ich im backend einen neuen Eintrag hinzufügen möchte:
System:
Hat jemand eine Ahnung woran das liegt?
Das Update vom DCG auf 35 hat keinen Unterschied gemacht.
The text was updated successfully, but these errors were encountered: