Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/wgregorybell/public_html/phpls/app/Models/Listing.php on line 360

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/wgregorybell/public_html/phpls/app/Models/Listing.php on line 360
object(PDOException)#752 (8) {
  ["message":protected]=>
  string(205) "SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '?' at line 4"
  ["string":"Exception":private]=>
  string(1935) "PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '?' at line 4 in /home/wgregorybell/public_html/phpls/app/Src/Dbal/QueryBuilder.php:505
Stack trace:
#0 /home/wgregorybell/public_html/phpls/app/Src/Dbal/QueryBuilder.php(505): PDOStatement->execute(Array)
#1 /home/wgregorybell/public_html/phpls/app/Src/Dbal/QueryBuilder.php(477): App\Src\Dbal\QueryBuilder->statement(Object(App\Src\Dbal\Query))
#2 /home/wgregorybell/public_html/phpls/app/Src/Orm/Query.php(160): App\Src\Dbal\QueryBuilder->fetchObject(Array, 'App\\Models\\Loca...', Array)
#3 /home/wgregorybell/public_html/phpls/app/Src/Orm/Relations/Relation.php(106): App\Src\Orm\Query->first()
#4 /home/wgregorybell/public_html/phpls/app/Src/Orm/Relations/BelongsTo.php(148): App\Src\Orm\Relations\Relation->__call('first', Array)
#5 /home/wgregorybell/public_html/phpls/app/Src/Orm/Query.php(200): App\Src\Orm\Relations\BelongsTo->load('location', Object(App\Models\Listing))
#6 /home/wgregorybell/public_html/phpls/app/Src/Orm/Model.php(447): App\Src\Orm\Query->eagerLoadRelation(Object(App\Models\Listing), 'location')
#7 /home/wgregorybell/public_html/phpls/app/Src/Support/BaseCollection.php(178): App\Src\Orm\Model->offsetGet('location')
#8 /home/wgregorybell/public_html/phpls/app/Controllers/Index.php(239): App\Src\Support\BaseCollection->__get('location')
#9 /home/wgregorybell/public_html/phpls/app/Src/Mvc/BaseController.php(20): App\Controllers\Index->actionRouter(Array)
#10 /home/wgregorybell/public_html/phpls/app/Src/Application.php(184): App\Src\Mvc\BaseController->action('Router', Array)
#11 /home/wgregorybell/public_html/phpls/app/Src/Application.php(149): App\Src\Application->dispatch('Index/Router', Array)
#12 /home/wgregorybell/public_html/index.php(23): App\Src\Application->execute()
#13 {main}"
  ["code":protected]=>
  string(5) "42000"
  ["file":protected]=>
  string(66) "/home/wgregorybell/public_html/phpls/app/Src/Dbal/QueryBuilder.php"
  ["line":protected]=>
  int(505)
  ["trace":"Exception":private]=>
  array(13) {
    [0]=>
    array(6) {
      ["file"]=>
      string(66) "/home/wgregorybell/public_html/phpls/app/Src/Dbal/QueryBuilder.php"
      ["line"]=>
      int(505)
      ["function"]=>
      string(7) "execute"
      ["class"]=>
      string(12) "PDOStatement"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(1) {
        [0]=>
        array(0) {
        }
      }
    }
    [1]=>
    array(6) {
      ["file"]=>
      string(66) "/home/wgregorybell/public_html/phpls/app/Src/Dbal/QueryBuilder.php"
      ["line"]=>
      int(477)
      ["function"]=>
      string(9) "statement"
      ["class"]=>
      string(25) "App\Src\Dbal\QueryBuilder"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(1) {
        [0]=>
        object(App\Src\Dbal\Query)#754 (2) {
          ["sql"]=>
          string(74) "SELECT
phpls_locations.*
FROM phpls_locations
WHERE phpls_locations.id = ?"
          ["parameters"]=>
          array(0) {
          }
        }
      }
    }
    [2]=>
    array(6) {
      ["file"]=>
      string(58) "/home/wgregorybell/public_html/phpls/app/Src/Orm/Query.php"
      ["line"]=>
      int(160)
      ["function"]=>
      string(11) "fetchObject"
      ["class"]=>
      string(25) "App\Src\Dbal\QueryBuilder"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(3) {
        [0]=>
        array(1) {
          [0]=>
          string(17) "phpls_locations.*"
        }
        [1]=>
        string(19) "App\Models\Location"
        [2]=>
        array(2) {
          [0]=>
          array(0) {
          }
          [1]=>
          bool(true)
        }
      }
    }
    [3]=>
    array(6) {
      ["file"]=>
      string(71) "/home/wgregorybell/public_html/phpls/app/Src/Orm/Relations/Relation.php"
      ["line"]=>
      int(106)
      ["function"]=>
      string(5) "first"
      ["class"]=>
      string(17) "App\Src\Orm\Query"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(0) {
      }
    }
    [4]=>
    array(6) {
      ["file"]=>
      string(72) "/home/wgregorybell/public_html/phpls/app/Src/Orm/Relations/BelongsTo.php"
      ["line"]=>
      int(148)
      ["function"]=>
      string(6) "__call"
      ["class"]=>
      string(30) "App\Src\Orm\Relations\Relation"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(2) {
        [0]=>
        string(5) "first"
        [1]=>
        array(0) {
        }
      }
    }
    [5]=>
    array(6) {
      ["file"]=>
      string(58) "/home/wgregorybell/public_html/phpls/app/Src/Orm/Query.php"
      ["line"]=>
      int(200)
      ["function"]=>
      string(4) "load"
      ["class"]=>
      string(31) "App\Src\Orm\Relations\BelongsTo"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(2) {
        [0]=>
        string(8) "location"
        [1]=>
        object(App\Models\Listing)#782 (14) {
          ["items":protected]=>
          array(71) {
            ["id"]=>
            int(3262)
            ["import_id"]=>
            NULL
            ["active"]=>
            int(1)
            ["claimed"]=>
            int(1)
            ["status"]=>
            string(6) "active"
            ["rating"]=>
            float(0)
            ["review_count"]=>
            int(0)
            ["impressions"]=>
            NULL
            ["search_impressions"]=>
            NULL
            ["phone_views"]=>
            NULL
            ["website_clicks"]=>
            NULL
            ["_featured"]=>
            int(1)
            ["_position"]=>
            int(0)
            ["_extra_categories"]=>
            int(5)
            ["_title_size"]=>
            int(150)
            ["_short_description_size"]=>
            int(150)
            ["_description_size"]=>
            int(2500)
            ["_gallery_size"]=>
            int(5)
            ["_address"]=>
            int(1)
            ["_map"]=>
            int(1)
            ["_event_dates"]=>
            int(5)
            ["_send_message"]=>
            int(1)
            ["_reviews"]=>
            int(1)
            ["_seo"]=>
            int(1)
            ["user_id"]=>
            int(1)
            ["type_id"]=>
            int(6)
            ["category_id"]=>
            int(272)
            ["added_datetime"]=>
            string(19) "2025-06-15 14:45:26"
            ["updated_datetime"]=>
            NULL
            ["meta_title"]=>
            string(0) ""
            ["meta_keywords"]=>
            string(0) ""
            ["meta_description"]=>
            string(0) ""
            ["title"]=>
            string(17) "Healthy Breakfast"
            ["slug"]=>
            string(17) "healthy-breakfast"
            ["short_description"]=>
            string(50) "Start every morning with something fresh and tasty"
            ["description"]=>
            string(0) ""
            ["event_start_datetime"]=>
            NULL
            ["event_frequency"]=>
            NULL
            ["event_interval"]=>
            NULL
            ["event_weekdays"]=>
            NULL
            ["event_weeks"]=>
            NULL
            ["event_dates"]=>
            NULL
            ["event_end_datetime"]=>
            NULL
            ["event_rsvp"]=>
            NULL
            ["offer_start_datetime"]=>
            string(19) "2025-06-01 12:00:00"
            ["offer_end_datetime"]=>
            string(19) "2025-08-31 12:00:00"
            ["offer_price"]=>
            string(0) ""
            ["offer_discount_type"]=>
            string(5) "fixed"
            ["offer_discount"]=>
            string(1) "0"
            ["offer_count"]=>
            string(1) "0"
            ["offer_terms"]=>
            string(0) ""
            ["offer_redeem"]=>
            NULL
            ["address"]=>
            NULL
            ["zip"]=>
            NULL
            ["location_id"]=>
            NULL
            ["latitude"]=>
            NULL
            ["longitude"]=>
            NULL
            ["zoom"]=>
            NULL
            ["timezone"]=>
            string(5) "+0000"
            ["sync_product"]=>
            NULL
            ["deadlinkchecker_datetime"]=>
            string(19) "2025-06-15 14:47:06"
            ["deadlinkchecker_retry"]=>
            NULL
            ["deadlinkchecker_code"]=>
            NULL
            ["backlinkchecker_datetime"]=>
            NULL
            ["backlinkchecker_retry"]=>
            NULL
            ["backlinkchecker_code"]=>
            NULL
            ["backlinkchecker_linkrelation"]=>
            NULL
            ["_backlink"]=>
            NULL
            ["_page"]=>
            int(1)
            ["_description_links_limit"]=>
            int(0)
            ["_dofollow"]=>
            int(1)
          }
          ["table":protected]=>
          string(8) "listings"
          ["query":protected]=>
          NULL
          ["primaryKey":protected]=>
          string(2) "id"
          ["incrementing":protected]=>
          bool(true)
          ["relations":protected]=>
          array(2) {
            ["category"]=>
            object(App\Models\Category)#771 (14) {
              ["items":protected]=>
              array(22) {
                ["id"]=>
                int(272)
                ["type_id"]=>
                int(6)
                ["active"]=>
                int(1)
                ["impressions"]=>
                NULL
                ["counter"]=>
                int(1)
                ["featured"]=>
                int(1)
                ["name"]=>
                string(26) "{"en":"Food & Dining"}"
                ["slug"]=>
                string(11) "food-dining"
                ["icon"]=>
                string(13) "far fa-circle"
                ["icon_color"]=>
                string(7) "#ffffff"
                ["marker_color"]=>
                string(7) "#ff0000"
                ["short_description"]=>
                NULL
                ["description"]=>
                NULL
                ["logo_id"]=>
                string(32) "f681020bf7631d65261de3bddb0c6f31"
                ["header_id"]=>
                string(32) "295994f5e151ec44c4151ce5ba973a8f"
                ["meta_title"]=>
                NULL
                ["meta_keywords"]=>
                NULL
                ["meta_description"]=>
                NULL
                ["_left"]=>
                int(34)
                ["_right"]=>
                int(35)
                ["_parent_id"]=>
                int(6)
                ["_level"]=>
                NULL
              }
              ["table":protected]=>
              string(10) "categories"
              ["query":protected]=>
              NULL
              ["primaryKey":protected]=>
              string(2) "id"
              ["incrementing":protected]=>
              bool(true)
              ["relations":protected]=>
              array(0) {
              }
              ["fillable":protected]=>
              array(14) {
                [0]=>
                string(6) "active"
                [1]=>
                string(8) "featured"
                [2]=>
                string(4) "name"
                [3]=>
                string(4) "slug"
                [4]=>
                string(4) "icon"
                [5]=>
                string(12) "marker_color"
                [6]=>
                string(10) "icon_color"
                [7]=>
                string(17) "short_description"
                [8]=>
                string(11) "description"
                [9]=>
                string(7) "logo_id"
                [10]=>
                string(9) "header_id"
                [11]=>
                string(10) "meta_title"
                [12]=>
                string(13) "meta_keywords"
                [13]=>
                string(16) "meta_description"
              }
              ["guarded":protected]=>
              array(0) {
              }
              ["searchable":protected]=>
              array(2) {
                ["parent_id"]=>
                array(2) {
                  [0]=>
                  string(10) "_parent_id"
                  [1]=>
                  string(2) "eq"
                }
                ["category_id"]=>
                array(2) {
                  [0]=>
                  string(2) "id"
                  [1]=>
                  string(2) "eq"
                }
              }
              ["sortable":protected]=>
              array(0) {
              }
              ["translatable":protected]=>
              array(5) {
                [0]=>
                string(4) "name"
                [1]=>
                string(17) "short_description"
                [2]=>
                string(10) "meta_title"
                [3]=>
                string(13) "meta_keywords"
                [4]=>
                string(16) "meta_description"
              }
              ["exists":protected]=>
              bool(true)
              ["dirty":protected]=>
              array(0) {
              }
              ["pending":protected]=>
              NULL
            }
            ["type"]=>
            object(App\Models\Type)#761 (13) {
              ["items":protected]=>
              array(19) {
                ["id"]=>
                int(6)
                ["deleted"]=>
                NULL
                ["approvable"]=>
                int(1)
                ["approvable_updates"]=>
                int(1)
                ["approvable_reviews"]=>
                int(1)
                ["approvable_comments"]=>
                int(1)
                ["approvable_messages"]=>
                int(1)
                ["approvable_replies"]=>
                int(1)
                ["localizable"]=>
                int(1)
                ["reviewable"]=>
                int(1)
                ["type"]=>
                string(11) "BlogPosting"
                ["name_singular"]=>
                string(18) "{"en":"Spotlight"}"
                ["name_plural"]=>
                string(19) "{"en":"Spotlights"}"
                ["slug"]=>
                string(10) "spotlights"
                ["icon"]=>
                string(15) "fas fa-bullhorn"
                ["peruser_limit"]=>
                int(0)
                ["address_format"]=>
                string(356) "<span itemprop="streetAddress">{address}</span>
<span itemprop="addressLocality">{location_3}</span>, <span itemprop="addressRegion">{location_2}</span> <span itemprop="postalCode">{zip}</span> <span itemprop="addressCountry">{location_1}</span>"
                ["weight"]=>
                int(6)
                ["active"]=>
                int(1)
              }
              ["table":protected]=>
              string(5) "types"
              ["query":protected]=>
              NULL
              ["primaryKey":protected]=>
              string(2) "id"
              ["incrementing":protected]=>
              bool(true)
              ["relations":protected]=>
              array(0) {
              }
              ["fillable":protected]=>
              array(17) {
                [0]=>
                string(6) "active"
                [1]=>
                string(10) "approvable"
                [2]=>
                string(18) "approvable_updates"
                [3]=>
                string(18) "approvable_reviews"
                [4]=>
                string(19) "approvable_comments"
                [5]=>
                string(19) "approvable_messages"
                [6]=>
                string(18) "approvable_replies"
                [7]=>
                string(11) "localizable"
                [8]=>
                string(10) "reviewable"
                [9]=>
                string(4) "type"
                [10]=>
                string(13) "name_singular"
                [11]=>
                string(11) "name_plural"
                [12]=>
                string(4) "slug"
                [13]=>
                string(4) "icon"
                [14]=>
                string(13) "peruser_limit"
                [15]=>
                string(14) "address_format"
                [16]=>
                string(13) "schematype_id"
              }
              ["guarded":protected]=>
              array(0) {
              }
              ["searchable":protected]=>
              array(0) {
              }
              ["sortable":protected]=>
              array(0) {
              }
              ["translatable":protected]=>
              array(2) {
                [0]=>
                string(13) "name_singular"
                [1]=>
                string(11) "name_plural"
              }
              ["exists":protected]=>
              bool(true)
              ["dirty":protected]=>
              array(0) {
              }
            }
          }
          ["fillable":protected]=>
          array(1) {
            [0]=>
            string(7) "type_id"
          }
          ["guarded":protected]=>
          array(0) {
          }
          ["searchable":protected]=>
          array(8) {
            ["keyword"]=>
            array(3) {
              [0]=>
              array(3) {
                [0]=>
                string(5) "title"
                [1]=>
                string(17) "short_description"
                [2]=>
                string(11) "description"
              }
              [1]=>
              string(8) "fulltext"
              [2]=>
              bool(false)
            }
            ["active"]=>
            array(3) {
              [0]=>
              string(6) "active"
              [1]=>
              string(2) "eq"
              [2]=>
              bool(false)
            }
            ["inactive"]=>
            array(3) {
              [0]=>
              string(6) "active"
              [1]=>
              string(4) "null"
              [2]=>
              bool(false)
            }
            ["type_id"]=>
            array(3) {
              [0]=>
              string(7) "type_id"
              [1]=>
              string(2) "eq"
              [2]=>
              bool(false)
            }
            ["category_id"]=>
            array(3) {
              [0]=>
              string(11) "category_id"
              [1]=>
              string(8) "category"
              [2]=>
              bool(false)
            }
            ["location_id"]=>
            array(3) {
              [0]=>
              string(11) "location_id"
              [1]=>
              string(8) "location"
              [2]=>
              bool(false)
            }
            ["user_id"]=>
            array(3) {
              [0]=>
              string(7) "user_id"
              [1]=>
              string(2) "eq"
              [2]=>
              bool(false)
            }
            ["dates"]=>
            array(3) {
              [0]=>
              string(5) "dates"
              [1]=>
              string(5) "dates"
              [2]=>
              bool(false)
            }
          }
          ["sortable":protected]=>
          array(7) {
            ["newest"]=>
            array(2) {
              [0]=>
              string(2) "id"
              [1]=>
              string(4) "DESC"
            }
            ["oldest"]=>
            array(2) {
              [0]=>
              string(2) "id"
              [1]=>
              string(3) "ASC"
            }
            ["highest-rated"]=>
            array(2) {
              [0]=>
              string(6) "rating"
              [1]=>
              string(4) "desc"
            }
            ["most-popular"]=>
            array(2) {
              [0]=>
              string(11) "impressions"
              [1]=>
              string(4) "desc"
            }
            ["id"]=>
            array(1) {
              [0]=>
              string(2) "id"
            }
            ["title"]=>
            array(1) {
              [0]=>
              string(5) "title"
            }
            ["active"]=>
            array(1) {
              [0]=>
              string(6) "active"
            }
          }
          ["translatable":protected]=>
          array(0) {
          }
          ["exists":protected]=>
          bool(true)
          ["dirty":protected]=>
          array(0) {
          }
          ["allowed":protected]=>
          array(30) {
            [0]=>
            string(5) "title"
            [1]=>
            string(4) "slug"
            [2]=>
            string(17) "short_description"
            [3]=>
            string(11) "description"
            [4]=>
            string(20) "event_start_datetime"
            [5]=>
            string(15) "event_frequency"
            [6]=>
            string(14) "event_interval"
            [7]=>
            string(14) "event_weekdays"
            [8]=>
            string(11) "event_weeks"
            [9]=>
            string(11) "event_dates"
            [10]=>
            string(18) "event_end_datetime"
            [11]=>
            string(10) "event_rsvp"
            [12]=>
            string(20) "offer_start_datetime"
            [13]=>
            string(18) "offer_end_datetime"
            [14]=>
            string(11) "offer_price"
            [15]=>
            string(19) "offer_discount_type"
            [16]=>
            string(14) "offer_discount"
            [17]=>
            string(11) "offer_count"
            [18]=>
            string(11) "offer_terms"
            [19]=>
            string(12) "offer_redeem"
            [20]=>
            string(7) "address"
            [21]=>
            string(3) "zip"
            [22]=>
            string(11) "location_id"
            [23]=>
            string(8) "latitude"
            [24]=>
            string(9) "longitude"
            [25]=>
            string(4) "zoom"
            [26]=>
            string(10) "meta_title"
            [27]=>
            string(13) "meta_keywords"
            [28]=>
            string(16) "meta_description"
            [29]=>
            string(8) "timezone"
          }
        }
      }
    }
    [6]=>
    array(6) {
      ["file"]=>
      string(58) "/home/wgregorybell/public_html/phpls/app/Src/Orm/Model.php"
      ["line"]=>
      int(447)
      ["function"]=>
      string(17) "eagerLoadRelation"
      ["class"]=>
      string(17) "App\Src\Orm\Query"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(2) {
        [0]=>
        object(App\Models\Listing)#782 (14) {
          ["items":protected]=>
          array(71) {
            ["id"]=>
            int(3262)
            ["import_id"]=>
            NULL
            ["active"]=>
            int(1)
            ["claimed"]=>
            int(1)
            ["status"]=>
            string(6) "active"
            ["rating"]=>
            float(0)
            ["review_count"]=>
            int(0)
            ["impressions"]=>
            NULL
            ["search_impressions"]=>
            NULL
            ["phone_views"]=>
            NULL
            ["website_clicks"]=>
            NULL
            ["_featured"]=>
            int(1)
            ["_position"]=>
            int(0)
            ["_extra_categories"]=>
            int(5)
            ["_title_size"]=>
            int(150)
            ["_short_description_size"]=>
            int(150)
            ["_description_size"]=>
            int(2500)
            ["_gallery_size"]=>
            int(5)
            ["_address"]=>
            int(1)
            ["_map"]=>
            int(1)
            ["_event_dates"]=>
            int(5)
            ["_send_message"]=>
            int(1)
            ["_reviews"]=>
            int(1)
            ["_seo"]=>
            int(1)
            ["user_id"]=>
            int(1)
            ["type_id"]=>
            int(6)
            ["category_id"]=>
            int(272)
            ["added_datetime"]=>
            string(19) "2025-06-15 14:45:26"
            ["updated_datetime"]=>
            NULL
            ["meta_title"]=>
            string(0) ""
            ["meta_keywords"]=>
            string(0) ""
            ["meta_description"]=>
            string(0) ""
            ["title"]=>
            string(17) "Healthy Breakfast"
            ["slug"]=>
            string(17) "healthy-breakfast"
            ["short_description"]=>
            string(50) "Start every morning with something fresh and tasty"
            ["description"]=>
            string(0) ""
            ["event_start_datetime"]=>
            NULL
            ["event_frequency"]=>
            NULL
            ["event_interval"]=>
            NULL
            ["event_weekdays"]=>
            NULL
            ["event_weeks"]=>
            NULL
            ["event_dates"]=>
            NULL
            ["event_end_datetime"]=>
            NULL
            ["event_rsvp"]=>
            NULL
            ["offer_start_datetime"]=>
            string(19) "2025-06-01 12:00:00"
            ["offer_end_datetime"]=>
            string(19) "2025-08-31 12:00:00"
            ["offer_price"]=>
            string(0) ""
            ["offer_discount_type"]=>
            string(5) "fixed"
            ["offer_discount"]=>
            string(1) "0"
            ["offer_count"]=>
            string(1) "0"
            ["offer_terms"]=>
            string(0) ""
            ["offer_redeem"]=>
            NULL
            ["address"]=>
            NULL
            ["zip"]=>
            NULL
            ["location_id"]=>
            NULL
            ["latitude"]=>
            NULL
            ["longitude"]=>
            NULL
            ["zoom"]=>
            NULL
            ["timezone"]=>
            string(5) "+0000"
            ["sync_product"]=>
            NULL
            ["deadlinkchecker_datetime"]=>
            string(19) "2025-06-15 14:47:06"
            ["deadlinkchecker_retry"]=>
            NULL
            ["deadlinkchecker_code"]=>
            NULL
            ["backlinkchecker_datetime"]=>
            NULL
            ["backlinkchecker_retry"]=>
            NULL
            ["backlinkchecker_code"]=>
            NULL
            ["backlinkchecker_linkrelation"]=>
            NULL
            ["_backlink"]=>
            NULL
            ["_page"]=>
            int(1)
            ["_description_links_limit"]=>
            int(0)
            ["_dofollow"]=>
            int(1)
          }
          ["table":protected]=>
          string(8) "listings"
          ["query":protected]=>
          NULL
          ["primaryKey":protected]=>
          string(2) "id"
          ["incrementing":protected]=>
          bool(true)
          ["relations":protected]=>
          array(2) {
            ["category"]=>
            object(App\Models\Category)#771 (14) {
              ["items":protected]=>
              array(22) {
                ["id"]=>
                int(272)
                ["type_id"]=>
                int(6)
                ["active"]=>
                int(1)
                ["impressions"]=>
                NULL
                ["counter"]=>
                int(1)
                ["featured"]=>
                int(1)
                ["name"]=>
                string(26) "{"en":"Food & Dining"}"
                ["slug"]=>
                string(11) "food-dining"
                ["icon"]=>
                string(13) "far fa-circle"
                ["icon_color"]=>
                string(7) "#ffffff"
                ["marker_color"]=>
                string(7) "#ff0000"
                ["short_description"]=>
                NULL
                ["description"]=>
                NULL
                ["logo_id"]=>
                string(32) "f681020bf7631d65261de3bddb0c6f31"
                ["header_id"]=>
                string(32) "295994f5e151ec44c4151ce5ba973a8f"
                ["meta_title"]=>
                NULL
                ["meta_keywords"]=>
                NULL
                ["meta_description"]=>
                NULL
                ["_left"]=>
                int(34)
                ["_right"]=>
                int(35)
                ["_parent_id"]=>
                int(6)
                ["_level"]=>
                NULL
              }
              ["table":protected]=>
              string(10) "categories"
              ["query":protected]=>
              NULL
              ["primaryKey":protected]=>
              string(2) "id"
              ["incrementing":protected]=>
              bool(true)
              ["relations":protected]=>
              array(0) {
              }
              ["fillable":protected]=>
              array(14) {
                [0]=>
                string(6) "active"
                [1]=>
                string(8) "featured"
                [2]=>
                string(4) "name"
                [3]=>
                string(4) "slug"
                [4]=>
                string(4) "icon"
                [5]=>
                string(12) "marker_color"
                [6]=>
                string(10) "icon_color"
                [7]=>
                string(17) "short_description"
                [8]=>
                string(11) "description"
                [9]=>
                string(7) "logo_id"
                [10]=>
                string(9) "header_id"
                [11]=>
                string(10) "meta_title"
                [12]=>
                string(13) "meta_keywords"
                [13]=>
                string(16) "meta_description"
              }
              ["guarded":protected]=>
              array(0) {
              }
              ["searchable":protected]=>
              array(2) {
                ["parent_id"]=>
                array(2) {
                  [0]=>
                  string(10) "_parent_id"
                  [1]=>
                  string(2) "eq"
                }
                ["category_id"]=>
                array(2) {
                  [0]=>
                  string(2) "id"
                  [1]=>
                  string(2) "eq"
                }
              }
              ["sortable":protected]=>
              array(0) {
              }
              ["translatable":protected]=>
              array(5) {
                [0]=>
                string(4) "name"
                [1]=>
                string(17) "short_description"
                [2]=>
                string(10) "meta_title"
                [3]=>
                string(13) "meta_keywords"
                [4]=>
                string(16) "meta_description"
              }
              ["exists":protected]=>
              bool(true)
              ["dirty":protected]=>
              array(0) {
              }
              ["pending":protected]=>
              NULL
            }
            ["type"]=>
            object(App\Models\Type)#761 (13) {
              ["items":protected]=>
              array(19) {
                ["id"]=>
                int(6)
                ["deleted"]=>
                NULL
                ["approvable"]=>
                int(1)
                ["approvable_updates"]=>
                int(1)
                ["approvable_reviews"]=>
                int(1)
                ["approvable_comments"]=>
                int(1)
                ["approvable_messages"]=>
                int(1)
                ["approvable_replies"]=>
                int(1)
                ["localizable"]=>
                int(1)
                ["reviewable"]=>
                int(1)
                ["type"]=>
                string(11) "BlogPosting"
                ["name_singular"]=>
                string(18) "{"en":"Spotlight"}"
                ["name_plural"]=>
                string(19) "{"en":"Spotlights"}"
                ["slug"]=>
                string(10) "spotlights"
                ["icon"]=>
                string(15) "fas fa-bullhorn"
                ["peruser_limit"]=>
                int(0)
                ["address_format"]=>
                string(356) "<span itemprop="streetAddress">{address}</span>
<span itemprop="addressLocality">{location_3}</span>, <span itemprop="addressRegion">{location_2}</span> <span itemprop="postalCode">{zip}</span> <span itemprop="addressCountry">{location_1}</span>"
                ["weight"]=>
                int(6)
                ["active"]=>
                int(1)
              }
              ["table":protected]=>
              string(5) "types"
              ["query":protected]=>
              NULL
              ["primaryKey":protected]=>
              string(2) "id"
              ["incrementing":protected]=>
              bool(true)
              ["relations":protected]=>
              array(0) {
              }
              ["fillable":protected]=>
              array(17) {
                [0]=>
                string(6) "active"
                [1]=>
                string(10) "approvable"
                [2]=>
                string(18) "approvable_updates"
                [3]=>
                string(18) "approvable_reviews"
                [4]=>
                string(19) "approvable_comments"
                [5]=>
                string(19) "approvable_messages"
                [6]=>
                string(18) "approvable_replies"
                [7]=>
                string(11) "localizable"
                [8]=>
                string(10) "reviewable"
                [9]=>
                string(4) "type"
                [10]=>
                string(13) "name_singular"
                [11]=>
                string(11) "name_plural"
                [12]=>
                string(4) "slug"
                [13]=>
                string(4) "icon"
                [14]=>
                string(13) "peruser_limit"
                [15]=>
                string(14) "address_format"
                [16]=>
                string(13) "schematype_id"
              }
              ["guarded":protected]=>
              array(0) {
              }
              ["searchable":protected]=>
              array(0) {
              }
              ["sortable":protected]=>
              array(0) {
              }
              ["translatable":protected]=>
              array(2) {
                [0]=>
                string(13) "name_singular"
                [1]=>
                string(11) "name_plural"
              }
              ["exists":protected]=>
              bool(true)
              ["dirty":protected]=>
              array(0) {
              }
            }
          }
          ["fillable":protected]=>
          array(1) {
            [0]=>
            string(7) "type_id"
          }
          ["guarded":protected]=>
          array(0) {
          }
          ["searchable":protected]=>
          array(8) {
            ["keyword"]=>
            array(3) {
              [0]=>
              array(3) {
                [0]=>
                string(5) "title"
                [1]=>
                string(17) "short_description"
                [2]=>
                string(11) "description"
              }
              [1]=>
              string(8) "fulltext"
              [2]=>
              bool(false)
            }
            ["active"]=>
            array(3) {
              [0]=>
              string(6) "active"
              [1]=>
              string(2) "eq"
              [2]=>
              bool(false)
            }
            ["inactive"]=>
            array(3) {
              [0]=>
              string(6) "active"
              [1]=>
              string(4) "null"
              [2]=>
              bool(false)
            }
            ["type_id"]=>
            array(3) {
              [0]=>
              string(7) "type_id"
              [1]=>
              string(2) "eq"
              [2]=>
              bool(false)
            }
            ["category_id"]=>
            array(3) {
              [0]=>
              string(11) "category_id"
              [1]=>
              string(8) "category"
              [2]=>
              bool(false)
            }
            ["location_id"]=>
            array(3) {
              [0]=>
              string(11) "location_id"
              [1]=>
              string(8) "location"
              [2]=>
              bool(false)
            }
            ["user_id"]=>
            array(3) {
              [0]=>
              string(7) "user_id"
              [1]=>
              string(2) "eq"
              [2]=>
              bool(false)
            }
            ["dates"]=>
            array(3) {
              [0]=>
              string(5) "dates"
              [1]=>
              string(5) "dates"
              [2]=>
              bool(false)
            }
          }
          ["sortable":protected]=>
          array(7) {
            ["newest"]=>
            array(2) {
              [0]=>
              string(2) "id"
              [1]=>
              string(4) "DESC"
            }
            ["oldest"]=>
            array(2) {
              [0]=>
              string(2) "id"
              [1]=>
              string(3) "ASC"
            }
            ["highest-rated"]=>
            array(2) {
              [0]=>
              string(6) "rating"
              [1]=>
              string(4) "desc"
            }
            ["most-popular"]=>
            array(2) {
              [0]=>
              string(11) "impressions"
              [1]=>
              string(4) "desc"
            }
            ["id"]=>
            array(1) {
              [0]=>
              string(2) "id"
            }
            ["title"]=>
            array(1) {
              [0]=>
              string(5) "title"
            }
            ["active"]=>
            array(1) {
              [0]=>
              string(6) "active"
            }
          }
          ["translatable":protected]=>
          array(0) {
          }
          ["exists":protected]=>
          bool(true)
          ["dirty":protected]=>
          array(0) {
          }
          ["allowed":protected]=>
          array(30) {
            [0]=>
            string(5) "title"
            [1]=>
            string(4) "slug"
            [2]=>
            string(17) "short_description"
            [3]=>
            string(11) "description"
            [4]=>
            string(20) "event_start_datetime"
            [5]=>
            string(15) "event_frequency"
            [6]=>
            string(14) "event_interval"
            [7]=>
            string(14) "event_weekdays"
            [8]=>
            string(11) "event_weeks"
            [9]=>
            string(11) "event_dates"
            [10]=>
            string(18) "event_end_datetime"
            [11]=>
            string(10) "event_rsvp"
            [12]=>
            string(20) "offer_start_datetime"
            [13]=>
            string(18) "offer_end_datetime"
            [14]=>
            string(11) "offer_price"
            [15]=>
            string(19) "offer_discount_type"
            [16]=>
            string(14) "offer_discount"
            [17]=>
            string(11) "offer_count"
            [18]=>
            string(11) "offer_terms"
            [19]=>
            string(12) "offer_redeem"
            [20]=>
            string(7) "address"
            [21]=>
            string(3) "zip"
            [22]=>
            string(11) "location_id"
            [23]=>
            string(8) "latitude"
            [24]=>
            string(9) "longitude"
            [25]=>
            string(4) "zoom"
            [26]=>
            string(10) "meta_title"
            [27]=>
            string(13) "meta_keywords"
            [28]=>
            string(16) "meta_description"
            [29]=>
            string(8) "timezone"
          }
        }
        [1]=>
        string(8) "location"
      }
    }
    [7]=>
    array(6) {
      ["file"]=>
      string(71) "/home/wgregorybell/public_html/phpls/app/Src/Support/BaseCollection.php"
      ["line"]=>
      int(178)
      ["function"]=>
      string(9) "offsetGet"
      ["class"]=>
      string(17) "App\Src\Orm\Model"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(1) {
        [0]=>
        string(8) "location"
      }
    }
    [8]=>
    array(6) {
      ["file"]=>
      string(62) "/home/wgregorybell/public_html/phpls/app/Controllers/Index.php"
      ["line"]=>
      int(239)
      ["function"]=>
      string(5) "__get"
      ["class"]=>
      string(30) "App\Src\Support\BaseCollection"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(1) {
        [0]=>
        string(8) "location"
      }
    }
    [9]=>
    array(6) {
      ["file"]=>
      string(67) "/home/wgregorybell/public_html/phpls/app/Src/Mvc/BaseController.php"
      ["line"]=>
      int(20)
      ["function"]=>
      string(12) "actionRouter"
      ["class"]=>
      string(21) "App\Controllers\Index"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(1) {
        [0]=>
        array(2) {
          ["slug"]=>
          string(10) "spotlights"
          ["first"]=>
          string(17) "healthy-breakfast"
        }
      }
    }
    [10]=>
    array(6) {
      ["file"]=>
      string(60) "/home/wgregorybell/public_html/phpls/app/Src/Application.php"
      ["line"]=>
      int(184)
      ["function"]=>
      string(6) "action"
      ["class"]=>
      string(26) "App\Src\Mvc\BaseController"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(2) {
        [0]=>
        string(6) "Router"
        [1]=>
        array(2) {
          ["slug"]=>
          string(10) "spotlights"
          ["first"]=>
          string(17) "healthy-breakfast"
        }
      }
    }
    [11]=>
    array(6) {
      ["file"]=>
      string(60) "/home/wgregorybell/public_html/phpls/app/Src/Application.php"
      ["line"]=>
      int(149)
      ["function"]=>
      string(8) "dispatch"
      ["class"]=>
      string(19) "App\Src\Application"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(2) {
        [0]=>
        string(12) "Index/Router"
        [1]=>
        array(2) {
          ["slug"]=>
          string(10) "spotlights"
          ["first"]=>
          string(17) "healthy-breakfast"
        }
      }
    }
    [12]=>
    array(6) {
      ["file"]=>
      string(40) "/home/wgregorybell/public_html/index.php"
      ["line"]=>
      int(23)
      ["function"]=>
      string(7) "execute"
      ["class"]=>
      string(19) "App\Src\Application"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(0) {
      }
    }
  }
  ["previous":"Exception":private]=>
  NULL
  ["errorInfo"]=>
  array(3) {
    [0]=>
    string(5) "42000"
    [1]=>
    int(1064)
    [2]=>
    string(149) "You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '?' at line 4"
  }
}