5093 Posts in 1516 Topics by 1113 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 839 Views |
-
Object of class Image could not be converted to int

6 January 2010 at 10:11am
I'm intermittently getting this warning. I've only seen it since upgrading to 2.3.4
How do I fix this?
[Notice] Object of class Image could not be converted to int
GET /uss/Line 1894 in C:\xampplite\htdocs\uss\sapphire\core\model\DataObject.php
1894 if((!isset($this->record[$fieldName]) && $val) || (isset($this->record[$fieldName]) && $this->record[$fieldName] != $val)) {
1895 // Value has changed as well, not just the type
1896 $this->changed[$fieldName] = 2;
1897 } -
Re: Object of class Image could not be converted to int

6 January 2010 at 10:30am
Could you post the backtrace. Do you have any custom code on the page that could be causing this error?
-
Re: Object of class Image could not be converted to int

6 January 2010 at 11:02am
Cheers, next time the warning comes up I'll put up the backtrace.
| 839 Views | ||
|
Page:
1
|
Go to Top |


