jkersu

Do you have 2 files @marvin? Your Page & Controller isn't setup properly

marvin

Part 2 — the Controller…

Files: Requires logging in with Slack to view/download
ContactPageController.php
marvin

The pieces of the puzzle. Get the Gist??

Files: Requires logging in with Slack to view/download
ContactPage.php
jkersu

What @null is saying is that it does not even hit the submit function at all... i.e. does not even reach $email = new Email()

👍 (1)
marvin

Thought so. Still I thought I’s put that out there… how does it know WHERE to send the email?

jkersu

maybe a gist of the whole PHP file in case someones spots something

marvin

… and it’s nothing to do with the (<mailto:'[email protected]|'[email protected]>') email address?

marvin

Hmm, the public function submit($data, $form) is on ContactPageController.php. So that’s not it?

null

so that means your method isn't being called

marvin

Hi @null, did the test and the same thing happened…

null

Also make sure public function submit($data, $form) is defined on the Controller, not the Page