I get an error when I run fixup_inboxes.php.
# ./fixup_inboxes.php
Catchable fatal error: Object of class Sms_carrier could not be
converted to string in /home/www/mysite/htdocs/lib/util.php on
line 1491
Here's where the error is reported from:
function common_log_objstring(&$object)
{
if (is_null($object)) {
return "null";
}
$arr = $object->toArray();
$fields = array();
foreach ($arr as $k => $v) {
$fields[] = "$k='$v'"; // Line 1491
}
$objstring = $object->tableName() . '[' . implode(',', $fields) .
']'; return $objstring;
}
Now, when I run the sql within that script manually, it seems to work
fine. any hints?
_______________________________________________
Laconica-dev mailing list
[email protected]
http://mail.laconi.ca/mailman/listinfo/laconica-dev