I've just updated to the current (2016-Dec-19) version of 7.x-1.x-dev

If I try visiting a bookmarked page that has several facets already selected, the warning message "Theme hook current_search_accessible_markup not found." is shown in the "Recent log messages" report.

The recent change that mentions that hook is https://www.drupal.org/node/1942922, so it may be related.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

davidhk created an issue. See original summary.

donquixote’s picture

Yes, the theme callback theme_current_search_accessible_markup() and the call in theme_current_search_link_active() were introduced without registering this hook in current_search_theme(). This is a bug.

Suggested fix:

@@ -105,6 +105,11 @@ function current_search_theme() {
       'render element' => 'element',
       'file' => 'current_search.theme.inc',
     ),
+    /* @see theme_current_search_accessible_markup() */
+    'current_search_accessible_markup' => array(
+      'arguments' => array('text' => NULL, 'active' => FALSE),
+      'file' => 'current_search.theme.inc',
+    ),
   );
 }
donquixote’s picture

Status: Active » Needs review
FileSize
618 bytes
davidhk’s picture

Status: Needs review » Reviewed & tested by the community

Thanks @donquixote, I made the change suggested above and there are no more warning messages.

Yazzbe’s picture

tx. that fixed it.
no more errors in the log.

anrikun’s picture

+1 RTBC

cmseasy’s picture

+1 please commit

eugene.ilyin’s picture

Small but important fix. Committed.

eugene.ilyin’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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