php - Zend framework routing error
Get the solution ↓↓↓Solution:
well based on your route configuration id must exist in your routes, so the link you requested didn't have id . and your constrains also should change to 'id' => '[0-9]+' so the id must exist.
and also you get the id in the controller by just typing
$id=$this->params("id");
which will get the id too
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: object of class stdclass could not be converted to string
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.