Ich habe meine App migriert und ich habe Problem nicht statische Methode Error 500 Nicht statische Methode UFactory :: getModuleAlias () sollte nicht sein statisch aufgerufenNicht statische Methode UFactory :: getModuleAlias () sollte nicht statisch Uniprogy Yü genannt werden
Ich habe das debug auf True geändert definiert ('YII_DEBUG') oder definieren ('YII_DEBUG', wahr); dann bekam ich einen Fehler
Nicht statische Methode UFactory :: getModuleAlias () sollte nicht statisch
/home/tradertrga/www/_CRM/Rahmen/uniprogy/Rahmen/base/UFactory genannt werden .php (88)
076
077 $alias = '.'.rtrim($alias,'.');
078 $paths = explode('.',substr($alias,0,strrpos($alias,'.')));
079 $itemName = substr($alias,strrpos($alias,'.')+1);
080
081 $className = '';
082
083 $id = explode('/',$module->getId());
084 $id = implode('',array_map('ucfirst',$id));
085 $className = $id . $className;
086
087 $path = 'application.modules.'
088 . str_replace('.','.modules.',self::getModuleAlias($module)).'.'.$type;
089 if(count($paths))
090 {
091 $path.= implode('.', $paths);
092 $className.= implode('', array_map('ucfirst',$paths));
093 }
094 $letter = strtoupper(substr($type,0,1));
095 $path.= '.'.$letter.$className.ucfirst($itemName);
096
097 self::saveToCache($key,array('module' => self::getModuleAlias($module),
098 'path' => $path));
099 }
Jede Art von Hilfe wird appreceate, ich habe in dieser Frage stecken.
Danke
https://github.com/khoa-le/uniprogy/blob/master/framework/uniprogy/framework/base/UFactory.php#L191 scheint, wie Sie alte Version bekam oder smthing. – ineersa