This repository has been archived by the owner on Jan 21, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 130
Argument 1 passed to ZendDeveloperTools\Exception\SerializableException::__construct() must be an instance of Exception #216
Comments
I've got the same problem, I suggest to modify the argument type in the constructor from public function __construct(\Exception $exception) to public function __construct(\Throwable $exception) I use version 1.1.0 |
there is no |
Could also drop PHP 5.x But yeah, should be just dropping the type-hint if we want to support 5.x |
samsonasik
added a commit
to samsonasik/ZendDeveloperTools
that referenced
this issue
Jun 30, 2016
Great, thanks! What are your release cycles? How long does it usually take to wrap this into a release? |
@Ocramius may know about that, but if you need the patch now, you can do the following update.
"zendframework/zend-developer-tools": "dev-patch-3"
"repositories" : [ {
"type" : "vcs",
"url" : "git@github.com:samsonasik/ZendDeveloperTools.git"
}]
|
Thanks, the fix works. |
weierophinney
added a commit
that referenced
this issue
Sep 8, 2016
Fixes #216 remove \Exception type hint
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The phenomenon of #10 (supposedly fixed since 2012) happens again. I'm running the current master branch, it started to appear some weeks ago.
Any time the application generates an exception, the toolbar blocks it and only shows
The text was updated successfully, but these errors were encountered: