Closed (fixed)
Project:
Mail MIME
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
4 Sep 2018 at 09:14 UTC
Updated:
26 Sep 2021 at 19:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
salvisThe patch #4 is in the -dev version.
You're not really still using version 7.x-2.17, are you?
If you want to post a patch based on the -dev version (and change the Version indicator) to remove #4 and add #2 then I'll commit it, but I have severe doubts that this module can run under PHP 7 because AFAIK the dependencies don't.
Comment #3
ljgra commentedI am now using the dev version, but got the following error when trying to request for password change:
Deprecated function: Function create_function() is deprecated in MailMIME::toHeaders() (line 742 of .../sites/all/modules/mailmime/mailmime.inc).
Deprecated function: Function create_function() is deprecated in MailMIME::toHeaders() (line 742 of .../sites/all/modules/mailmime/mailmime.inc).
Deprecated function: Function create_function() is deprecated in MailMIME::toHeaders() (line 742 of .../sites/all/modules/mailmime/mailmime.inc).
Deprecated function: Function create_function() is deprecated in MailMIME::toHeaders() (line 742 of .../sites/all/modules/mailmime/mailmime.inc).
Deprecated function: Function create_function() is deprecated in MailMIME::toHeaders() (line 742 of .../sites/all/modules/mailmime/mailmime.inc).
Deprecated function: Function create_function() is deprecated in MailMIME::toHeaders() (line 742 of .../sites/all/modules/mailmime/mailmime.inc).
Deprecated function: Function create_function() is deprecated in MailMIME::toHeaders() (line 742 of .../sites/all/modules/mailmime/mailmime.inc).
Deprecated function: Function create_function() is deprecated in MailMIME::toHeaders() (line 742 of .../sites/all/modules/mailmime/mailmime.inc).
Deprecated function: Function create_function() is deprecated in MailMIME::toHeaders() (line 742 of .../sites/all/modules/mailmime/mailmime.inc).
Deprecated function: Function create_function() is deprecated in MailMIME::toHeaders() (line 742 of .../sites/all/modules/mailmime/mailmime.inc).
Deprecated function: Function create_function() is deprecated in MailMIME::toHeaders() (line 742 of .../sites/all/modules/mailmime/mailmime.inc).
Deprecated function: Function create_function() is deprecated in MailMIME::toHeaders() (line 742 of .../sites/all/modules/mailmime/mailmime.inc).
Deprecated function: Function create_function() is deprecated in MailMIME::toHeaders() (line 742 of .../sites/all/modules/mailmime/mailmime.inc).
Deprecated function: Function create_function() is deprecated in MailMIME::toHeaders() (line 742 of .../sites/all/modules/mailmime/mailmime.inc).
Comment #4
salvisCould this work?
Comment #5
Anonymous (not verified) commentedWorks for me!
Comment #6
avpadernoAnonymous functions has been introduced in PHP 5.3. Since the minimum recommended PHP version for Drupal 7 is PHP 7.3, there should not be any issue with this change.
Comment #7
avpadernoIt seems I cannot push changes as the branch is protected. The error message says:
Comment #9
salvisThank for reviewing!