10930 Posts in 2613 Topics by 1810 members
|Go to End|
13 February 2009 at 11:30pm
I just did a fresh installation of latest version of SS. I was setting up a site and couldn't get Newsletter form getting work.
When I view the page I see this error..
FATAL ERROR: Invalid argument supplied for foreach()
At line 266 in /Applications/xampp/xamppfiles/htdocs/silverstripe/cms/code/Newsletter/SubscribeForm.php
line 404 of ViewableData.php
line 203 of .cache.Applications.xampp.xamppfiles.htdocs.silverstripe.themes.blackcandy.templates.Layout.Page.ss
line 197 of SSViewer.php
line 189 of SSViewer.php
line 296 of Controller.php
line 267 of Controller.php
line 22 of ModelAsController.php
line 104 of Director.php
line 158 of main.php
Debug (Debug::showError() in line 180 of Debug.php)
* form =
o EmailFieldEmailField (EditableEmailField17: Email address : ) =
o TextFieldTextField (EditableTextField18: Your name : ) =
o TextareaFieldTextareaField (EditableTextField20: Address : ) =
o TextFieldTextField (EditableTextField21: Job title : ) =
o TextFieldTextField (EditableTextField22: Organisation : ) =
o HiddenFieldHiddenField (Referrer: : ) = http://localhost/silverstripe/
* newsletterList =
* newsletters =
16 February 2009 at 2:00pm
Is that the 2.3rc latest version of Silverstripe or the latest stable 2.2.3?. You might like to test using the latest 2.3rc3 of SilverStripe and the latest daily build from the newsletter download page and see if that works.
25 March 2009 at 10:12am
I had the same problem with 2.3.1 version, trying to add one "Subscribe Form".
I think maybe one problem with "there's no newsletter yet" and I've added new newsletter and the page was opened right.
I had no time now to debug in deep and I think this comment maybe help future release.
|Go to Top|