Содержимое Ответа должно быть строкой или объектом, реализующим __toString (), «булево», заданное после перемещения в psql

Как только я перенесу приложение Laravel из MySQL в pSQL. Я продолжал получать эту ошибку.

Содержимое Ответа должно быть строкой или объектом, реализующим __toString (), с учетом «логического» значения.

У меня есть API, который должен вернуть мое продвижение

HTTP: // локальный: 8888 / API / продвижение / 1

public function id($id){
    $promotion = Promotion::find($id);
    dd($promotion); //I got something here
    return $promotion;
}

Раньше он возвращал мою рекламу, а теперь возвращает ошибку.

дд ($ продвижение);

I got 

Promotion {#410 ▼
  #table: "promotions"
  #connection: null
  #primaryKey: "id"
  #perPage: 15
  +incrementing: true
  +timestamps: true
  #attributes: array:16 [▼
    "id" => 1
    "cpe_mac" => "000D6721A5EE"
    "name" => "qwrqwer"
    "type" => "img_path"
    "status" => "Active"
    "heading_text" => "qwerq"
    "body_text" => "werqwerqw"
    "img" => stream resource @244 ▶}
    "img_path" => "/images/promotion/1/promotion.png"
    "video_url" => ""
    "video_path" => ""
    "account_id" => 1001
    "img_url" => ""
    "footer_text" => "qwerqwerre"
    "created_at" => "2016-08-04 10:53:57"
    "updated_at" => "2016-08-04 10:53:59"
  ]
  #original: array:16 [▶]
  #relations: []
  #hidden: []
  #visible: []
  #appends: []
  #fillable: []
  #guarded: array:1 [▶]
  #dates: []
  #dateFormat: null
  #casts: []
  #touches: []
  #observables: []
  #with: []
  #morphClass: null
  +exists: true
  +wasRecentlyCreated: false
}
содержание

___ Любые намеки / предложения по этому вопросу будут огромной помощью!

Ответы на вопрос(3)

Ваш ответ на вопрос