Hello. I've commented on the main support page for Newsletter, stating that in order to get to change the backend area of Newsletter, I had to change some conditional statements from the code.
On a testing installation of Silverstripe.... I switched wherever I saw Database::USE... to DB::USE.... and then the newsletter worked fine with no javascript parse error anywhere.
On second thought, I am wondering if DB:: is originally included in the Silverstripe API, or I could've placed any letters XX:: where Database:: was.
using 2.4 Silverstripe with Newsletter .4
The newsletter works fine until someone fills the subscription page out.
Then they see the following error, and the page still displays:
This page contains the following errors:
--------------------------------------------------
error on line 170 at column 7: Opening and ending tag mismatch: br line 0 and div
Below is a rendering of the page up to the first error.
-------------------------------------------------