PHP notice

Undefined variable: cacheKey

/usr/share/nginx/html/limesurvey/application/libraries/PluginManager/PluginManager.php(228)

216                             // Check if the base plugin file exists.
217                             // Directory name Example most contain file ExamplePlugin.php.
218                             $pluginName = $fileInfo->getFilename();
219                             $file = Yii::getPathOfAlias($pluginDir . ".$pluginName.{$pluginName}") . ".php";
220                             if (file_exists($file))
221                             {
222                                 $result[$pluginName] = $this->getPluginInfo($pluginName, $pluginDir);
223                             }
224                         }
225 
226                     }
227                 }
228                 \Yii::app()->cache->set($cacheKey, $plugins, 3600);
229             }
230 
231             return $result;
232         }
233 
234         /**
235          * Gets the description of a plugin. The description is accessed via a
236          * static function inside the plugin file.
237          *
238          * @param string $pluginClass The classname of the plugin
239          */
240         public function getPluginInfo($pluginClass, $pluginDir = null)

Stack Trace

#0
+
 /usr/share/nginx/html/limesurvey/application/controllers/PluginsController.php(168): ls\pluginmanager\PluginManager->scanPlugins()
163     public function actionIndex()
164     {
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 
#13
+
 /usr/share/nginx/html/limesurvey/index.php(208): CApplication->run()
203         die (sprintf('%s should be writable by the webserver (755 or 775).', $runtimePath));
204     }
205 }
206 
207 
208 Yii::createApplication('LSYii_Application', $config)->run();
209 
210 /* End of file index.php */
211 /* Location: ./index.php */
2015-02-08 05:08:04 nginx/1.4.6 Yii Framework/1.1.15
Application Log
Timestamp Level Category Message
05:08:04.138859 trace system.CModule
Loading "log" application component
05:08:04.140333 trace system.CModule
Loading "request" application component
05:08:04.144978 trace system.CModule
Loading "assetManager" application component
05:08:04.146481 trace system.CModule
Loading "urlManager" application component
05:08:04.146970 trace system.CModule
Loading "cache" application component
05:08:04.163578 trace system.CModule
Loading "session" application component
05:08:04.165750 trace system.CModule
Loading "db" application component
05:08:04.166285 trace system.db.CDbConnection
Opening DB connection
05:08:04.190495 trace system.db.CDbCommand
Querying SQL: SELECT a.attname, LOWER(format_type(a.atttypid, a.atttypmod))
AS type, d.adsrc, a.attnotnull, a.atthasdef,
	pg_catalog.col_description(a.attrelid, a.attnum) AS comment
FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND
a.attnum = d.adnum
WHERE a.attnum > 0 AND NOT a.attisdropped
	AND a.attrelid = (SELECT oid FROM pg_catalog.pg_class WHERE relname=:table
		AND relnamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname
= :schema))
ORDER BY a.attnum. Bound with :table='lime_settings_global',
:schema='public'
05:08:04.190577 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT a.attname,
LOWER(format_type(a.atttypid, a.atttypmod)) AS type, d.adsrc, a.attnotnull,
a.atthasdef,
	pg_catalog.col_description(a.attrelid, a.attnum) AS comment
FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND
a.attnum = d.adnum
WHERE a.attnum > 0 AND NOT a.attisdropped
	AND a.attrelid = (SELECT oid FROM pg_catalog.pg_class WHERE relname=:table
		AND relnamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname
= :schema))
ORDER BY a.attnum. Bound with :table='lime_settings_global',
:schema='public')
05:08:04.196615 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT a.attname,
LOWER(format_type(a.atttypid, a.atttypmod)) AS type, d.adsrc, a.attnotnull,
a.atthasdef,
	pg_catalog.col_description(a.attrelid, a.attnum) AS comment
FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND
a.attnum = d.adnum
WHERE a.attnum > 0 AND NOT a.attisdropped
	AND a.attrelid = (SELECT oid FROM pg_catalog.pg_class WHERE relname=:table
		AND relnamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname
= :schema))
ORDER BY a.attnum. Bound with :table='lime_settings_global',
:schema='public')
05:08:04.198664 trace system.db.CDbCommand
Querying SQL: SELECT conname, consrc, contype, indkey FROM (
	SELECT
		conname,
		CASE WHEN contype='f' THEN
			pg_catalog.pg_get_constraintdef(oid)
		ELSE
			'CHECK (' || consrc || ')'
		END AS consrc,
		contype,
		conrelid AS relid,
		NULL AS indkey
	FROM
		pg_catalog.pg_constraint
	WHERE
		contype IN ('f', 'c')
	UNION ALL
	SELECT
		pc.relname,
		NULL,
		CASE WHEN indisprimary THEN
				'p'
		ELSE
				'u'
		END,
		pi.indrelid,
		indkey
	FROM
		pg_catalog.pg_class pc,
		pg_catalog.pg_index pi
	WHERE
		pc.oid=pi.indexrelid
		AND EXISTS (
			SELECT 1 FROM pg_catalog.pg_depend d JOIN pg_catalog.pg_constraint c
			ON (d.refclassid = c.tableoid AND d.refobjid = c.oid)
			WHERE d.classid = pc.tableoid AND d.objid = pc.oid AND d.deptype = 'i'
AND c.contype IN ('u', 'p')
	)
) AS sub
WHERE relid = (SELECT oid FROM pg_catalog.pg_class WHERE relname=:table
	AND relnamespace = (SELECT oid FROM pg_catalog.pg_namespace
	WHERE nspname=:schema)). Bound with :table='lime_settings_global',
:schema='public'
05:08:04.198760 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT conname, consrc, contype, indkey
FROM (
	SELECT
		conname,
		CASE WHEN contype='f' THEN
			pg_catalog.pg_get_constraintdef(oid)
		ELSE
			'CHECK (' || consrc || ')'
		END AS consrc,
		contype,
		conrelid AS relid,
		NULL AS indkey
	FROM
		pg_catalog.pg_constraint
	WHERE
		contype IN ('f', 'c')
	UNION ALL
	SELECT
		pc.relname,
		NULL,
		CASE WHEN indisprimary THEN
				'p'
		ELSE
				'u'
		END,
		pi.indrelid,
		indkey
	FROM
		pg_catalog.pg_class pc,
		pg_catalog.pg_index pi
	WHERE
		pc.oid=pi.indexrelid
		AND EXISTS (
			SELECT 1 FROM pg_catalog.pg_depend d JOIN pg_catalog.pg_constraint c
			ON (d.refclassid = c.tableoid AND d.refobjid = c.oid)
			WHERE d.classid = pc.tableoid AND d.objid = pc.oid AND d.deptype = 'i'
AND c.contype IN ('u', 'p')
	)
) AS sub
WHERE relid = (SELECT oid FROM pg_catalog.pg_class WHERE relname=:table
	AND relnamespace = (SELECT oid FROM pg_catalog.pg_namespace
	WHERE nspname=:schema)). Bound with :table='lime_settings_global',
:schema='public')
05:08:04.202632 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT conname, consrc, contype, indkey FROM
(
	SELECT
		conname,
		CASE WHEN contype='f' THEN
			pg_catalog.pg_get_constraintdef(oid)
		ELSE
			'CHECK (' || consrc || ')'
		END AS consrc,
		contype,
		conrelid AS relid,
		NULL AS indkey
	FROM
		pg_catalog.pg_constraint
	WHERE
		contype IN ('f', 'c')
	UNION ALL
	SELECT
		pc.relname,
		NULL,
		CASE WHEN indisprimary THEN
				'p'
		ELSE
				'u'
		END,
		pi.indrelid,
		indkey
	FROM
		pg_catalog.pg_class pc,
		pg_catalog.pg_index pi
	WHERE
		pc.oid=pi.indexrelid
		AND EXISTS (
			SELECT 1 FROM pg_catalog.pg_depend d JOIN pg_catalog.pg_constraint c
			ON (d.refclassid = c.tableoid AND d.refobjid = c.oid)
			WHERE d.classid = pc.tableoid AND d.objid = pc.oid AND d.deptype = 'i'
AND c.contype IN ('u', 'p')
	)
) AS sub
WHERE relid = (SELECT oid FROM pg_catalog.pg_class WHERE relname=:table
	AND relnamespace = (SELECT oid FROM pg_catalog.pg_namespace
	WHERE nspname=:schema)). Bound with :table='lime_settings_global',
:schema='public')
05:08:04.203656 trace system.db.CDbCommand
Querying SQL: SELECT attnum, attname FROM pg_catalog.pg_attribute WHERE
	attrelid=(
		SELECT oid FROM pg_catalog.pg_class WHERE relname=:table AND
relnamespace=(
			SELECT oid FROM pg_catalog.pg_namespace WHERE nspname=:schema
		)
	)
	AND attnum IN (1). Bound with :table='lime_settings_global',
:schema='public'
05:08:04.203766 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT attnum, attname FROM
pg_catalog.pg_attribute WHERE
	attrelid=(
		SELECT oid FROM pg_catalog.pg_class WHERE relname=:table AND
relnamespace=(
			SELECT oid FROM pg_catalog.pg_namespace WHERE nspname=:schema
		)
	)
	AND attnum IN (1). Bound with :table='lime_settings_global',
