1129 Posts in 1248 Topics by 401 members
|Go to End|
29 February 2012 at 4:27pm
I have an issue with upgrading our silverstripe install from 2.4.6 to 2.4.7.
I use cached methods, which have an underscore (_) prepended to their names, in my code for performance improvement. However, after I upgraded my site to 2.4.7, silverstripe started to produce errors as shown below:
Warning: implode() [function.implode]: Invalid arguments passed
At line 365 in /***/silverstripe/sapphire/core/ViewableData.php
Warning: Illegal offset type
At line 385 in /***/silverstripe/sapphire/core/ViewableData.php
Is this expected behaviour? Is cached method or call deprecated in 2.4.7?
29 February 2012 at 5:21pm
There is a bug that causes this - you can find a patch for ViewableData.php here: http://open.silverstripe.org/ticket/6241 although it's strange that you weren't having a problem with 2.4.6 as this bug has been around for a while I think?
1 March 2012 at 12:16am
Oops, I remembered that I applied the patch a while ago. I unintentionally overwrote that file with the 2.4.7 upgrade!
Thank you for reminding me of it, JonoM!
|Go to Top|