Error: The magic method __call() must have public visibility and cannot be static

#0 - File: /plugins/pdoquery/PDOQuery.class.php, line 1758

1756:     * @return mixed
1757:     */
1758:     protected function __call($method, $args) {
1759:         if (is_callable($this -> $method)) {
1760:             return call_user_func_array($this -> $method, $args);

#1 - File: /plugins/pdoquery/pdoquery_plugin.php, line 41

39: $phej -> registerHook('pdoquery', 'preload', 'pdoquery_preload_hook');
40: 
41: require_once(dirname(__FILE__).'/PDOQuery.class.php');
42: 
43: ?>

#2 - File: /plugins/pdoquery/pdoquery_plugin.php, line 41

39: $phej -> registerHook('pdoquery', 'preload', 'pdoquery_preload_hook');
40: 
41: require_once(dirname(__FILE__).'/PDOQuery.class.php');
42: 
43: ?>

#3 - File: /Phej.php, line 348

346:                 throw new Exception('Missing "'.$plugin.'" plugin definition file', Phej::ERROR_MISSING_PLUGIN_FILE);
347:             }
348:             require_once($pluginFile);
349: 
350:             // bring plugin hooks up to speed if necessary

#4 - File: /index.php, line 48

46: ============================================================================ */
47: 
48: $phej -> loadPlugin('pdoquery', 'jquery');
49: $phej -> addAlias('/contact', '/default/contact');
50: $phej -> addAlias('/info', '/default/info');

Stack trace:

#FileLineCall
1 /plugins/pdoquery/pdoquery_plugin.php 41 phej_exception_error_handler(integer, string, string, integer, array[5])
2 /plugins/pdoquery/pdoquery_plugin.php 41 require_once()
3 /Phej.php 348 require_once(string)
4 /index.php 48 Phej -> loadPlugin(string, string)

Activity log:

LevelFileLineTime (ms)Memory (kB)Message
INFO/Phej.php9001Phej framework v2.0 started
INFO/Phej.php34205Loading plugin "pdoquery"