3
I'll bump this question because it is getting weirder and weirder......I really hope someone can help me out on this. It's much appreciated!
I thought I'd solve the above problem by creating another admin account. In the beginning there are no notices, but as soon as the admin or whatever other webmaster with the same given adminrights adds something/installs a module and so on he/she also gets the same messages within the view account:
Notice [PHP]: Array to string conversion in file class/criteria.php line 345
Notice [PHP]: Array to string conversion in file class/criteria.php line 345
Notice [PHP]: Array to string conversion in file class/criteria.php line 345
Notice [PHP]: Array to string conversion in file class/criteria.php line 345
Notice [PHP]: Array to string conversion in file class/criteria.php line 345
The count of these same notices are different. Some admins have 3 other 2 and the main admin 5. It looks as if the list is getting longer after each 'doing something'.
No taking a look at those lines within the file: criteria.php
/**
* Make a sql condition string
*
* @return string
**/
function render() {
if ( is_numeric($this->value) || strtoupper($this->operator) == 'IN') {
$value = $this->value;
} else {
[b]if ( '' === ($value = trim($this->value)) ) {[/b]
return '';
}
if ( (substr($value, 0, 1) != '`') && (substr($value, -1) != '`') ) {
$value = "'$value'";
}
}
$clause = (!empty($this->prefix) ? "{$this->prefix}." : "") . $this->column;
if ( !empty($this->function) ) {
$clause = sprintf($this->function, $clause);
}
$clause .= " {$this->operator} $value";
return $clause;
}
I don't understand it, don't know what this all means and what should or can be done to solve it.
The only thing I do know is that within a clean XOOPS install and although the admin adds/installs something these msgs don't appear.
Grtz., Shine