title: drupal module path and view path collision
body: <p>In Drupal 7 I created a custom module. With the menu hook I defined the following path:</p>
  
  <pre><code>  $items['reports/%'] = [
      'page callback' =&gt; 'report_area_page_ajax',
      'page arguments' =&gt; [1],
      'access callback' =&gt; true, // todo: set this
      'type' =&gt; MENU_CALLBACK,
      'depathlivery callback' =&gt; 'report_ajax_get_ajax'
    ];
  </code></pre>
  
  <p>Next, I've created a page in Views (latest version 7.x-3.11) with the path 'reports/%/archive'. </p>
  
  <p>There seems to be some kind of collision as I get these errors when 'reports/%/archive' is requested:</p>
  
  <pre><code>Warning: Invalid argument supplied for foreach() in element_children() (line 6525 of /home/user/domains/domain/public_html/includes/common.inc).
  Warning: Illegal string offset '#children' in drupal_render() (line 5982 of /home/user/domains/domain/public_html/includes/common.inc).
  Warning: Illegal string offset '#children' in drupal_render() (line 5992 of /home/user/domains/domain/public_html/includes/common.inc).
  Warning: Illegal string offset '#children' in drupal_render() (line 6030 of /home/user/domains/domain/public_html/includes/common.inc).
  Warning: Illegal string offset '#printed' in drupal_render() (line 6037 of /home/user/domains/domain/public_html/includes/common.inc).
  </code></pre>
  
  <p>When I configure the view with some other path (for example bla/%) the view page can be requested without any errors. </p>
  
  <p>What could be causing this?</p>