Notice: Undefined index: page_arguments in boost_boost_menu_router() in boost.module

*Fix:*

  // Try to handle everything else
-  elseif (is_array($router_item['page_arguments'])) {
+  elseif (!empty($router_item['page_arguments']) &&  is_array($router_item['page_arguments'])) {
    foreach ($router_item['page_arguments'] as $string) {
      if (is_string($string) && empty($router_item['page_type'])) {
        $router_item['page_type'] = $string;
      }
      elseif (is_string($string)) {
        $router_item['page_id'] .= $string;
      }
    }
  }
  // If router doesn't hold the the arguments, get them from the URL.

Comments

avpaderno’s picture

Issue summary: View changes
Status: Active » Closed (outdated)
Issue tags: -PHP E' Notice Undefined index: page_arguments boost_boost_menu_router

I am closing this bug report, as Drupal 6 is no longer supported. Please re-open it if the issue is still relevant for the Drupal 7 or 8 version of the module.