1043 Posts in 379 Topics by 373 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 797 Views |
-
error after upgrading to 2.4.1

17 September 2010 at 8:14pm
I am getting error
Notice: DataObjectDecorator::extraDBFields() is deprecated. Please use extraStatics() instead. in /home/vendeopr/public_html/sapphire/core/model/DataObjectDecorator.php on line 60
?
any suggestion ? -
Re: error after upgrading to 2.4.1

19 September 2010 at 2:06pm
Its as the error says, don't use extraDBFields() use extraStatics(). This is probably coming from a module which will need to be upgraded to a newer version for 2.4.
Check all your installed modules and custom code for extraDBFields(). All modules which have that will need to be updated to the latest version and your custom code changed from..
function extraDBFields() {
return array(....);
}Change that to...
function extraStatics() {
return array('db' => array(...);
}
| 797 Views | ||
|
Page:
1
|
Go to Top |


