Comments (11)
@bennothommo thanks for answer.
As i said before, i disabled config debugbar.collectors.events and plugin seems work as expected.
Previous version had this settings to false. 86dd29f#diff-215adb4f17e6c57786bec362c538ccb8L120
from debugbar-plugin.
Solution should be simple, the change that breaks it on the develop branch of october was barryvdh/laravel-debugbar@31bb601.
Just add "barryvdh/laravel-debugbar": "3.2.9"
to your project's composer.json file and it should work even on 3.1.0 of this plugin (as long as you also disable the events collector).
from debugbar-plugin.
@Metallizzer this plugin is targeting Laravel 6 at this point, so you will need to use the wip/laravel-6
branch of October CMS to be able to use the plugin to its full potential. You can also downgrade the plugin by removing it from your project and downloading version 3.0.1 of the plugin, but ensure that you only download this on a development copy of October CMS, as there's a security fix in 3.1.0 that you will be missing out on.
from debugbar-plugin.
Good to hear @Metallizzer. I would normally release an update disabling it by default again, but we're going to be releasing the L6 upgrade in a couple weeks so I don't think I'll bother with that.
from debugbar-plugin.
I had the same problem as @Metallizzer, so I downgraded to 3.0.1 and now AJAX requests fail with "Type error: Too few arguments to function Barryvdh\Debugbar\LaravelDebugbar::Barryvdh\Debugbar\{closure}(), 1 passed and exactly 2 expected" on line 377 of C:\...\vendor\barryvdh\laravel-debugbar\src\LaravelDebugbar.php
Is there plan to improve 3.0.1 or is deprecated?
from debugbar-plugin.
@Rike-cz no, we don't ever support old versions of plugins / core since it's an evergreen release cycle. Your problem is because of a change in the base library, can you paste what's on line 377? Also are you using composer or the marketplace?
from debugbar-plugin.
I am using composer as default. As far as I know, there is no possibility to install older version through marketplace. But update to 3.1 version was made via marketplace and rollbacked via composer.
$db->getEventDispatcher()->listen(
'connection.*.beganTransaction',
function ($event, $params) use ($queryCollector) { <----- this line is 377
$queryCollector->collectTransactionEvent('Begin Transaction', $params[0]);
}
);
from debugbar-plugin.
@LukeTowers is the Laravel6 branch fully working or are there still downsides?, please
[edit]
just installed october from the laravel 6 branch via cli
and then: composer require rainlab/debugbar-plugin
result 500
from debugbar-plugin.
@daslicht what's the error?
from debugbar-plugin.
I dont remember but i can reproduce it later if needed
from debugbar-plugin.
If you could do that I would appreciate that. We would prefer to fix any issues that come up now before we launch L6
from debugbar-plugin.
Related Issues (20)
- Plugin is hidden on the marketplace HOT 4
- Installed from Marketplace doesn't work (v3.0.0) HOT 5
- Failed to install from repository HOT 1
- Models collector does not work with October (Laravel 5.5 only) HOT 3
- Debug bar is still enabled even if plugin is disabled HOT 9
- Error when saving data from backend HOT 4
- 500 Server Error after install ? HOT 12
- Plugin availability. HOT 1
- The plugin is hidden and cannot be installed - via artisan plugin:install HOT 3
- REST API profiling in 3.1.0 HOT 6
- Improve quality of event performance tracking HOT 4
- issues with debugAjax = true HOT 2
- Composer install crash the whole application HOT 2
- how to install DebugBar to octobercms version 470? HOT 1
- New Collectors HOT 7
- OctoberModelsCollector causes models not able to being serialized HOT 1
- Uncaught TypeError: url.indexOf is not a function HOT 1
- Twig "debug" functionality broken HOT 2
- Incompatible with latest Barryvdh\Debugbar HOT 7
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 debugbar-plugin.