:schema='public')
05:08:04.205034 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT attnum, attname FROM
pg_catalog.pg_attribute WHERE
	attrelid=(
		SELECT oid FROM pg_catalog.pg_class WHERE relname=:table AND
relnamespace=(
			SELECT oid FROM pg_catalog.pg_namespace WHERE nspname=:schema
		)
	)
	AND attnum IN (1). Bound with :table='lime_settings_global',
:schema='public')
05:08:04.213937 trace system.db.ar.CActiveRecord
SettingGlobal.findAll()
05:08:04.216587 trace system.db.CDbCommand
Querying SQL: SELECT * FROM "lime_settings_global" "t"
05:08:04.216659 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT * FROM "lime_settings_global" "t")
05:08:04.217608 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT * FROM "lime_settings_global" "t")
05:08:04.329250 trace system.CModule
Loading "bootstrap" application component
05:08:04.329921 trace system.CModule
Loading "clientScript" application component
05:08:04.360784 trace system.web.filters.CFilterChain
Running filter PluginsController.filteraccessControl()
05:08:04.366609 trace system.CModule
Loading "user" application component
05:08:04.368565 trace system.CModule
Loading "messages" application component
05:08:04.370666 trace system.db.CDbCommand
Querying SQL: SELECT a.attname, LOWER(format_type(a.atttypid, a.atttypmod))
AS type, d.adsrc, a.attnotnull, a.atthasdef,
	pg_catalog.col_description(a.attrelid, a.attnum) AS comment
FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND
a.attnum = d.adnum
WHERE a.attnum > 0 AND NOT a.attisdropped
	AND a.attrelid = (SELECT oid FROM pg_catalog.pg_class WHERE relname=:table
		AND relnamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname
= :schema))
ORDER BY a.attnum. Bound with :table='lime_permissions', :schema='public'
05:08:04.370734 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT a.attname,
LOWER(format_type(a.atttypid, a.atttypmod)) AS type, d.adsrc, a.attnotnull,
a.atthasdef,
	pg_catalog.col_description(a.attrelid, a.attnum) AS comment
FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND
a.attnum = d.adnum
WHERE a.attnum > 0 AND NOT a.attisdropped
	AND a.attrelid = (SELECT oid FROM pg_catalog.pg_class WHERE relname=:table
		AND relnamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname
= :schema))
ORDER BY a.attnum. Bound with :table='lime_permissions', :schema='public')
05:08:04.374066 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT a.attname,
LOWER(format_type(a.atttypid, a.atttypmod)) AS type, d.adsrc, a.attnotnull,
a.atthasdef,
	pg_catalog.col_description(a.attrelid, a.attnum) AS comment
FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND
a.attnum = d.adnum
WHERE a.attnum > 0 AND NOT a.attisdropped
	AND a.attrelid = (SELECT oid FROM pg_catalog.pg_class WHERE relname=:table
		AND relnamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname
= :schema))
ORDER BY a.attnum. Bound with :table='lime_permissions', :schema='public')
05:08:04.377079 trace system.db.CDbCommand
Querying SQL: SELECT conname, consrc, contype, indkey FROM (
	SELECT
		conname,
		CASE WHEN contype='f' THEN
			pg_catalog.pg_get_constraintdef(oid)
		ELSE
			'CHECK (' || consrc || ')'
		END AS consrc,
		contype,
		conrelid AS relid,
		NULL AS indkey
	FROM
		pg_catalog.pg_constraint
	WHERE
		contype IN ('f', 'c')
	UNION ALL
	SELECT
		pc.relname,
		NULL,
		CASE WHEN indisprimary THEN
				'p'
		ELSE
				'u'
		END,
		pi.indrelid,
		indkey
	FROM
		pg_catalog.pg_class pc,
		pg_catalog.pg_index pi
	WHERE
		pc.oid=pi.indexrelid
		AND EXISTS (
			SELECT 1 FROM pg_catalog.pg_depend d JOIN pg_catalog.pg_constraint c
			ON (d.refclassid = c.tableoid AND d.refobjid = c.oid)
			WHERE d.classid = pc.tableoid AND d.objid = pc.oid AND d.deptype = 'i'
AND c.contype IN ('u', 'p')
	)
) AS sub
WHERE relid = (SELECT oid FROM pg_catalog.pg_class WHERE relname=:table
	AND relnamespace = (SELECT oid FROM pg_catalog.pg_namespace
	WHERE nspname=:schema)). Bound with :table='lime_permissions',
