Closed (fixed)
Project:
Return-Path
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
24 Aug 2010 at 21:10 UTC
Updated:
20 Feb 2011 at 01:40 UTC
I have just installed this on a project Mercury install (Pressflow + Varnish + Apache Solr).
The only modules installed are Varnish and Apache Solr.
When I register a new user, the mail is sent properly with the email address that is specific in the admin/site information section.
However, I see this error message on the main page.
Notice: Undefined variable: messages in drupal_mail_wrapper() (line 28 of /vol/var/www/sites/all/modules/returnpath/returnpath.module).
Comments
Comment #1
toemaz commentedWhat pressflow version are you using? (Varnish & Apachesolr can be left out of the issue I suppose)
Comment #2
cookiesunshinex commentedIt should be 6.19. That's what Drupal core says in admin/reports/updates
I'm using the EU-West - ami-6d3c1619 - 32-bit Project Mercury (Apache+Apache Solr+Drupal-Pressflow+Varnish+Memcached)
The error message above appears after someone registers, requests a new password, or uses the contact form.
Comment #3
cookiesunshinex commentedHello, I stumbled upon this post in the link below while researching other Notice: Undefined Variable errors in other modules.
Title: If you edit PHP code, please work with E_NOTICE turned on!
http://randyfay.com/node/76
Comment #4
buddaTypo fixed in the unset(). Committed to 6.x dev.