I got the following notices when installing all the SPAM modules.

The undefined constants look like you are missing the quotes in your define() statements.

  • notice: Use of undefined constant SPAM_FILTER_CUSTOM_STYLE_PLAIN - assumed 'SPAM_FILTER_CUSTOM_STYLE_PLAIN' in /usr/clients/www/drupal/sites/all/modules/spam/filters/spam_filter_custom/spam_filter_custom.module on line 14.
  • notice: Use of undefined constant SPAM_FILTER_CUSTOM_STYLE_REGEX - assumed 'SPAM_FILTER_CUSTOM_STYLE_REGEX' in /usr/clients/www/drupal/sites/all/modules/spam/filters/spam_filter_custom/spam_filter_custom.module on line 15.
  • notice: Use of undefined constant SPAM_FILTER_CUSTOM_STATUS_NOTSPAM - assumed 'SPAM_FILTER_CUSTOM_STATUS_NOTSPAM' in /usr/clients/www/drupal/sites/all/modules/spam/filters/spam_filter_custom/spam_filter_custom.module on line 17.
  • notice: Use of undefined constant SPAM_FILTER_CUSTOM_STATUS_PROBABLYNOT - assumed 'SPAM_FILTER_CUSTOM_STATUS_PROBABLYNOT' in /usr/clients/www/drupal/sites/all/modules/spam/filters/spam_filter_custom/spam_filter_custom.module on line 18.
  • notice: Use of undefined constant SPAM_FILTER_CUSTOM_STATUS_DISABLED - assumed 'SPAM_FILTER_CUSTOM_STATUS_DISABLED' in /usr/clients/www/drupal/sites/all/modules/spam/filters/spam_filter_custom/spam_filter_custom.module on line 19.
  • notice: Use of undefined constant SPAM_FILTER_CUSTOM_STATUS_PROBABLY - assumed 'SPAM_FILTER_CUSTOM_STATUS_PROBABLY' in /usr/clients/www/drupal/sites/all/modules/spam/filters/spam_filter_custom/spam_filter_custom.module on line 20.
  • notice: Use of undefined constant SPAM_FILTER_CUSTOM_STATUS_SPAM - assumed 'SPAM_FILTER_CUSTOM_STATUS_SPAM' in /usr/clients/www/drupal/sites/all/modules/spam/filters/spam_filter_custom/spam_filter_custom.module on line 21.
  • notice: Use of undefined constant SPAM_FILTER_CUSTOM_SCAN_CONTENT - assumed 'SPAM_FILTER_CUSTOM_SCAN_CONTENT' in /usr/clients/www/drupal/sites/all/modules/spam/filters/spam_filter_custom/spam_filter_custom.module on line 23.
  • notice: Use of undefined constant SPAM_FILTER_CUSTOM_SCAN_REFERRER - assumed 'SPAM_FILTER_CUSTOM_SCAN_REFERRER' in /usr/clients/www/drupal/sites/all/modules/spam/filters/spam_filter_custom/spam_filter_custom.module on line 24.
  • notice: Use of undefined constant SPAM_FILTER_CUSTOM_SCAN_USERAGENT - assumed 'SPAM_FILTER_CUSTOM_SCAN_USERAGENT' in /usr/clients/www/drupal/sites/all/modules/spam/filters/spam_filter_custom/spam_filter_custom.module on line 25.
  • notice: Undefined index: default_logo in /usr/clients/www/drupal/sites/all/modules/mo_m2osw/mo_m2osw.install on line 60.
  • notice: Undefined index: logo_path in /usr/clients/www/drupal/sites/all/modules/mo_m2osw/mo_m2osw.install on line 60.
  • notice: Undefined index: logo_path in /usr/clients/www/drupal/sites/all/modules/mo_m2osw/mo_m2osw.install on line 62.
  • notice: Undefined index: default_favicon in /usr/clients/www/drupal/sites/all/modules/mo_m2osw/mo_m2osw.install on line 66.
  • notice: Undefined index: favicon_path in /usr/clients/www/drupal/sites/all/modules/mo_m2osw/mo_m2osw.install on line 66.
  • notice: Undefined index: favicon_path in /usr/clients/www/drupal/sites/all/modules/mo_m2osw/mo_m2osw.install on line 68.
  • notice: Use of undefined constant MENU_LOCAL_CALLBACK - assumed 'MENU_LOCAL_CALLBACK' in /usr/clients/www/drupal/sites/all/modules/spam/spam.module on line 538.
  • notice: Use of undefined constant MENU_LOCAL_CALLBACK - assumed 'MENU_LOCAL_CALLBACK' in /usr/clients/www/drupal/sites/all/modules/spam/spam.module on line 544.
  • notice: Use of undefined constant SPAM_FILTER_CUSTOM_STYLE_PLAIN - assumed 'SPAM_FILTER_CUSTOM_STYLE_PLAIN' in /usr/clients/www/drupal/sites/all/modules/spam/filters/spam_filter_custom/spam_filter_custom.module on line 14.
  • notice: Use of undefined constant SPAM_FILTER_CUSTOM_STYLE_REGEX - assumed 'SPAM_FILTER_CUSTOM_STYLE_REGEX' in /usr/clients/www/drupal/sites/all/modules/spam/filters/spam_filter_custom/spam_filter_custom.module on line 15.
  • notice: Use of undefined constant SPAM_FILTER_CUSTOM_STATUS_NOTSPAM - assumed 'SPAM_FILTER_CUSTOM_STATUS_NOTSPAM' in /usr/clients/www/drupal/sites/all/modules/spam/filters/spam_filter_custom/spam_filter_custom.module on line 17.
  • notice: Use of undefined constant SPAM_FILTER_CUSTOM_STATUS_PROBABLYNOT - assumed 'SPAM_FILTER_CUSTOM_STATUS_PROBABLYNOT' in /usr/clients/www/drupal/sites/all/modules/spam/filters/spam_filter_custom/spam_filter_custom.module on line 18.
  • notice: Use of undefined constant SPAM_FILTER_CUSTOM_STATUS_DISABLED - assumed 'SPAM_FILTER_CUSTOM_STATUS_DISABLED' in /usr/clients/www/drupal/sites/all/modules/spam/filters/spam_filter_custom/spam_filter_custom.module on line 19.
  • notice: Use of undefined constant SPAM_FILTER_CUSTOM_STATUS_PROBABLY - assumed 'SPAM_FILTER_CUSTOM_STATUS_PROBABLY' in /usr/clients/www/drupal/sites/all/modules/spam/filters/spam_filter_custom/spam_filter_custom.module on line 20.
  • notice: Use of undefined constant SPAM_FILTER_CUSTOM_STATUS_SPAM - assumed 'SPAM_FILTER_CUSTOM_STATUS_SPAM' in /usr/clients/www/drupal/sites/all/modules/spam/filters/spam_filter_custom/spam_filter_custom.module on line 21.
  • notice: Use of undefined constant SPAM_FILTER_CUSTOM_SCAN_CONTENT - assumed 'SPAM_FILTER_CUSTOM_SCAN_CONTENT' in /usr/clients/www/drupal/sites/all/modules/spam/filters/spam_filter_custom/spam_filter_custom.module on line 23.
  • notice: Use of undefined constant SPAM_FILTER_CUSTOM_SCAN_REFERRER - assumed 'SPAM_FILTER_CUSTOM_SCAN_REFERRER' in /usr/clients/www/drupal/sites/all/modules/spam/filters/spam_filter_custom/spam_filter_custom.module on line 24.
  • notice: Use of undefined constant SPAM_FILTER_CUSTOM_SCAN_USERAGENT - assumed 'SPAM_FILTER_CUSTOM_SCAN_USERAGENT' in /usr/clients/www/drupal/sites/all/modules/spam/filters/spam_filter_custom/spam_filter_custom.module on line 25.
  • notice: Undefined variable: index in /usr/clients/www/drupal/sites/all/modules/spam/filters/spam_filter_duplicate/spam_filter_duplicate.module on line 70.
CommentFileSizeAuthor
#1 spam-e_notice-6.x.patch1.51 KBAlexisWilke

Comments

AlexisWilke’s picture

Assigned: Unassigned » AlexisWilke
Category: task » bug
Status: Active » Needs review
StatusFileSize
new1.51 KB

There is a patch for the spam_filter_custom.module define(). It happens on every single page! 8-(

Thank you.
Alexis Wilke

jeremy’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.