-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
does not work with Phalcon version 4.0.0 #63
Comments
Sorry, It does not support for 4.x now. |
Are there plans to upgrade the debugbar for phalcon 4.x? |
@casparjones the Phalcon v4 api (of the common Di services) is slightly changed from v3, so it would not take a huge amount of time to make the phalcon-debugbar compatible with Phalcon 4; feel free to debug and push some adjustments in a PR :) |
I just change this to stop the fatal error, but there is a lot of change to do |
ok, it's working with phalcon 4 now... but i don't know if all functionnality are ok... |
can you do a branch for it ? one beta v4.0.0 ? |
poke @snowair :) ServiceProvider.php
to
PhalconDebugbar.php Line 20 to 23
to
Line 241
to
Line 276
to
line 602
to
line 697
to
PhalconHttpDriver.php Line 30
to
Storage/Filesystem.php Line 23
to
Db/Profiler.php Line 70
to
Line 172
to
Phalcon\Db\Profiler.php Line 10
to
Phalcon/Cache/Proxy.php line 9
to
remove line 10
line 27
to (Base64 was deleted. Maybe there is another way to verify if $frontend is Base64)
Phalcon/Cache/ProxyTrait.php line 9
to
remove lines 10 and 11
line 32
to (Base64 was deleted. Maybe there is another way to verify if $frontend is Base64)
comment line 61 to 63
to (Output was deleted. Maybe there is another way to verify if $frontend is Output ) line 106 to 110
to
Phalcon/logger/Adapter/Debugbar.php Line 11
to
Line 16
to
DataCollector/Formatter.php Lines 15 and 16
to
Line 65
to
Line 87
to
DataCollector/LogsCollector.php Line 13
to
Line 49
to
delete line 15
line 68
to (Syslog was deleted)
delete line 16
// TODO :
DataCollector/CacheCollector.php Line 12
to
I think there is all the needed modifications. I don't know if all functionnalities run but the toolbar open. We don't show queries for the moment, i will update if i fix it |
So, i failed for queries...
return null.... However $this->profiler object contains data, but getProfiles doesn't work... |
I have found a solution, but it's not clean... line 31 to 36 replace with
to
|
i pushed all my modifications to the project... |
Does not work with Phalcon version 4.0.0.
The text was updated successfully, but these errors were encountered: