SOLVED Fatal error: Class 'phpQueryPlugins' not found
Posted 11 years 2 months ago
I have a problem with rockettheme template. Without touching anything, the website has disappeared and the following message appeared:
Fatal error: Class 'phpQueryPlugins' not found in /var/www/vhosts/solucionesymediaciones.es/httpdocs/libraries/rokcommon/functions.php on line 93
The code referenced that line reads:
// add plugins dir and Zend framework to include path
set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/phpQuery/' . PATH_SEPARATOR . dirname(__FILE__) . '/phpQuery/plugins/');
// why ? no __call nor __get for statics in php...
// XXX __callStatic will be available in PHP 5.3 phpQuery::$plugins = new phpQueryPlugins();
// include bootstrap file (personal library config)
if (file_exists(dirname(__FILE__) . '/phpQuery/bootstrap.php')) require_once dirname(__FILE__) . '/phpQuery/bootstrap.php';