:schema='public'
05:08:04.377155 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT conname, consrc, contype, indkey
FROM (
	SELECT
		conname,
		CASE WHEN contype='f' THEN
			pg_catalog.pg_get_constraintdef(oid)
		ELSE
			'CHECK (' || consrc || ')'
		END AS consrc,
		contype,
		conrelid AS relid,
		NULL AS indkey
	FROM
		pg_catalog.pg_constraint
	WHERE
		contype IN ('f', 'c')
	UNION ALL
	SELECT
		pc.relname,
		NULL,
		CASE WHEN indisprimary THEN
				'p'
		ELSE
				'u'
		END,
		pi.indrelid,
		indkey
	FROM
		pg_catalog.pg_class pc,
		pg_catalog.pg_index pi
	WHERE
		pc.oid=pi.indexrelid
		AND EXISTS (
			SELECT 1 FROM pg_catalog.pg_depend d JOIN pg_catalog.pg_constraint c
			ON (d.refclassid = c.tableoid AND d.refobjid = c.oid)
			WHERE d.classid = pc.tableoid AND d.objid = pc.oid AND d.deptype = 'i'
AND c.contype IN ('u', 'p')
	)
) AS sub
WHERE relid = (SELECT oid FROM pg_catalog.pg_class WHERE relname=:table
	AND relnamespace = (SELECT oid FROM pg_catalog.pg_namespace
	WHERE nspname=:schema)). Bound with :table='lime_permissions',
:schema='public')
05:08:04.381748 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT conname, consrc, contype, indkey FROM
(
	SELECT
		conname,
		CASE WHEN contype='f' THEN
			pg_catalog.pg_get_constraintdef(oid)
		ELSE
			'CHECK (' || consrc || ')'
		END AS consrc,
		contype,
		conrelid AS relid,
		NULL AS indkey
	FROM
		pg_catalog.pg_constraint
	WHERE
		contype IN ('f', 'c')
	UNION ALL
	SELECT
		pc.relname,
		NULL,
		CASE WHEN indisprimary THEN
				'p'
		ELSE
				'u'
		END,
		pi.indrelid,
		indkey
	FROM
		pg_catalog.pg_class pc,
		pg_catalog.pg_index pi
	WHERE
		pc.oid=pi.indexrelid
		AND EXISTS (
			SELECT 1 FROM pg_catalog.pg_depend d JOIN pg_catalog.pg_constraint c
			ON (d.refclassid = c.tableoid AND d.refobjid = c.oid)
			WHERE d.classid = pc.tableoid AND d.objid = pc.oid AND d.deptype = 'i'
AND c.contype IN ('u', 'p')
	)
) AS sub
WHERE relid = (SELECT oid FROM pg_catalog.pg_class WHERE relname=:table
	AND relnamespace = (SELECT oid FROM pg_catalog.pg_namespace
	WHERE nspname=:schema)). Bound with :table='lime_permissions',
:schema='public')
05:08:04.382252 trace system.db.CDbCommand
Querying SQL: SELECT attnum, attname FROM pg_catalog.pg_attribute WHERE
	attrelid=(
		SELECT oid FROM pg_catalog.pg_class WHERE relname=:table AND
relnamespace=(
			SELECT oid FROM pg_catalog.pg_namespace WHERE nspname=:schema
		)
	)
	AND attnum IN (1). Bound with :table='lime_permissions', :schema='public'
05:08:04.382328 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT attnum, attname FROM
pg_catalog.pg_attribute WHERE
	attrelid=(
		SELECT oid FROM pg_catalog.pg_class WHERE relname=:table AND
relnamespace=(
			SELECT oid FROM pg_catalog.pg_namespace WHERE nspname=:schema
		)
	)
	AND attnum IN (1). Bound with :table='lime_permissions', :schema='public')
05:08:04.383656 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT attnum, attname FROM
pg_catalog.pg_attribute WHERE
	attrelid=(
		SELECT oid FROM pg_catalog.pg_class WHERE relname=:table AND
relnamespace=(
			SELECT oid FROM pg_catalog.pg_namespace WHERE nspname=:schema
		)
	)
	AND attnum IN (1). Bound with :table='lime_permissions', :schema='public')
05:08:04.386487 trace system.CModule
Loading "pluginManager" application component
05:08:04.387881 trace system.db.ar.CActiveRecord
Plugin.findAllByAttributes()
05:08:04.389589 trace system.db.CDbCommand
Querying SQL: SELECT a.attname, LOWER(format_type(a.atttypid, a.atttypmod))
AS type, d.adsrc, a.attnotnull, a.atthasdef,
	pg_catalog.col_description(a.attrelid, a.attnum) AS comment
FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND
a.attnum = d.adnum
WHERE a.attnum > 0 AND NOT a.attisdropped
	AND a.attrelid = (SELECT oid FROM pg_catalog.pg_class WHERE relname=:table
		AND relnamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname
= :schema))
ORDER BY a.attnum. Bound with :table='lime_plugins', :schema='public'
05:08:04.389719 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT a.attname,
LOWER(format_type(a.atttypid, a.atttypmod)) AS type, d.adsrc, a.attnotnull,
a.atthasdef,
	pg_catalog.col_description(a.attrelid, a.attnum) AS comment
FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND
a.attnum = d.adnum
WHERE a.attnum > 0 AND NOT a.attisdropped
	AND a.attrelid = (SELECT oid FROM pg_catalog.pg_class WHERE relname=:table
		AND relnamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname
= :schema))
ORDER BY a.attnum. Bound with :table='lime_plugins', :schema='public')
05:08:04.392539 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT a.attname,
LOWER(format_type(a.atttypid, a.atttypmod)) AS type, d.adsrc, a.attnotnull,
a.atthasdef,
	pg_catalog.col_description(a.attrelid, a.attnum) AS comment
FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND
a.attnum = d.adnum
WHERE a.attnum > 0 AND NOT a.attisdropped
	AND a.attrelid = (SELECT oid FROM pg_catalog.pg_class WHERE relname=:table
		AND relnamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname
= :schema))
ORDER BY a.attnum. Bound with :table='lime_plugins', :schema='public')
05:08:04.394867 trace system.db.CDbCommand
Querying SQL: SELECT conname, consrc, contype, indkey FROM (
	SELECT
		conname,
		CASE WHEN contype='f' THEN
			pg_catalog.pg_get_constraintdef(oid)
		ELSE
			'CHECK (' || consrc || ')'
		END AS consrc,
		contype,
		conrelid AS relid,
		NULL AS indkey
	FROM
		pg_catalog.pg_constraint
	WHERE
		contype IN ('f', 'c')
	UNION ALL
	SELECT
		pc.relname,
		NULL,
		CASE WHEN indisprimary THEN
				'p'
		ELSE
				'u'
		END,
		pi.indrelid,
		indkey
	FROM
		pg_catalog.pg_class pc,
		pg_catalog.pg_index pi
	WHERE
		pc.oid=pi.indexrelid
		AND EXISTS (
			SELECT 1 FROM pg_catalog.pg_depend d JOIN pg_catalog.pg_constraint c
			ON (d.refclassid = c.tableoid AND d.refobjid = c.oid)
			WHERE d.classid = pc.tableoid AND d.objid = pc.oid AND d.deptype = 'i'
AND c.contype IN ('u', 'p')
	)
) AS sub
WHERE relid = (SELECT oid FROM pg_catalog.pg_class WHERE relname=:table
	AND relnamespace = (SELECT oid FROM pg_catalog.pg_namespace
	WHERE nspname=:schema)). Bound with :table='lime_plugins',
:schema='public'
05:08:04.394993 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT conname, consrc, contype, indkey
FROM (
	SELECT
		conname,
		CASE WHEN contype='f' THEN
			pg_catalog.pg_get_constraintdef(oid)
		ELSE
			'CHECK (' || consrc || ')'
		END AS consrc,
		contype,
		conrelid AS relid,
		NULL AS indkey
	FROM
		pg_catalog.pg_constraint
	WHERE
		contype IN ('f', 'c')
	UNION ALL
	SELECT
		pc.relname,
		NULL,
		CASE WHEN indisprimary THEN
				'p'
		ELSE
				'u'
		END,
		pi.indrelid,
		indkey
	FROM
		pg_catalog.pg_class pc,
		pg_catalog.pg_index pi
	WHERE
		pc.oid=pi.indexrelid
		AND EXISTS (
			SELECT 1 FROM pg_catalog.pg_depend d JOIN pg_catalog.pg_constraint c
			ON (d.refclassid = c.tableoid AND d.refobjid = c.oid)
			WHERE d.classid = pc.tableoid AND d.objid = pc.oid AND d.deptype = 'i'
AND c.contype IN ('u', 'p')
	)
) AS sub
WHERE relid = (SELECT oid FROM pg_catalog.pg_class WHERE relname=:table
	AND relnamespace = (SELECT oid FROM pg_catalog.pg_namespace
	WHERE nspname=:schema)). Bound with :table='lime_plugins',
