title: ErrorException (E_ERROR) Undefined index: streetNumber
body: <p>I have this decoded JSON and would like to display the data in my view but I get </p>
  
  <blockquote>
    <p>ErrorException (E_ERROR)
    Undefined index: streetNumber</p>
  </blockquote>
  
  <p>Here is a sample of the data:</p>
  
  <pre><code>array(11) {
      [0] =&gt; array(26) {
          ["privateRemarks"] =&gt; string(98)
          "Please use showing time and *** is available for any questions regarding showings at 00000" ["property"] =&gt; array(40) {
              ["roof"] =&gt; NULL["cooling"] =&gt; string(27)
              "Central Cooling,Paddle Fans" ["style"] =&gt; string(8)
              "Detached" ["area"] =&gt; NULL["bathsFull"] =&gt; int(5)["bathsHalf"] =&gt; int(1)["stories"] =&gt; NULL["fireplaces"] =&gt; NULL["flooring"] =&gt; string(13)
              "Marble Floors" ["heating"] =&gt; string(26)
              "Central Heat,Electric Heat" ["bathrooms"] =&gt; string(4)
              "6.00" ["foundation"] =&gt; NULL["laundryFeatures"] =&gt; NULL["occupantName"] =&gt; NULL["ownerName"] =&gt; NULL["lotDescription"] =&gt; string(22)
              "Less Than 1/4 Acre Lot" ["pool"] =&gt; string(17)
              "Below Ground Pool" ["subType"] =&gt; NULL["bedrooms"] =&gt; int(5)["interiorFeatures"] =&gt; string(18)
              "Second Floor Entry" ["lotSize"] =&gt; string(6)
              "55x127" ["areaSource"] =&gt; NULL["maintenanceExpense"] =&gt; NULL["additionalRooms"] =&gt; string(38)
              "Family Room,Other,Utility Room/Laundry" ["exteriorFeatures"] =&gt; string(35)
              "High Impact Doors,Exterior Lighting" ["water"] =&gt; string(15)
              "Municipal Water" ["view"] =&gt; string(25)
              "Ocean View,Pool Area View" ["lotSizeArea"] =&gt; int(55)["subdivision"] =&gt; NULL["construction"] =&gt; string(16)
              "CBS Construction" ["parking"] =&gt; array(3) {
                  ["leased"] =&gt; NULL["spaces"] =&gt; NULL["description"] =&gt; string(8)
                  "Driveway"
              }["lotSizeAreaUnits"] =&gt; NULL["type"] =&gt; string(3)
              "RES" ["garageSpaces"] =&gt; int(2)["bathsThreeQuarter"] =&gt; NULL["accessibility"] =&gt; NULL["acres"] =&gt; NULL["occupantType"] =&gt; string(18)
              "Call Listing Agent" ["subTypeText"] =&gt; NULL["yearBuilt"] =&gt; int(2006)
          }["mlsId"] =&gt; int(000000)["terms"] =&gt; NULL["showingInstructions"] =&gt; NULL["office"] =&gt; array(4) {
              ["contact"] =&gt; array(3) {
                  ["email"] =&gt; NULL["office"] =&gt; string(12)
                  "000000000" ["cell"] =&gt; NULL
              }["name"] =&gt; string(15)
              "**********" ["servingName"] =&gt; string(15)
              "**********" ["brokerid"] =&gt; string(6)
              "*****"
          }["leaseTerm"] =&gt; NULL["disclaimer"] =&gt; string(66)
          "This information is believed to be accurate, but without warranty." ["address"] =&gt; array(10) {
              ["crossStreet"] =&gt; NULL["state"] =&gt; string(2)
              "FL" ["country"] =&gt; string(13)
              "United States" ["postalCode"] =&gt; string(5)
              "33304" ["streetName"] =&gt; string(28)
              "N Fort Lauderdale Beach Blvd" ["streetNumberText"] =&gt; string(4)
              "00000" ["city"] =&gt; string(15)
              "Fort Lauderdale" ["streetNumber"] =&gt; int(0000)["full"] =&gt; string(33)
              "******* Beach Blvd" ["unit"] =&gt; NULL
          }["agreement"] =&gt; string(28)
          "Exclusive Right to Sell/Rent" ["listDate"] =&gt; NULL["agent"] =&gt; array(4) {
              ["lastName"] =&gt; string(8)
              "******" ["contact"] =&gt; array(3) {
                  ["email"] =&gt; string(16)
                  "***********" ["office"] =&gt; string(12)
                  "******" ["cell"] =&gt; NULL
              }["firstName"] =&gt; string(6)
              "*****" ["id"] =&gt; string(7)
              "******"
          }["modified"] =&gt; string(24)
          "2018-04-01T08:27:17.903Z" ["school"] =&gt; NULL["photos"] =&gt; array(65) {
              [0] =&gt; string(168)
              "img.jpg" [1] =&gt; string(168)
  
          }["listPrice"] =&gt; int(00005000)["listingId"] =&gt; string(9)
          "*******" ["mls"] =&gt; array(6) {
              ["status"] =&gt; string(6)
              "Active" ["area"] =&gt; string(4)
              "3160" ["daysOnMarket"] =&gt; NULL["originatingSystemName"] =&gt; NULL["statusText"] =&gt; string(6)
              "Active" ["areaMinor"] =&gt; NULL
          }["geo"] =&gt; array(5) {
              ["county"] =&gt; string(14)
              "Broward County" ["lat"] =&gt; NULL["lng"] =&gt; NULL["marketArea"] =&gt; string(4)
              "31" ["directions"] =&gt; NULL
          }["tax"] =&gt; array(3) {
              ["taxYear"] =&gt; int(2017)["taxAnnualAmount"] =&gt; int(41)["id"] =&gt; string(12)
              "494331"
          }["coAgent"] =&gt; NULL["sales"] =&gt; NULL["leaseType"] =&gt; NULL["virtualTourUrl"] =&gt; string(56)
          "https://www.prop.com" ["remarks"] =&gt; string(65)
          "4 levels of your estate." ["association"] =&gt; array(3) {
              ["fee"] =&gt; int(0)["name"] =&gt; string(10)
              "Homeowners" ["amenities"] =&gt; NULL
          }
  
      }
  }
  </code></pre>
  
  <p>Here the Controller excerpt</p>
  
  <pre><code>$properties = json_decode($file, true);
  return view('properties.all-properties')-&gt;with('properties',$properties);
  </code></pre>
  
  <p>Here is the test in my view</p>
  
  <pre><code>@foreach($properties as $details) 
      {{ $details["streetNumber"] }}
  @endforeach
  </code></pre>
  
  <p>I would like to loop trough the data an build the listing info</p>