I'm getting this error quite a bit in my error log, I'm using the latest oxwall version.
Not a big issue but I just wanted to make you aware, maybe get it fixed in the next update?
I'm getting this error quite a bit in my error log, I'm using the latest oxwall version.
Not a big issue but I just wanted to make you aware, maybe get it fixed in the next update?
public function getOnloadScript()
{
$onloadJS = '';
ksort($this->onloadJavaScript['items']);
foreach ( $this->onloadJavaScript['items'] as $priority => $scripts )
{
foreach ( $scripts as $script )
{
$onloadJS .= $script;
}
}
return $onloadJS;
}
77-96:
public function getScripts() { $jsUrlList = array();
ksort($this->javaScripts['items']);
foreach ( $this->javaScripts['items'] as $priority => $types ) { foreach ( $types as $type => $urls ) { foreach ( $urls as $url ) { $jsUrlList[] = $url; } } }
return $jsUrlList; }
40-56:
public function getOnloadScript() { $onloadJS = '';
ksort($this->onloadJavaScript['items']);
foreach ( $this->onloadJavaScript['items'] as $priority => $scripts ) { foreach ( $scripts as $script ) { $onloadJS .= $script; } }
return $onloadJS; }
Also, I have just noticed since upgrading to 1.7.3 I now have this in the ow_log/error.log file:
[Thu Apr 23 14:57:55 2015] [ow_core_log] [Error] Message: Argument 2 passed to OW_Event::__construct() must be of the type array, null given, called in /home/owned/public_html/ow_system_plugins/base/classes/console_list_event.php on line 9 and defined File: /home/owned/public_html/ow_core/event.php Line:61
I'm not sure if it's related?
[Thu Apr 23 14:57:55 2015] [ow_core_log] [Error] Message: Argument 2 passed to OW_Event::__construct() must be of the type array, null given, called in /home/owned/public_html/ow_system_plugins/base/classes/console_list_event.php on line 9 and defined File: /home/owned/public_html/ow_core/event.php Line:61
return array();
the just did
something like
$whatever = somevalue
return $whatever;
and then if that value is empty its not an array is a null string.
well thats php.... but with js you have to trap the undefined
this sounds like a job for the developers i dont see anything i can put my finger on.