:schema='public')
05:08:04.399656 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT conname, consrc, contype, indkey FROM
(
	SELECT
		conname,
		CASE WHEN contype='f' THEN
			pg_catalog.pg_get_constraintdef(oid)
		ELSE
			'CHECK (' || consrc || ')'
		END AS consrc,
		contype,
		conrelid AS relid,
		NULL AS indkey
	FROM
		pg_catalog.pg_constraint
	WHERE
		contype IN ('f', 'c')
	UNION ALL
	SELECT
		pc.relname,
		NULL,
		CASE WHEN indisprimary THEN
				'p'
		ELSE
				'u'
		END,
		pi.indrelid,
		indkey
	FROM
		pg_catalog.pg_class pc,
		pg_catalog.pg_index pi
	WHERE
		pc.oid=pi.indexrelid
		AND EXISTS (
			SELECT 1 FROM pg_catalog.pg_depend d JOIN pg_catalog.pg_constraint c
			ON (d.refclassid = c.tableoid AND d.refobjid = c.oid)
			WHERE d.classid = pc.tableoid AND d.objid = pc.oid AND d.deptype = 'i'
AND c.contype IN ('u', 'p')
	)
) AS sub
WHERE relid = (SELECT oid FROM pg_catalog.pg_class WHERE relname=:table
	AND relnamespace = (SELECT oid FROM pg_catalog.pg_namespace
	WHERE nspname=:schema)). Bound with :table='lime_plugins',
:schema='public')
05:08:04.400624 trace system.db.CDbCommand
Querying SQL: SELECT attnum, attname FROM pg_catalog.pg_attribute WHERE
	attrelid=(
		SELECT oid FROM pg_catalog.pg_class WHERE relname=:table AND
relnamespace=(
			SELECT oid FROM pg_catalog.pg_namespace WHERE nspname=:schema
		)
	)
	AND attnum IN (1). Bound with :table='lime_plugins', :schema='public'
05:08:04.400749 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT attnum, attname FROM
pg_catalog.pg_attribute WHERE
	attrelid=(
		SELECT oid FROM pg_catalog.pg_class WHERE relname=:table AND
relnamespace=(
			SELECT oid FROM pg_catalog.pg_namespace WHERE nspname=:schema
		)
	)
	AND attnum IN (1). Bound with :table='lime_plugins', :schema='public')
05:08:04.402339 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT attnum, attname FROM
pg_catalog.pg_attribute WHERE
	attrelid=(
		SELECT oid FROM pg_catalog.pg_class WHERE relname=:table AND
relnamespace=(
			SELECT oid FROM pg_catalog.pg_namespace WHERE nspname=:schema
		)
	)
	AND attnum IN (1). Bound with :table='lime_plugins', :schema='public')
