I have installed the contact layout editor extension on Drupal 7 and could not see editor when selecting contact summary layouts. I upgraded CiviCRM to version 5.19.2, enabled Shoreditch still nothing. All extensions are shown up to date. All I see when selecting the editor is this error messsage

Notice: Undefined index: target_contact_name in getContactActivitySelector() (line 2608 of /home/webdevelopmentsc/public_html/sites/all/modules/civicrm/CRM/Activity/BAO/Activity.php). =>

Any help or assistance would be appreciated.



  • can you check the civicrm log file for more details. before that clear you cache, /civicrm/menu/rebuild url – Sunil Pawar Nov 21 '19 at 16:19
  • Cache cleared and repeated the selection. I enabled error reporting. Great stream under logfile location. This is the 8 element array under the error message, Notice: Undefined index: target_contact_name in getContactActivitySelector() (line 2608 of /home/webdevelopmentsc/public_html/sites/all/modules/civicrm/CRM/Activity/BAO/Activity.php). => – gcpower Nov 21 '19 at 18:00
  • This is array listing 7: CRM_Activity_BAO_Activity::getContactActivitySelector() (Array, 2 elements) 6: CRM_Activity_Page_AJAX::getContactActivity() (Array, 2 elements) 5: CRM_Core_Invoke::runItem() (Array, 2 elements) 4: CRM_Core_Invoke::_invoke() (Array, 2 elements) 3: CRM_Core_Invoke::invoke() (Array, 2 elements) 2: civicrm_invoke() (Array, 2 elements) 1: menu_execute_active_handler() (Array, 2 elements) 0: main() (Array, 2 elements) – gcpower Nov 21 '19 at 18:01
  • php 'Notice' won't stop loading the page, can you check civicrm log file.? – Sunil Pawar Nov 22 '19 at 4:10
  • Thanks. I set the Enable Drupal Watchdog Logging to Yes, so all CiviCRM errors should appear in Drupal watchdog. Am i missing something? – gcpower Nov 22 '19 at 8:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.