I added the recent update to Better Messages module to my commerce site and my error log is showing the following error:

Notice: Undefined index: admin in better_messages_process_visibility() (line 164 of ... /code/sites/all/modules/better_messages/better_messages.module).

I am a novice at drupal, but I have tried re-indexing (3 times over the past 3 days), clearing the cache, and searching for similar issues. No success.

The Better Messages functionality seems to be working properly, but the error is causing my report page to constantly log errors for every single URL on my site.

Any advice on how to mitigate this issue would be extremely appreciated.

Thanks!

Comments

John_B’s picture

This is unrelated to indexing the site for search.

The first thing to do is to visit the configuration form for the module at admin/config/user-interface/better-messages and resave all settings. The clear caches and see if it is fixed.

Many larger sites turn off the log messages on the live site, for this reason. (Disable dblog module). I must admit I tend to leave it on.

Digit Professionals specialising in Drupal, WordPress & CiviCRM support for publishers in non-profit and related sectors

korlandi’s picture

Thanks! That worked!

henselkp’s picture

I appreciated this!
Thanks!