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) »
  • PHP Notices
Pages: [1]

Author Topic: PHP Notices  (Read 1449 times)

fen

  • I post frequently
  • ***
  • Posts: 216
  • Karma: 13
    • CivicActions
  • CiviCRM version: 3.3-4.3
  • CMS version: Drupal 6/7
  • MySQL version: 5.1/5.5
  • PHP version: 5.3/5.4
PHP Notices
September 04, 2007, 10:19:01 am
Hi -

I just switched the way I invoke civimail.cronjob.php from calling it as a web page (using lftp, similar to wget) to PHP CLI invocation.  What I get are a lot of "PHP Notices" that I didn't get before, such as many of each of these lines in a recent large mailing:

Code: [Select]
PHP Notice:  Undefined index:  display_name in /home/clients/websites/w_bfi/civicrm/v1.7-rev10272/CRM/Utils/Address.php on line 102
PHP Notice:  Undefined variable: cf in /home/clients/websites/w_bfi/civicrm/v1.7-rev10272/CRM/Core/BAO/CustomValue.php on line 305
PHP Notice:  Only variable references should be returned by reference in /home/clients/websites/w_bfi/civicrm/v1.7-rev10272/packages/Mail/mime.php on line 376

Are such lines "normal"?

Thanks,
=Fen

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: PHP Notices
September 04, 2007, 12:26:46 pm

Yes, they are "normal". however we made a pretty big effort to get rid of most of them in 1.8

Would be great if you could file an issue AND a patch for the below notices. If the changes are trivial, we will patch the 1.8 code base

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) »
  • PHP Notices

This forum was archived on 2017-11-26.