PHP notice

Undefined index: pluginClass

/home/sondages.pro/htdocs/limesurvey_GIT/206/application/controllers/PluginsController.php(177)

165         $oPluginManager = App()->getPluginManager();
166 
167         // Scan the plugins folder.
168         $aDiscoveredPlugins = $oPluginManager->scanPlugins();
169         $aInstalledPlugins  = $oPluginManager->getInstalledPlugins();
170         $aInstalledNames    = array_map(function ($installedPlugin) {
171                 return $installedPlugin->name;
172             }, $aInstalledPlugins);
173 
174         // Install newly discovered plugins.
175         foreach ($aDiscoveredPlugins as $discoveredPlugin)
176         {
177             if (!in_array($discoveredPlugin['pluginClass'], $aInstalledNames))
178             {
179                 $oPlugin         = new Plugin();
180                 $oPlugin->name   = $discoveredPlugin['pluginClass'];
181                 $oPlugin->active = 0;
182                 $oPlugin->save();
183             }
184         }
185 
186         $aoPlugins = Plugin::model()->findAll();
187         $data      = array();
188         foreach ($aoPlugins as $oPlugin)
189         {

Stack Trace

#12
+
 /home/sondages.pro/htdocs/limesurvey_GIT/206/index.php(200): CApplication->run()
195         die (sprintf('%s should be writable by the webserver (755 or 775).', $runtimePath));
196     }
197 }
198 
199 
200 Yii::createApplication('WebApplication', $config)->run();
201 /* End of file index.php */
202 /* Location: ./index.php */
2015-01-28 15:06:06 Apache/2.2.22 (Debian) Yii Framework/1.1.15
Sommaire du rapport de profilage (Durée: 0.16101s, Memoire: 7,507KB)
Fonction Nb Total (s) Moy. (s) Min. (s) Max. (s)
scanPlugins 1 0.00261 0.00261 0.00261 0.00261