Hi,
I have setup freeform with ajax per this video.
It shows you how to, from start to finish, setup freeform and how to use jquery form plugin to show a success message without a page load.
It’s pretty strait forward and I setup everything exactly as per the video though, I am getting the following error:
A PHP Error was encountered
Severity: Notice
Message: Undefined property: EE::$javascript
Filename: libraries/Functions.php
Line Number: 374
Fatal error: Call to a member function generate_json() on a non-object in /home/******/public_html/system/expressionengine/libraries/Functions.php on line 374When I comment line 374 out in Functions.php everything works exactly as it should so I think I did everything on my end correctly.
I know this area of the Functions.php file has comments which talk about Ajax specifically for whatever it’s worth.
Any thoughts on why this is happening?
Thanks