title: Errors after migration to PHP7
body: <p>I am seeing the following error after migrating to PHP7 from PHP5</p>
  
  <pre><code>PHP Notice:  Array to string conversion in /data/get.php on line 25
  PHP Notice:  Undefined property: stdClass::$Array in /data/get.php on line 25
  PHP Notice:  Trying to get property 'file' of non-object in /data/get.php on line 25
  PHP Warning:  include(): Filename cannot be empty in /data/get.php on line 25
  PHP Warning:  include(): Failed opening '' for inclusion (  include_path='.:/apps/php-7.2.9/lib/php') in /data/get.php on line 25
  </code></pre>
  
  <p>Following the are lines of code </p>
  
  <pre><code> ` $arr_no_security = array("casestudy","homesharepins", "videotour", "questionengine","casestudysplash");
     $security_check = (!in_array($_GET['section'],$arr_no_security));
  
    require_once('includes/app.php');
  
   if(!Security::is_error())
   {
      if (isset($_GET['section']))
      {
              include('sections/section.header.inc.php');
              $bln_file_included = false;
              foreach ($config-&gt;application_data-&gt;get as $section =&gt; $value)
              {
                      if (strtolower($_GET['section']) == strtolower($section)) {
                              $bln_file_included = true;
                                       include($config-&gt;application_data-&gt;get-&gt;$_GET['section']-&gt;file);
                      }
  </code></pre>
  
  <p>The last line is line no 25</p>
  
  <p>Any suggestions to resolve this</p>