I'm having all sorts of nightmares upgrading to 2.4!
Having followed the instructions very carefully, I flushed the database and just got a generic error message. I added the line Director::set_environment_type("dev"); to my _config.php file to get some more info on the error, but somehow this caused the database to rebuild properly.
I then went to refresh the CMS and got this error message:
[Warning] Missing argument 2 for CheckboxSetWithExtraField::setValue(), called in .../sapphire/forms/FormField.php on line 78 and defined
GET /silverstripe-v2.3.7/admin/?flush=1
Line 237 in .../newsletter/code/CheckboxSetWithExtraField.php
Source
228 $record->$k = Convert::array2json($v);
229 }
230 }
231 } else {
232 $record->$fieldname = '';
233 }
234 }
235 }
236
237 function setValue($val, $data){
238 if(is_string($val)) {
239 $val = explode(",", $val);
240 }
241
242 $this->value = $val;
243
This looks to me like an issue between the new Silverstripe version and the Newsletter module.
If I remove the Newsletter module from my webroot and flush the database I just get a blank white screen.
Any thoughts or solutions?
Thanks kindly for your help.