|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2011-04-28 17:39 UTC] kjakobi at goodgamestudios dot com
Description: ------------ I get the following randomly: PHP Fatal error: Access to undeclared static property: Ggs\Sns\Uri::$inst Ggs\Sns\Uri::$inst exists. The error only occurs sometimes. Is there a memory problem or something like that? Exact Version ist 3.5.6-8 (unstable on debian) Test script: --------------- Thats not possible PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 11 10:00:02 2025 UTC |
$php -r "print_r(get_loaded_extensions());" Array ( [0] => Core [1] => date [2] => ereg [3] => libxml [4] => openssl [5] => pcre [6] => zlib [7] => bcmath [8] => bz2 [9] => calendar [10] => ctype [11] => dba [12] => dom [13] => hash [14] => fileinfo [15] => filter [16] => ftp [17] => gettext [18] => SPL [19] => iconv [20] => json [21] => mbstring [22] => pcntl [23] => session [24] => posix [25] => Reflection [26] => standard [27] => shmop [28] => SimpleXML [29] => soap [30] => sockets [31] => Phar [32] => exif [33] => sysvmsg [34] => sysvsem [35] => sysvshm [36] => tokenizer [37] => wddx [38] => xml [39] => xmlreader [40] => xmlwriter [41] => zip [42] => curl [43] => gd [44] => imap [45] => mcrypt [46] => mysql [47] => mysqli [48] => PDO [49] => pdo_mysql [50] => suhosin [51] => mhash )I see this as well, for me it happens all the time... I have this code: --- namespace SquadMixer; use Glint\CommonMagic\DataFormatter as DataFormatter; use Glint\CommonMagic\Debugging as Debugging; use Glint\CommonMagic\GlintException as GlintException; //{{{ Registrar class Registrar extends ModelEntity { private static $REGISTRATION = 0; private static $UPDATE = 1; private static $PASSWORD_REQUEST = 2; ... --- self::$REGISTRATION and self::$UPDATE always work. self::$PASSWORD_REQUEST always fail with: PHP Fatal error: Access to undeclared static property: SquadMixer\\Registrar::$PASSWORD_REQUEST Strangest thing ever...