1 PHP internal call App\Exceptions\DebugReport::addEvent(eventName, params)eventName string (11) "onException"params array (1) TypeError (7) contents Available methods (11) protected message -> string (195) "Argument 1 passed to Categories::prepareData() must be an instance of ORM, null …"Argument 1 passed to Categories::prepareData() must be an instance of ORM, null given, called in /home/klient.dhosting.pl/amberline/amberline.eu/public_html/modules/news/front/init.php on line 24 private string -> string (0) ""protected code -> integer 0protected file -> string (99) "/home/klient.dhosting.pl/amberline/amberline.eu/public_html/modules/categories/C…"protected line -> integer 139private trace -> array (4) array (6) 'file' => string (87) "/home/klient.dhosting.pl/amberline/amberline.eu/public_html/modules/news/front/i…"'line' => integer 24'function' => string (11) "prepareData"'class' => string (10) "Categories"'type' => string (2) "::"'args' => array (1) NULL array (4) 'file' => string (88) "/home/klient.dhosting.pl/amberline/amberline.eu/public_html/modules/news/front/i…"'line' => integer 3'args' => array (1) string (87) "/home/klient.dhosting.pl/amberline/amberline.eu/public_html/modules/news/front/i…"'function' => string (7) "require"array (4) 'file' => string (96) "/home/klient.dhosting.pl/amberline/amberline.eu/public_html/include/class/Contro…"'line' => integer 54'args' => array (1) string (88) "/home/klient.dhosting.pl/amberline/amberline.eu/public_html/modules/news/front/i…"'function' => string (7) "include"array (6) 'file' => string (69) "/home/klient.dhosting.pl/amberline/amberline.eu/public_html/index.php"'line' => integer 78'function' => string (8) "getFront"'class' => string (22) "App\Controllers\Module"'type' => string (2) "->"'args' => array (0) private previous -> NULL final public getCode() Inherited from Error
Defined in : final public getFile() Inherited from Error
Defined in : final public getLine() Inherited from Error
Defined in : final public getMessage() Inherited from Error
Defined in : final public getPrevious() Inherited from Error
Defined in : final public getTrace() Inherited from Error
Defined in : final public getTraceAsString() Inherited from Error
Defined in : public __construct($message, $code, $previous) Inherited from Error
Defined in : public __toString() Inherited from Error
Defined in : public __wakeup() Inherited from Error
Defined in : final private __clone() Inherited from Error
Defined in : 2 <ROOT>/include/class/Base/Events.php:27 call_user_func_array(function_name, parameters)20 }
21
22 // ręczne wywołanie akcji z parametrami
23 public static function trigger($eventName /* $first_param, ... */){
24 $result = array();
25 if(array_key_exists($eventName, self::$_events))
26 foreach (self::$_events[$eventName] as $i => $callback){
27 $result[$i] = call_user_func_array($callback, func_get_args());
28 }
29 return $result; // zwraca tablice nazw callback-ów i wartości zwrotnych
30 }
31
32 // zwraca pierwszy wynik jeśli jakaś funkcja zwróciła inną wartość niż domyślne null
33 public static function parseTriggerResult(array $triggerResult, &$i = null){
34 foreach($triggerResult as $i => $value)
function_name string (36) "App\Exceptions\DebugReport::addEvent"parameters array (2) string (11) "onException"array (1) TypeError (7) contents Available methods (11) protected message -> string (195) "Argument 1 passed to Categories::prepareData() must be an instance of ORM, null …"Argument 1 passed to Categories::prepareData() must be an instance of ORM, null given, called in /home/klient.dhosting.pl/amberline/amberline.eu/public_html/modules/news/front/init.php on line 24 private string -> string (0) ""protected code -> integer 0protected file -> string (99) "/home/klient.dhosting.pl/amberline/amberline.eu/public_html/modules/categories/C…"protected line -> integer 139private trace -> array (4) array (6) 'file' => string (87) "/home/klient.dhosting.pl/amberline/amberline.eu/public_html/modules/news/front/i…"'line' => integer 24'function' => string (11) "prepareData"'class' => string (10) "Categories"'type' => string (2) "::"'args' => array (1) NULL array (4) 'file' => string (88) "/home/klient.dhosting.pl/amberline/amberline.eu/public_html/modules/news/front/i…"'line' => integer 3'args' => array (1) string (87) "/home/klient.dhosting.pl/amberline/amberline.eu/public_html/modules/news/front/i…"'function' => string (7) "require"array (4) 'file' => string (96) "/home/klient.dhosting.pl/amberline/amberline.eu/public_html/include/class/Contro…"'line' => integer 54'args' => array (1) string (88) "/home/klient.dhosting.pl/amberline/amberline.eu/public_html/modules/news/front/i…"'function' => string (7) "include"array (6) 'file' => string (69) "/home/klient.dhosting.pl/amberline/amberline.eu/public_html/index.php"'line' => integer 78'function' => string (8) "getFront"'class' => string (22) "App\Controllers\Module"'type' => string (2) "->"'args' => array (0) private previous -> NULL final public getCode() Inherited from Error
Defined in : final public getFile() Inherited from Error
Defined in : final public getLine() Inherited from Error
Defined in : final public getMessage() Inherited from Error
Defined in : final public getPrevious() Inherited from Error
Defined in : final public getTrace() Inherited from Error
Defined in : final public getTraceAsString() Inherited from Error
Defined in : public __construct($message, $code, $previous) Inherited from Error
Defined in : public __toString() Inherited from Error
Defined in : public __wakeup() Inherited from Error
Defined in : final private __clone() Inherited from Error
Defined in : 3 <ROOT>/include/class/Exceptions/ExceptionsHandlers.php:19 App\Base\Events::trigger(eventName, #2)12 $result[] = set_exception_handler('ExceptionsHandlers::onException');
13 $result[] = set_error_handler('ExceptionsHandlers::onError');
14 $result[] = register_shutdown_function('ExceptionsHandlers::onShutDown');
15 return $result;
16 }
17
18 public static function onException(){
19 $trigger = Events::trigger(__FUNCTION__, func_get_args());
20 return Events::parseTriggerResult($trigger);
21 }
22
23 public static function onError(){
24 $trigger = Events::trigger(__FUNCTION__, func_get_args());
25 return Events::parseTriggerResult($trigger);
26 }
eventName string (11) "onException"#2 array (1) TypeError (7) contents Available methods (11) protected message -> string (195) "Argument 1 passed to Categories::prepareData() must be an instance of ORM, null …"Argument 1 passed to Categories::prepareData() must be an instance of ORM, null given, called in /home/klient.dhosting.pl/amberline/amberline.eu/public_html/modules/news/front/init.php on line 24 private string -> string (0) ""protected code -> integer 0protected file -> string (99) "/home/klient.dhosting.pl/amberline/amberline.eu/public_html/modules/categories/C…"protected line -> integer 139private trace -> array (4) array (6) 'file' => string (87) "/home/klient.dhosting.pl/amberline/amberline.eu/public_html/modules/news/front/i…"'line' => integer 24'function' => string (11) "prepareData"'class' => string (10) "Categories"'type' => string (2) "::"'args' => array (1) NULL array (4) 'file' => string (88) "/home/klient.dhosting.pl/amberline/amberline.eu/public_html/modules/news/front/i…"'line' => integer 3'args' => array (1) string (87) "/home/klient.dhosting.pl/amberline/amberline.eu/public_html/modules/news/front/i…"'function' => string (7) "require"array (4) 'file' => string (96) "/home/klient.dhosting.pl/amberline/amberline.eu/public_html/include/class/Contro…"'line' => integer 54'args' => array (1) string (88) "/home/klient.dhosting.pl/amberline/amberline.eu/public_html/modules/news/front/i…"'function' => string (7) "include"array (6) 'file' => string (69) "/home/klient.dhosting.pl/amberline/amberline.eu/public_html/index.php"'line' => integer 78'function' => string (8) "getFront"'class' => string (22) "App\Controllers\Module"'type' => string (2) "->"'args' => array (0) private previous -> NULL final public getCode() Inherited from Error
Defined in : final public getFile() Inherited from Error
Defined in : final public getLine() Inherited from Error
Defined in : final public getMessage() Inherited from Error
Defined in : final public getPrevious() Inherited from Error
Defined in : final public getTrace() Inherited from Error
Defined in : final public getTraceAsString() Inherited from Error
Defined in : public __construct($message, $code, $previous) Inherited from Error
Defined in : public __toString() Inherited from Error
Defined in : public __wakeup() Inherited from Error
Defined in : final private __clone() Inherited from Error
Defined in : 4 PHP internal call App\Exceptions\ExceptionsHandlers::onException(#1)#1 TypeError (7) contents Available methods (11) protected message -> string (195) "Argument 1 passed to Categories::prepareData() must be an instance of ORM, null …"Argument 1 passed to Categories::prepareData() must be an instance of ORM, null given, called in /home/klient.dhosting.pl/amberline/amberline.eu/public_html/modules/news/front/init.php on line 24 private string -> string (0) ""protected code -> integer 0protected file -> string (99) "/home/klient.dhosting.pl/amberline/amberline.eu/public_html/modules/categories/C…"protected line -> integer 139private trace -> array (4) array (6) 'file' => string (87) "/home/klient.dhosting.pl/amberline/amberline.eu/public_html/modules/news/front/i…"'line' => integer 24'function' => string (11) "prepareData"'class' => string (10) "Categories"'type' => string (2) "::"'args' => array (1) NULL array (4) 'file' => string (88) "/home/klient.dhosting.pl/amberline/amberline.eu/public_html/modules/news/front/i…"'line' => integer 3'args' => array (1) string (87) "/home/klient.dhosting.pl/amberline/amberline.eu/public_html/modules/news/front/i…"'function' => string (7) "require"array (4) 'file' => string (96) "/home/klient.dhosting.pl/amberline/amberline.eu/public_html/include/class/Contro…"'line' => integer 54'args' => array (1) string (88) "/home/klient.dhosting.pl/amberline/amberline.eu/public_html/modules/news/front/i…"'function' => string (7) "include"array (6) 'file' => string (69) "/home/klient.dhosting.pl/amberline/amberline.eu/public_html/index.php"'line' => integer 78'function' => string (8) "getFront"'class' => string (22) "App\Controllers\Module"'type' => string (2) "->"'args' => array (0) private previous -> NULL final public getCode() Inherited from Error
Defined in : final public getFile() Inherited from Error
Defined in : final public getLine() Inherited from Error
Defined in : final public getMessage() Inherited from Error
Defined in : final public getPrevious() Inherited from Error
Defined in : final public getTrace() Inherited from Error
Defined in : final public getTraceAsString() Inherited from Error
Defined in : public __construct($message, $code, $previous) Inherited from Error
Defined in : public __toString() Inherited from Error
Defined in : public __wakeup() Inherited from Error
Defined in : final private __clone() Inherited from Error
Defined in : Called from <ROOT>/include/class/Exceptions/DebugReport.php.inc:74<ROOT>/include/class/Exceptions/DebugReport.php:147 <ROOT>/include/class/Exceptions/DebugReport.php:137 [App\Exceptions\DebugReport::printHtmlDebugErrors()] <ROOT>/include/class/Base/Events.php:27 [call_user_func_array()] <ROOT>/include/class/Exceptions/ExceptionsHandlers.php:29 [App\Base\Events::trigger()]