Hi,
I have recently upgraded to SilverStripe 3 and have attempted to convert current SiteConfig extensions to the new DataExtension model however now that SS is using strict mode, whilst in dev mode the following error occurs
Strict Standards: Declaration of UserConfig::updateCMSFields() should be compatible with that of DataExtension::updateCMSFields() in mysite\code\Users\UserConfig.php on line 27
The extension is actually working and the fields are being added to the settings area but it won't allow me to edit other pages within the CMS (the above error is dumped when clicking on a page in the pages section).
doc.silverstripe.org/framework/en/trunk/howto/extend-cms-interface Judging by this example I am doing everything correctly and even while leaving the updateCMSFields function completely blank it still dumps this error.
public function updateCMSFields(&$fields) {
}
Has anyone come across this issue and resolved it?