One of the sites I maintain is being updated to run on PHP 7.1. The old version of the Emogrifier library that we had been using is not compatible with PHP 7.1 so we are forced to update it. This causes problems with the enews module because Emogrifier is now using namespacing. I will have a patch ready soon that updates the .module file to handle this.

Comments

tristangraves created an issue. See original summary.

tristangraves’s picture

Here is the patch and here are some instructions on how to go about updating to the newest version of Emogrifier.

  1. Download newest Emogrifier code from here https://github.com/MyIntervals/emogrifier
  2. Copy the Emogrifier.php file into your sites /libraries folder if you are using the libraries module, or into the enews module directory in a new folder called emogrifier (path should end up /enews/emogrifier/emogrifier.php)
tristangraves’s picture

Status: Active » Needs review
tristangraves’s picture

StatusFileSize
new1.29 KB

I missed a check for the Emogrifier class that was in the .install file with the last patch. This patch should be good.