CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Unsubscribe and Opt Out With Nonstandard groups
Pages: [1]

Author Topic: Unsubscribe and Opt Out With Nonstandard groups  (Read 350 times)

bcaldwell

  • I’m new here
  • *
  • Posts: 17
  • Karma: 1
    • Pushing7
  • CiviCRM version: 4.3.5
  • CMS version: Drupal 7.22
  • MySQL version: 5.5.31
  • PHP version: 5.3.10
Unsubscribe and Opt Out With Nonstandard groups
January 21, 2015, 09:06:06 am
I recently created a new mass email from the results of a custom search and the Unsubscribe and Opt Out links are resulting in a "There was an error in your request" error.

This may be related to Can't see public mailings if not logged in (https://forum.civicrm.org/index.php/topic,31691.msg138045/topicseen.html#msg138045) as the error message there is nearly identical to one I'm seeing.

At first, I thought the unsubscribe function was altogether broken, but it turns out that the problem is unique to this particular mailing, which leads me to believe that the way I created the mailing is part of the problem.

Two questions:

  • Is there a known issue with creating mass mails from a search that is not entirely comprised of public groups? When creating the mailing, I noticed that the recipient group was  something like "Hidden Group 2". I also excluded recipients of a previous mailing as part of the setup process. I'm guessing that the failure has something to do with the fact that the group id isn't something that's a group associated with mass emails.
  • Is it possible to derive the contact ID from the request URI? (ex. /civicrm/mailing/unsubscribe?qid=204752&h=ro38975p51s325152o48&jid=81&reset=1) If possible, I'd like to be able to unsubscribe and notify the folks who followed the link despite the fact that they got an error when following the link

So far, only 2-3 requests of this nature, but the mailing went to more than 1,000 people.

Thanks much,

-Ben

Here's the BACKTRACE:

Code: [Select]
***BACKTRACE***
#0 /var/www/clients/client5/web8/web/sites/default/files/civicrm/extensions/ca.bidon.reporterror/reporterror.php(207): reporterror_civicrm_generatereport("Partnership on Employment and Accessible Technology (PEAT)", (Array:2), NULL)
#1 /var/www/clients/client5/web8/web/sites/all/modules/civicrm/CRM/Core/Error.php(306): reporterror_civicrm_handler((Array:2))
#2 /var/www/clients/client5/web8/web/sites/all/modules/civicrm/CRM/Mailing/Page/Common.php(54): CRM_Core_Error::fatal("There was an error in your request")
#3 /var/www/clients/client5/web8/web/sites/all/modules/civicrm/CRM/Mailing/Page/Unsubscribe.php(39): CRM_Mailing_Page_Common->run()
#4 /var/www/clients/client5/web8/web/sites/all/modules/civicrm/CRM/Core/Invoke.php(323): CRM_Mailing_Page_Unsubscribe->run((Array:3), NULL)
#5 /var/www/clients/client5/web8/web/sites/all/modules/civicrm/CRM/Core/Invoke.php(72): CRM_Core_Invoke::runItem((Array:15))
#6 /var/www/clients/client5/web8/web/sites/all/modules/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:3))
#7 /var/www/clients/client5/web8/web/sites/all/modules/civicrm/drupal/civicrm.module(456): CRM_Core_Invoke::invoke((Array:3))
#8 [internal function](): civicrm_invoke("mailing", "unsubscribe")
#9 /var/www/clients/client5/web8/web/includes/menu.inc(517): call_user_func_array("civicrm_invoke", (Array:2))
#10 /var/www/clients/client5/web8/web/index.php(21): menu_execute_active_handler()
#11 {main}


Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Unsubscribe and Opt Out With Nonstandard groups

This forum was archived on 2017-11-26.