23377 Posts in 18296 Topics by 2867 members
|Go to End|
5 August 2009 at 4:53am
I am trying to upgrade my multi-lingual website from 2.3.2 to 2.3.3. i swapped out the folders CMS, Sapphire, jsparty, and googlesitemaps, and receive this error on dev/build:
[Warning] call_user_func(Array) [function.call-user-func]: First argument is expected to be a valid callback
Line 67 in C:\wamp\www\mylocalhostsite\sapphire\core\model\DataObjectDecorator.php
Line 67 of DataObjectDecorator.php
Line 305 of DataObject.php
Line 500 of Object.php
Line 209 of DataObject.php
Line 115 of Object.php
Line 262 of Core.php
Line 187 of DatabaseAdmin.php
Line 100 of DatabaseAdmin.php
Line 135 of DevelopmentAdmin.php
Line 129 of RequestHandler.php
Line 122 of Controller.php
Line 277 of Director.php
Line 121 of Director.php
Line 118 of main.php
is anyone else getting this error? any idea on how to fix it?
6 August 2009 at 3:38am
Ya I'm seeing this exact error as well, just since the upgrade to 2.3.3. No multi-lingual here though just English and it's from upgrading from 2.3.2 to 2.3.3.
6 August 2009 at 3:47am Last edited: 6 August 2009 10:32am
Seems to be something to do with this api change
 #4255 sharvey: !DataObjectDecorator::extraStatics() can no longer refer to $this because it's called staticly (Merged via: r81698)
6 August 2009 at 9:15pm Last edited: 6 August 2009 9:27pm
Yes - we've noticed this too. This is something we unfortunately didn't catch before releasing SS 2.3.3.
The bug was introduced by these changesets:
The bug was fixed in these changesets for the 2.3 development branch:
These fixes should make the next SS release, which will be 2.3.4.
In the mean time, if you want to fix your 2.3.3 installation, simply apply the above 5 changes to the SS files where you've installed it to.
Technically speaking, the issue was caused by FilesystemPublisher that has it's own __construct() method, but it didn't call parent::__construct() - thus breaking the assumption set by DataObject that it would.
7 August 2009 at 5:48am
works great! thanks Sean!
|Go to Top|