XOOPS gave this error in script installed:
Strict Standards: Non-static method XoopsLogger :: instance () should not be called statically in /home/b81inudo/public_html/portal/include/common.php on line 109
Strict Standards: Non-static method XoopsLogger :: instance () should not be called statically in /home/b81inudo/public_html/portal/class/logger.php on line 228
I could not resolve, the line of code is logger.php
:
function addBlock($name, $cached = false, $cachetime = 0) {
if ( $this->activated ) $this->blocks[] = array('name' => $name, 'cached' => $cached, 'cachetime' => $cachetime);
}
And that of common.php
:
if ( empty( $_SERVER[ 'REQUEST_URI' ] ) ) { // Not defined by IIS
// Under some configs, IIS makes SCRIPT_NAME point to php.exe :-(
if ( !( $_SERVER[ 'REQUEST_URI' ] = @$_SERVER['PHP_SELF'] ) ) {
$_SERVER[ 'REQUEST_URI' ] = $_SERVER['SCRIPT_NAME'];
}
if ( isset( $_SERVER[ 'QUERY_STRING' ] ) ) {
$_SERVER[ 'REQUEST_URI' ] .= '?' . $_SERVER[ 'QUERY_STRING' ];
}
}