Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Object of class <Controller> could not be converted to string

#103

When trying to return Response Object.
Then controller raises:

  Object of class WelcomeHomeController could not be converted to string

In Controller.class.php file, error exists at line 197

  $response->data['controller'] = $this;

I did a quick fix by

    if(is_string($response->data)) $response->data = "";

$response-&gt;data['controller'] = $this;</code>



Any idea why? and how to do better fix?

Reported by nx2zdk (at gmail) · July 30th, 2009 @ 11:48 PM

State: hold
Milestone: 0.20
Assigned to: Kris Jordan Kris Jordan

Activity

  1. Kris Jordan
    Kris Jordan
    • State changed from new to hold

    Moving all tickets to GitHub

    This ticket:

    http://github.com/recess/recess/issues#issue/7

    September 15th, 2009 @ 11:24 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.