Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 8 compatability issue #221

Open
onyxnz opened this issue Mar 23, 2023 · 2 comments
Open

PHP 8 compatability issue #221

onyxnz opened this issue Mar 23, 2023 · 2 comments

Comments

@onyxnz
Copy link

onyxnz commented Mar 23, 2023

Warning: Undefined array key "status" in webform_submission_send_mail() (line 249 of /var/www/clients/client1/web1/web/modules/webform/includes/webform.submissions.inc).

Perhaps line 249 could be:
if (!$send_disabled && isset($email['status']) && !$email['status']) {

@herbdool
Copy link
Collaborator

I can't recreate this. If I disable an email listed on node/*/webform/emails then $email['status'] equals zero. And if I remove the email address altogether then it doesn't call webform_submission_send_mail().

Can you provide some steps to recreate on a fresh site?

@lourdas
Copy link

lourdas commented Mar 21, 2024

I'm on a PHP 8.1 (fpm, web server is Apache, MariaDB 10.6) installation on Linux and I received a TypeError in webform.admin.inc (the path is /admin/config/content/webform):

image

Another error in /admin/content/webform:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants