I’ve been battling against this issue for the last few hours and I’ve reached the end of my ideas, so I thought I’d post and see what comes of it.
I’ve written an extension which uses the freeform_module_insert_end hook to perform some extra actions after adding to the database. Sadly I’m receiving the following error messages when it’s in place.
Notice: Undefined variable: msg in /web/www.idworks.ie/current/public/core/modules/freeform/mod.freeform.php on line 1354
Warning: Cannot modify header information - headers already sent by (output started at /web/www.idworks.ie/current/public/core/modules/freeform/mod.freeform.php:1354) in /web/www.idworks.ie/current/public/core/core/core.functions.php on line 296
From the look of things $msg seems to be undefined. It gets set in the code which checks whether to send notifications, and the code which sends a response to the user, but after each it is unset.
Originally I was using version 2.5.2 but the problem has persisted since I updated to 2.6.0. Expression Engine is at version 1.6.1 (build 20071204).
Steve
Any ideas?
