Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
in project_issue.module on line 1455 it should be
$vars['head_title'] = t('@title [#@nid] | @site_name', array('@title' => $node->title, '@nid' => $node->nid, '@site_name' => variable_get('site_name', 'Drupal')));
instead of
$vars['head_title'] = t('@title [#@nid] | @site_name', ['@title' => $node->title, '@nid' => $node->nid, '@site_name' => variable_get('site_name', 'Drupal')]);
- options for t() as array() not []
Comments
Comment #2
drummThat’s PHP 5.4 array syntax. Upgrading to PHP 5.4 or later is recommended.