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

by Auge ⌂, Monday, March 13, 2023, 15:19 (439 days ago) @ Tommy Nilsson

I have just realized that the contact form isn´t working when a user isn´t logged into the forum - argh.
The page returns HTTP ERROR 500.

Hmm, this is the second report about a HTTP status 500 within a few weeks. The first was (initially) about not saving entries of registered users who are not moderators or administrators. After a first check of the code it is something with the spam check with Akismet or B8 (Bayes-based Filter). In both cases the error occurs with PHP 8.0.x or 8.1.x.

The form does work when a user is logged in.
captcha_email on/off makes no difference.
I have looked through contact.inc.php but can´t figure out what is wrong.
Forum is version 20220803.1. PHP version is 8.0.
Any help is appreciated.

I will look into the code myself. I suspect that there is something incompatible with PHP 8, we don't know. I am afraid that this will be a very elaborate analysis. :-(

Tschö, Auge

Trenne niemals Müll, denn er hat nur eine Silbe!

Complete thread:

 RSS Feed of thread