05:08:04.404736 trace system.db.CDbCommand
Querying SQL: SELECT * FROM "lime_plugins" "t" WHERE "t"."active"=:yp0.
Bound with :yp0=1
05:08:04.404848 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT * FROM "lime_plugins" "t" WHERE
"t"."active"=:yp0. Bound with :yp0=1)
05:08:04.406088 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT * FROM "lime_plugins" "t" WHERE
"t"."active"=:yp0. Bound with :yp0=1)
05:08:04.409722 trace system.db.ar.CActiveRecord
Permission.findByAttributes()
05:08:04.411518 trace system.db.CDbCommand
Querying SQL: SELECT * FROM "lime_permissions" "t" WHERE
"t"."entity_id"=:yp0 AND "t"."entity"=:yp1 AND "t"."uid"=:yp2 AND
"t"."permission"=:yp3 LIMIT 1. Bound with :yp0=0, :yp1='global', :yp2=1,
:yp3='superadmin'
05:08:04.411597 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT * FROM "lime_permissions" "t" WHERE
"t"."entity_id"=:yp0 AND "t"."entity"=:yp1 AND "t"."uid"=:yp2 AND
"t"."permission"=:yp3 LIMIT 1. Bound with :yp0=0, :yp1='global', :yp2=1,
:yp3='superadmin')
05:08:04.413904 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT * FROM "lime_permissions" "t" WHERE
"t"."entity_id"=:yp0 AND "t"."entity"=:yp1 AND "t"."uid"=:yp2 AND
"t"."permission"=:yp3 LIMIT 1. Bound with :yp0=0, :yp1='global', :yp2=1,
:yp3='superadmin')
05:08:04.432420 error php
Undefined variable: cacheKey
(/usr/share/nginx/html/limesurvey/application/libraries/PluginManager/PluginManager.php:228)
Stack trace:
#0 /usr/share/nginx/html/limesurvey/framework/web/CController.php(308):
CInlineAction->runWithParams()
#1
/usr/share/nginx/html/limesurvey/framework/web/filters/CFilterChain.php(133):
PluginsController->runAction()
#2 /usr/share/nginx/html/limesurvey/framework/web/filters/CFilter.php(40):
CFilterChain->run()
#3 /usr/share/nginx/html/limesurvey/framework/web/CController.php(1145):
CAccessControlFilter->filter()
#4
/usr/share/nginx/html/limesurvey/framework/web/filters/CInlineFilter.php(58):
PluginsController->filterAccessControl()
#5
/usr/share/nginx/html/limesurvey/framework/web/filters/CFilterChain.php(130):
CInlineFilter->filter()
#6 /usr/share/nginx/html/limesurvey/framework/web/CController.php(291):
CFilterChain->run()
#7 /usr/share/nginx/html/limesurvey/framework/web/CController.php(265):
PluginsController->runActionWithFilters()
#8 /usr/share/nginx/html/limesurvey/framework/web/CWebApplication.php(282):
PluginsController->run()
#9 /usr/share/nginx/html/limesurvey/framework/web/CWebApplication.php(141):
LSYii_Application->runController()
#10 /usr/share/nginx/html/limesurvey/framework/base/CApplication.php(180):
LSYii_Application->processRequest()
#11 /usr/share/nginx/html/limesurvey/index.php(208):
LSYii_Application->run()
REQUEST_URI=/limesurvey/index.php/plugins
05:08:04.444602 trace system.CModule
Loading "errorHandler" application component
Profiling Summary Report (Tiempo: 0.36152s, Memoria: 3,346KB)
Procedimiento Cuenta Total (es) Promedio (s) Min. (s) Máx. (s)
system.db.CDbCommand.query(SELECT a.attname, LOWER(format_type(a.atttypid, a.atttypmod)) AS type, d.adsrc, a.attnotnull, a.atthasdef, pg_catalog.col_description(a.attrelid, a.attnum) AS comment FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attnum > 0 AND NOT a.attisdropped AND a.attrelid = (SELECT oid FROM pg_catalog.pg_class WHERE relname=:table AND relnamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = :schema)) ORDER BY a.attnum. Bound with :table='lime_settings_global', :schema='public') 1 0.00604 0.00604 0.00604 0.00604
system.db.CDbCommand.query(SELECT conname, consrc, contype, indkey FROM ( SELECT conname, CASE WHEN contype='f' THEN pg_catalog.pg_get_constraintdef(oid) ELSE 'CHECK (' || consrc || ')' END AS consrc, contype, conrelid AS relid, NULL AS indkey FROM pg_catalog.pg_constraint WHERE contype IN ('f', 'c') UNION ALL SELECT pc.relname, NULL, CASE WHEN indisprimary THEN 'p' ELSE 'u' END, pi.indrelid, indkey FROM pg_catalog.pg_class pc, pg_catalog.pg_index pi WHERE pc.oid=pi.indexrelid AND EXISTS ( SELECT 1 FROM pg_catalog.pg_depend d JOIN pg_catalog.pg_constraint c ON (d.refclassid = c.tableoid AND d.refobjid = c.oid) WHERE d.classid = pc.tableoid AND d.objid = pc.oid AND d.deptype = 'i' AND c.contype IN ('u', 'p') ) ) AS sub WHERE relid = (SELECT oid FROM pg_catalog.pg_class WHERE relname=:table AND relnamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname=:schema)). Bound with :table='lime_plugins', :schema='public') 1 0.00466 0.00466 0.00466 0.00466
system.db.CDbCommand.query(SELECT conname, consrc, contype, indkey FROM ( SELECT conname, CASE WHEN contype='f' THEN pg_catalog.pg_get_constraintdef(oid) ELSE 'CHECK (' || consrc || ')' END AS consrc, contype, conrelid AS relid, NULL AS indkey FROM pg_catalog.pg_constraint WHERE contype IN ('f', 'c') UNION ALL SELECT pc.relname, NULL, CASE WHEN indisprimary THEN 'p' ELSE 'u' END, pi.indrelid, indkey FROM pg_catalog.pg_class pc, pg_catalog.pg_index pi WHERE pc.oid=pi.indexrelid AND EXISTS ( SELECT 1 FROM pg_catalog.pg_depend d JOIN pg_catalog.pg_constraint c ON (d.refclassid = c.tableoid AND d.refobjid = c.oid) WHERE d.classid = pc.tableoid AND d.objid = pc.oid AND d.deptype = 'i' AND c.contype IN ('u', 'p') ) ) AS sub WHERE relid = (SELECT oid FROM pg_catalog.pg_class WHERE relname=:table AND relnamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname=:schema)). Bound with :table='lime_permissions', :schema='public') 1 0.00459 0.00459 0.00459 0.00459
system.db.CDbCommand.query(SELECT conname, consrc, contype, indkey FROM ( SELECT conname, CASE WHEN contype='f' THEN pg_catalog.pg_get_constraintdef(oid) ELSE 'CHECK (' || consrc || ')' END AS consrc, contype, conrelid AS relid, NULL AS indkey FROM pg_catalog.pg_constraint WHERE contype IN ('f', 'c') UNION ALL SELECT pc.relname, NULL, CASE WHEN indisprimary THEN 'p' ELSE 'u' END, pi.indrelid, indkey FROM pg_catalog.pg_class pc, pg_catalog.pg_index pi WHERE pc.oid=pi.indexrelid AND EXISTS ( SELECT 1 FROM pg_catalog.pg_depend d JOIN pg_catalog.pg_constraint c ON (d.refclassid = c.tableoid AND d.refobjid = c.oid) WHERE d.classid = pc.tableoid AND d.objid = pc.oid AND d.deptype = 'i' AND c.contype IN ('u', 'p') ) ) AS sub WHERE relid = (SELECT oid FROM pg_catalog.pg_class WHERE relname=:table AND relnamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname=:schema)). Bound with :table='lime_settings_global', :schema='public') 1 0.00387 0.00387 0.00387 0.00387
system.db.CDbCommand.query(SELECT a.attname, LOWER(format_type(a.atttypid, a.atttypmod)) AS type, d.adsrc, a.attnotnull, a.atthasdef, pg_catalog.col_description(a.attrelid, a.attnum) AS comment FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attnum > 0 AND NOT a.attisdropped AND a.attrelid = (SELECT oid FROM pg_catalog.pg_class WHERE relname=:table AND relnamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = :schema)) ORDER BY a.attnum. Bound with :table='lime_permissions', :schema='public') 1 0.00333 0.00333 0.00333 0.00333
system.db.CDbCommand.query(SELECT a.attname, LOWER(format_type(a.atttypid, a.atttypmod)) AS type, d.adsrc, a.attnotnull, a.atthasdef, pg_catalog.col_description(a.attrelid, a.attnum) AS comment FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attnum > 0 AND NOT a.attisdropped AND a.attrelid = (SELECT oid FROM pg_catalog.pg_class WHERE relname=:table AND relnamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = :schema)) ORDER BY a.attnum. Bound with :table='lime_plugins', :schema='public') 1 0.00282 0.00282 0.00282 0.00282
system.db.CDbCommand.query(SELECT * FROM "lime_permissions" "t" WHERE "t"."entity_id"=:yp0 AND "t"."entity"=:yp1 AND "t"."uid"=:yp2 AND "t"."permission"=:yp3 LIMIT 1. Bound with :yp0=0, :yp1='global', :yp2=1, :yp3='superadmin') 1 0.00231 0.00231 0.00231 0.00231
system.db.CDbCommand.query(SELECT attnum, attname FROM pg_catalog.pg_attribute WHERE attrelid=( SELECT oid FROM pg_catalog.pg_class WHERE relname=:table AND relnamespace=( SELECT oid FROM pg_catalog.pg_namespace WHERE nspname=:schema ) ) AND attnum IN (1). Bound with :table='lime_plugins', :schema='public') 1 0.00159 0.00159 0.00159 0.00159
system.db.CDbCommand.query(SELECT attnum, attname FROM pg_catalog.pg_attribute WHERE attrelid=( SELECT oid FROM pg_catalog.pg_class WHERE relname=:table AND relnamespace=( SELECT oid FROM pg_catalog.pg_namespace WHERE nspname=:schema ) ) AND attnum IN (1). Bound with :table='lime_permissions', :schema='public') 1 0.00133 0.00133 0.00133 0.00133
system.db.CDbCommand.query(SELECT attnum, attname FROM pg_catalog.pg_attribute WHERE attrelid=( SELECT oid FROM pg_catalog.pg_class WHERE relname=:table AND relnamespace=( SELECT oid FROM pg_catalog.pg_namespace WHERE nspname=:schema ) ) AND attnum IN (1). Bound with :table='lime_settings_global', :schema='public') 1 0.00127 0.00127 0.00127 0.00127
system.db.CDbCommand.query(SELECT * FROM "lime_plugins" "t" WHERE "t"."active"=:yp0. Bound with :yp0=1) 1 0.00124 0.00124 0.00124 0.00124
system.db.CDbCommand.query(SELECT * FROM "lime_settings_global" "t") 1 0.00095 0.00095 0.00095 0.00095