Contact form isn´t working when user is not logged in (General)

by Tommy Nilsson ⌂, Tuesday, March 14, 2023, 09:27 (438 days ago) @ Tommy Nilsson

I don´t have access to the server log files. The One.com (my webhotel) chat support couldn´t see what wrong as it´s “custom code”. Their tech support will monitor my site and email me within 24 hours with a result.

Turning PHP errors on, I suddenly got this:

Fatal error: Uncaught Error: Call to a member function getResponse() on null in /customers/3/d/5/svenska-lok.se/httpd.www/forum/modules/akismet/akismet.class.php:250 Stack trace: #0 /customers/3/d/5/svenska-lok.se/httpd.www/forum/includes/contact.inc.php(176): Akismet->isSpam() #1 /customers/3/d/5/svenska-lok.se/httpd.www/forum/index.php(149): include('/customers/3/d/...') #2 {main} thrown in /customers/3/d/5/svenska-lok.se/httpd.www/forum/modules/akismet/akismet.class.php on line 250

I then turned akismet_mail_check off and bingo! The form now works even when you´re not logged in.

b8_mail_check is off.

I hope this helps. :-)

/Tommy


Complete thread:

 RSS Feed of thread