Comments (6)
@h3110w0r1d do you have a stack trace for this? But yeah, we may need some clever way of replacing those unserializable instances.
Originally posted by @Ocramius at zendframework/zend-developer-tools#153 (comment)
from laminas-developer-tools.
Stack trace:
#0 /home/ethantsien/project/www/h3110w0r1d.com/vendor/zendframework/zend-developer-tools/src/ZendDeveloperTools/Collector/ConfigCollector.php(94): serialize(Array)
#1 [internal function]: ZendDeveloperTools\Collector\ConfigCollector->serialize()
#2 /home/ethantsien/project/www/h3110w0r1d.com/vendor/zendframework/zend-developer-tools/src/ZendDeveloperTools/Profiler.php(213): serialize(Object(ZendDeveloperTools\Collector\ConfigCollector))
#3 /home/ethantsien/project/www/h3110w0r1d.com/vendor/zendframework/zend-developer-tools/src/ZendDeveloperTools/Listener/ProfilerListener.php(107): ZendDeveloperTools\Profiler->collect(Object(Zend\Mvc\MvcEvent))
#4 [internal function]: ZendDeveloperTools\Listener\ProfilerListener->onFinish(Object(Zend\Mvc\MvcEvent)) #5 /home/ethantsien in /home/ethantsien/project/www/h3110w0r1d.com/vendor/zendframework/zend-developer-tools/src/ZendDeveloperTools/Collector/ConfigCollector.php on line 94
i am sure that the line ''route_plugins' => new RoutePluginManager(),' in the config below cause this error
return array(
'router' => array(
'routes' => array(
'passport' => array(
'type' => 'chain',
'options' => array(
'routes' => array(
'hostname' => array(
'type' => 'Zend\Mvc\Router\Http\Hostname',
'options' => array(
'route' => PASSPORT_HOSTNAME,
'defaults' => array(
'__NAMESPACE__' => 'Passport\Controller',
'controller' => 'Index',
'action' => 'index',
),
),
),
'scheme' => array(
'type' => 'Zend\Mvc\Router\Http\Scheme',
'options' => array(
'scheme' => 'http',
),
),
),
'route_plugins' => new RoutePluginManager(),
),
'may_terminate' => true,
'child_routes' => array(
'home' => array(
'type' => 'literal',
'options' => array(
'route' => '/',
),
),
'register' => array(
'type' => 'literal',
'options' => array(
'route' => '/register',
'defaults' => array(
'action' => 'register',
),
),
),
'login' => array(
'type' => 'literal',
'options' => array(
'route' => '/login',
'defaults' => array(
'action' => 'login',
),
),
),
'logout' => array(
'type' => 'literal',
'options' => array(
'route' => '/logout',
'defaults' => array(
'action' => 'logout',
),
),
),
),
),
),
),
);
Originally posted by @h3110w0r1d at zendframework/zend-developer-tools#153 (comment)
from laminas-developer-tools.
@h3110w0r1d yeah, I have something in RoaveDeveloperTools which may be backported here, see https://github.com/Roave/RoaveDeveloperTools/blob/424285eb861c9df7891ce7c6e66a21756eecd81c/src/Roave/DeveloperTools/Stub/SerializableValueStub.php#L44
Originally posted by @Ocramius at zendframework/zend-developer-tools#153 (comment)
from laminas-developer-tools.
thanks
2014年5月28日 下午8:11于 "Marco Pivetta" [email protected]写道:
@h3110w0r1d https://github.com/h3110w0r1d yeah, I have something in
RoaveDeveloperTools which may be backported here, see
https://github.com/Roave/RoaveDeveloperTools/blob/424285eb861c9df7891ce7c6e66a21756eecd81c/src/Roave/DeveloperTools/Stub/SerializableValueStub.php#L44—
Reply to this email directly or view it on GitHubhttps://github.com/zendframework/zend-developer-tools/issues/153#issuecomment-44398163
.
Originally posted by @h3110w0r1d at zendframework/zend-developer-tools#153 (comment)
from laminas-developer-tools.
Still an issue.
Originally posted by @Ocramius at zendframework/zend-developer-tools#153 (comment)
from laminas-developer-tools.
a very annoying one
Originally posted by @Perfect-Web at zendframework/zend-developer-tools#153 (comment)
from laminas-developer-tools.
Related Issues (20)
- ZendDeveloperTools conflicts with Zend\Code 2.3.1 and 2.2.7 HOT 3
- CSS box-sizing HOT 4
- Tooltip in icons to show info or show title HOT 2
- Incorrect Content-Lenght after toolbar injection HOT 1
- Feature: CSS Markup HOT 4
- ApplicationConfig unescaped HOT 9
- Modules list should have vertical scrolling HOT 1
- Should activate panels on click
- default template suffix HOT 5
- Implement FirePHP listener HOT 3
- Option to view queries / individual timing HOT 1
- Uncaught ReferenceError: Sfdump is not defined HOT 4
- Broken Whoops library when DeveloperTools module is enabled HOT 3
- PHP 8.0 support HOT 4
- Toolbar hidden will soon not be remembered because of cookie settings
- DeveloperTools fatal error when using named Adapters HOT 1
- Dependency Dashboard
- PHP 8.3 support HOT 1
- Wrong data type returned in implementation of serialization methods
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laminas-developer-tools.