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) »
  • Undefined variable line 170 subscribe.php
Pages: [1]

Author Topic: Undefined variable line 170 subscribe.php  (Read 544 times)

friendswoodtech

  • I’m new here
  • *
  • Posts: 28
  • Karma: 1
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7
  • MySQL version: 5.1.56
  • PHP version: 5.3.6
Undefined variable line 170 subscribe.php
September 30, 2011, 11:38:09 am
I am setting up a new site and have configured a mailing list group and am attempting to create a subscription block.  However, when I navigate to /civicrm/mailing/subscribe and input my email address and select the group, I receive this error.

Notice: Undefined variable: errors in CRM_Mailing_Form_Subscribe::formRule() (line 170 of /home/galvestoncountygop/public_html/sites/all/modules/civicrm/CRM/Mailing/Form/Subscribe.php).

I just upgraded to CiviCRM 4.0.6 hoping that might take care of the issue, but it remains.  I do receive my confirmation email and all appears to work, just the notice.

Any help would be appreciated.

Thanks!
Jackie

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Undefined variable line 170 subscribe.php
September 30, 2011, 01:42:15 pm

I've fixed this notice for CiviCRM v4.1. You can suppress notices for now. We hope to fix all of them by 4.1 :)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Undefined variable line 170 subscribe.php

This forum was archived on 2017-11-26.