Giter Club home page Giter Club logo

magento2-developer-quickdevbar's Introduction

Developer Toolbar for Magento2

Code Climate Total Downloads

๐ŸŽ Currently, the ADM_QuickDevBar module has been refactored heavily: The architecture is redesigned to be compatible with Full page cache and fit coding standard โœจ New functionalities are plugged: VarDumper handler, SQL backtrace, and more see Changelog . The refactoring has come available under a new major version 0.2.0.

Requirement

Supported versions: Magento 2.4.x till 2.4.6 but should work with lower version. See composer.json for other requirements.

About

Hope this debug toolbar can speed up Magento2 development module. Any feedback and idea to improve this toolbar will be appreciated ๐Ÿป so get in touch via the issue tracker on GitHub. Feel free to fork and pull request. The structure of this toolbar is extremely simple you just need to add a new block in the layout to get your tab running.

Panels

  • Info : Main informations about controller, route, action and store. Search on core config data. Dedicated tab output for local and global phpinfo.
  • Design : List handles called and display layout structure of nested blocks and containers
  • Profile : View current observers, all events dispatched, collections and models loaded, plugins instanciated, preferences, cache hits
  • Queries : Statistics about executed queries and detailed query listing with syntax highlighting of main SQL keywords
  • Logs : Display log files with ability to reset these files
  • Dump : Catch all dump() in code
  • Actions : Easily toggle template hints and inline translation and flush cache
  • Translation : Quickly see module, pack,theme and DB translations
  • Help : Show module version and link to github

Screenshots

  • Info tab

  • Queries Tab

  • Theme chooser

Installation

Manual (without composer)

  • Download zip file of the last version of this extension under release tab
  • Extract files in the Magento root directory in the folder app/code/ADM/QuickDevBar
  • Enable the extension
php bin/magento --clear-static-content module:enable ADM_QuickDevBar
  • Upgrade Magento setup
php bin/magento setup:upgrade

With Composer

In the Magento root directory

  • Install the module
composer require vpietri/adm-quickdevbar --dev
php bin/magento module:enable ADM_QuickDevBar 
php bin/magento setup:upgrade

With Modman

In the Magento root directory

  • Install the module
modman clone [email protected]:vpietri/magento2-developer-quickdevbar.git
php bin/magento module:enable ADM_QuickDevBar 
php bin/magento setup:upgrade

Cleaning

  • Upgrade Magento setup
php bin/magento setup:upgrade
  • Clear cache
php bin/magento cache:flush

Setup

The toolbar is displayed by default if your web server is on your local development environment.

You can force activation via command line

php bin/magento dev:quickdevbar:enable

and activate full sql backtrace

php bin/magento dev:quickdevbar:enable --sql-qdb-profiler

Or via the standard configuration in the Advanced/Developer/Quick dev bar section.

If you do not see the toolbar you should either force activation by filling your IP in the field "Allowed IPs" and fill a matching pattern of you user-agent in the field "Allowed user-agent pattern" if it's needed.

URI File to IDE

(Beta) In PhpStorm you can use IDE Remote Control to open file

https://plugins.jetbrains.com/plugin/19991-ide-remote-control

Sponsors

Sansec.io

Add your logo on Github Sponsors

Documentation

  • Changelog
  • You can extend this toolbar with your own tabs, a sample module is available. (refactoring coming soon)

magento2-developer-quickdevbar's People

Contributors

adpeate avatar barryvdh avatar danslo avatar hoangngo-calvin avatar josue-rmoya avatar koc avatar lefte avatar mhabou avatar nateswanson7 avatar peanutbutter03 avatar rakibabu avatar sebfie avatar tufahu avatar tuyennn avatar vpietri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

magento2-developer-quickdevbar's Issues

Some layout blocks not expandable

Environment:
Magento 2.4.1
PHP 7.3

How to reproduce:

  1. Click Quick Development Toolbar
  2. Click Design -> Search for "page.main.title" block
  3. Click on it

Result:
Screen goes a little bit down. Nothing happens.

Expeted result:
To see

Class: Magento\Theme\Block\Html\Title
Template: vendor\magento\module-theme\view\frontend\templates\html\title.phtml
Home.page.-.Personal.-.Microsoft.Edge.2021-01-18.15-50-56_converted_.2.mp4

Sql Profiler

Sql queries do not save when you update the page, in this case when you update.

Translation data on non-default port not working

When Magento is running on a non default port (:8080) the AJAX request for "quickdevbar/tab/translation/type/module" fails due to a CORS error. This is happening because the AJAX request is made to the default port 80.

This is sideways linked to using varnish cache (and bypassing it for development purposes) and in no way an issue that hurts me in production, but it would be nice to have fixed. Had a look myself, but I couldn't figure out where this being called from and/or how to fix it.

Module conflicts with tabs widget

Hello there

FIrst of all, thanks for this great module. I however encountered a problem using the toolbar in the backend of Magento 2. When visiting a grid thats using tabs, your module causes a conflict.

  • Uncaught Error: no such method 'activeAnchor' for tabs widget instance(โ€ฆ)error @vpietri

Should you need any more information. Please ask me.

Toolbar doesnt work

I get a error

Warning: Invalid argument supplied for foreach() in /vendor/vpietri/adm-quickdevbar/Block/Tab/Content/Sql.php on line 68

The toolbar doesnt work at all.

Magento 2.1.3
PHP 7.1w
Percona 5.6

Ip restriction doesn't work

Hi, this is a small issue with your extension that make it impossible to use it on a production server.

How to reproduce:
1- Add your IP to the restriction
2- Flush cache
3- open site on good IP
4- open site on wrong IP
Result: The bar will still show for both, good and wrong IP.

1- Add your IP to the restriction
2- Flush cache
3- open site on wrong IP
4- open site on good IP
Result: The bar will not show for both, good and wrong IP.

I am assuming this is because you cache the result for IP check, so when you refresh the page it's not going to redo the if statement where it looks for the IP.

Thank you

Add cache tab

Add information about cache (queries, hits, misses, ms)

SQL profiler is not active

Hi, this shows when I'm on the Queries tab:

SQL profiler is not active
You should set a new key for $config array in file app/etc/env.php
$config[db][connection][default][profiler] = 1

Can you please tell me what I need to do to get it working.

Many thanks.

I try upgrade but show me: pdo_mysql extension is not installed

Have Magento 2.1.9. I try upgrade magento per command but show me the error message (this module is already enable):

a:4:{i:0;s:277:"Please upgrade your database: Run "bin/magento setup:upgrade" from the Magento root directory.
The following modules are outdated:
ADM_QuickDevBar schema: current version - none, required version - 0.1.12
ADM_QuickDevBar data: current version - none, required version - 0.1.12";i:1;s:833:"#0 /var/www/mage2/vendor/magento/framework/Interception/Interceptor.php(142): Magento\Framework\Module\Plugin\DbStatusValidator->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#1 /var/www/mage2/var/generation/Magento/Framework/App/FrontController/Interceptor.php(26): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, Array)
#2 /var/www/mage2/vendor/magento/framework/App/Http.php(135): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
#3 /var/www/mage2/vendor/magento/framework/App/Bootstrap.php(258): Magento\Framework\App\Http->launch()
#4 /var/www/mage2/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http))
#5 {main}";s:3:"url";s:14:"/admin_2eh5ph/";s:11:"script_name";s:10:"/index.php";}

Whats happened?

quick dev bar doesnt show

The toolbar is displayed by default if your web server is on your local development environment with the standard IPv4 address: 127.0.0.1. If not you can specify your IP on define an part of your http header in the config.

you mean my ip?

i running Magento 2.1.0-rc3

I can see the call for the css of the extension but cant see the html of it. any idea?
i use my ip from "what is my ip" at google.

i put the ip on the admin section "Header for Quick Dev Bar " and i still cant see the quick dev bar.
any help? cant find a config xml also .

blank page with MGS themes (claue and molla)

Hi, i have a magento 2.3.4 with MGS Molla and a Magento 2.4.2 with MGS Claue and in both website i get a blank page when i activate the extension.

In other installation with different themes it works fine.

Nothing on magento log. (on apache i get status 200)

Admin section

The only section I see in admin is under Developer Client Restrictions > Header for Quick Dev Bar.

How can I activate it ? I see nothing on frontend.

Thanks!

quickDevBar.js 404 on Magento 2.3.3

Unable to resolve the source file for

GET /static/frontend/Vendor/Theme/en_US/quickDevBar.js net::ERR_ABORTED 404 (Not Found)

#1 Magento\Framework\App\StaticResource->launch() called at [vendor/magento/framework/App/Bootstrap.php:261]
#2 Magento\Framework\App\Bootstrap->run() called at [pub/static.php:13]

Profiler not displaying in toolbar

Profiler is sometimes displaying at the bottom of the page instead of in the toolbar.
I'm running on an apache environment with PHP7.
For some reason the profiler is only displaying in the toolbar around 10% of the time.

Compatibility with Adobe Commerce 2.4.4

After installation getting error:

1 exception(s):
Exception #0 (Exception): Deprecated Functionality: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /var/www/html/vendor/vpietri/adm-quickdevbar/Helper/Data.php on line 62

Exception #0 (Exception): Deprecated Functionality: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /var/www/html/vendor/vpietri/adm-quickdevbar/Helper/Data.php on line 62
<pre>#1 preg_split() called at [vendor/vpietri/adm-quickdevbar/Helper/Data.php:62]
#2 ADM\QuickDevBar\Helper\Data->isToolbarAccessAllowed() called at [vendor/vpietri/adm-quickdevbar/Block/Toolbar.php:30]
#3 ADM\QuickDevBar\Block\Toolbar->isUserAllowed() called at [vendor/vpietri/adm-quickdevbar/view/base/templates/toolbar.phtml:1]
#4 include() called at [vendor/magento/framework/View/TemplateEngine/Php.php:71]
#5 Magento\Framework\View\TemplateEngine\Php->render() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#6 Magento\Framework\View\TemplateEngine\Php\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#7 Magento\Framework\View\TemplateEngine\Php\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#8 Magento\Framework\View\TemplateEngine\Php\Interceptor->___callPlugins() called at [generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php:23]
#9 Magento\Framework\View\TemplateEngine\Php\Interceptor->render() called at [vendor/magento/framework/View/Element/Template.php:263]
#10 Magento\Framework\View\Element\Template->fetchView() called at [vendor/magento/framework/View/Element/Template.php:293]
#11 Magento\Framework\View\Element\Template->_toHtml() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1095]
#12 Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1099]
#13 Magento\Framework\View\Element\AbstractBlock->_loadCache() called at [vendor/magento/framework/View/Element/AbstractBlock.php:660]
#14 Magento\Framework\View\Element\AbstractBlock->toHtml() called at [vendor/magento/framework/View/Layout.php:578]
#15 Magento\Framework\View\Layout->_renderBlock() called at [vendor/magento/framework/View/Layout.php:555]
#16 Magento\Framework\View\Layout->renderNonCachedElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:149]
#17 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:510]
#18 Magento\Framework\View\Layout->renderElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:140]
#19 Magento\Framework\View\Layout\Interceptor->renderElement() called at [vendor/magento/framework/View/Layout.php:606]
#20 Magento\Framework\View\Layout->_renderContainer() called at [vendor/magento/framework/View/Layout.php:557]
#21 Magento\Framework\View\Layout->renderNonCachedElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:149]
#22 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:510]
#23 Magento\Framework\View\Layout->renderElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:140]
#24 Magento\Framework\View\Layout\Interceptor->renderElement() called at [vendor/magento/framework/View/Layout.php:606]
#25 Magento\Framework\View\Layout->_renderContainer() called at [vendor/magento/framework/View/Layout.php:557]
#26 Magento\Framework\View\Layout->renderNonCachedElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:149]
#27 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:510]
#28 Magento\Framework\View\Layout->renderElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:140]
#29 Magento\Framework\View\Layout\Interceptor->renderElement() called at [vendor/magento/framework/View/Layout.php:606]
#30 Magento\Framework\View\Layout->_renderContainer() called at [vendor/magento/framework/View/Layout.php:557]
#31 Magento\Framework\View\Layout->renderNonCachedElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:149]
#32 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:510]
#33 Magento\Framework\View\Layout->renderElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:140]
#34 Magento\Framework\View\Layout\Interceptor->renderElement() called at [vendor/magento/framework/View/Layout.php:975]
#35 Magento\Framework\View\Layout->getOutput() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#36 Magento\Framework\View\Layout\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#37 Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#38 Magento\Framework\View\Layout\Interceptor->___callPlugins() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:347]
#39 Magento\Framework\View\Layout\Interceptor->getOutput() called at [vendor/magento/framework/View/Result/Page.php:260]
#40 Magento\Framework\View\Result\Page->render() called at [vendor/magento/framework/View/Result/Layout.php:171]
#41 Magento\Framework\View\Result\Layout->renderResult() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#42 Magento\Framework\View\Result\Page\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#43 Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#44 Magento\Framework\View\Result\Page\Interceptor->___callPlugins() called at [generated/code/Magento/Framework/View/Result/Page/Interceptor.php:95]
#45 Magento\Framework\View\Result\Page\Interceptor->renderResult() called at [vendor/magento/framework/App/Http.php:120]
#46 Magento\Framework\App\Http->launch() called at [generated/code/Magento/Framework/App/Http/Interceptor.php:23]
#47 Magento\Framework\App\Http\Interceptor->launch() called at [vendor/magento/framework/App/Bootstrap.php:264]
#48 Magento\Framework\App\Bootstrap->run() called at [pub/index.php:30]
</pre>

[Enhancement] remember visibility of toolbar on page load

Hey,

Finding the toolbar very helpful so far, but as it enables it for the site, if you have 3 developers working on the site at once, it shows open for everybody.

What would be good is if it used localstorage to store the open/close state of it, then when the page loads it will hide/show the toolbar so it can be hidden when not needed, but not disabled.

How does this sound?

varnish

HI,

If I enable IP restriction, then I connect, the page might be cached by varnish, so if another customer acsess the same page, he will see the debug bar right? or do you add some key that make it unique to my cookie or whatever?

thansks
Rod

Class 'ADM\QuickDevBar\Block\Tab\Panel' not found during DI compilation

I have the module installed in app/code/ADM/QuickDevBar as suggested in the README page and it worked for some months until a few days ago. When I try to execute:

bin/magento setup:di:compile

I get the following:

Compilation was started. Repositories code generation... 1/7 [====>-----------------------] 14% < 1 sec 83.0 MiBPHP Fatal error: Uncaught Error: Class 'ADM\QuickDevBar\Block\Tab\Panel' not found in /var/www/html/app/code/ADM/QuickDevBar/Block/Tab/Content/Event.php:7 Stack trace: #0 /var/www/html/setup/src/Magento/Setup/Module/Di/Code/Reader/ClassesScanner.php(135): require_once() #1 /var/www/html/setup/src/Magento/Setup/Module/Di/Code/Reader/ClassesScanner.php(117): Magento\Setup\Module\Di\Code\Reader\ClassesScanner->includeClasses(Array, '/var/www/html/a...') #2 /var/www/html/setup/src/Magento/Setup/Module/Di/Code/Reader/ClassesScanner.php(88): Magento\Setup\Module\Di\Code\Reader\ClassesScanner->extract(Object(RecursiveIteratorIterator)) #3 /var/www/html/setup/src/Magento/Setup/Module/Di/App/Task/Operation/RepositoryGenerator.php(61): Magento\Setup\Module\Di\Code\Reader\ClassesScanner->getList('/var/www/html/a...') #4 /var/www/html/setup/src/Magento/Setup/Module/Di/App/Task/Manager.php(56): Magento\Setup\Module\Di\App\Task\Operation\RepositoryGenerator->doOperation() #5 /var/www/html/setup/src/Magento/Setup/Console/Command/DiCompileCo in /var/www/html/app/code/ADM/QuickDevBar/Block/Tab/Content/Event.php on line 7
In development mode it is not a big deal but extension stopped working which is kind of a problem.
Any advise would be welcome!

Best,
K.

Deprecated Functionality: explode(): Passing null to parameter #2 ($string) of type string is deprecated in vendor/magento/framework/View/FileSystem.php on line 174

Magento CLI 2.4.4-p3a

I get this error in Design -> Layout:

image

Given the error message, it seems that a null value is being passed to the explode() function in Magento's FileSystem.php on line 174, which is now deprecated as of PHP 7.4. That means, something is causing the second parameter of explode() function to be null when it should be a string.

In the Developer QuickDevBar code, I found that there are two main classes: Toolbar and IsEnabled. In these classes, the functions canDisplay(), getTabBlocks(), getAppearance(), and _getElementHtml() seem to be most related to the functionality of the bar.

VarDumper issue when using `dd()` method

Hello,
I saw there is new Debug Handler in Dev toolbar.
When I use dump() it works prefect - dump is visible in tab.
But when try to use dd() there is some issue and we got 500 Internal Server Error.
I tried to disable VarDumper Handler from configurations and I got same issue.
When I disabled ADM_QuickDevBar then dd() works.

Please take a look into this issue because we are using dd() often in our day to day work.

Add Packagist integration

Hi,
I've noticed that although version 0.1.14 is available from Github, it's still not currently visible on Packagist.
Maybe you should set up the Github Hook as explained on this page (How to update packages?) to speed up updates, that would help a lot!

Thanks for your work!

Compatibility with Adobe Commerce 2.4.4

Trying to install the extension via composer with Adobe Commerce 2.4.4 and not able to download the package because of composer dependency on PHP version below 8. Using PHP8.1.

Do you have plans to update the extension?

Magento 2.4.6p4 issue with your latest version

Hi. Frontend and backend not working at all:

Exception #0 (Exception): Warning: file_put_contents(/tmp/debug.log): Failed to open stream: Permission denied in vendor/vpietri/adm-quickdevbar/Helper/Register.php on line 39

I double check my permissions. Everything fine. Not sure what happened. Any advice please?

TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in ADM/QuickDevBar/Block/Tab/Content/Block.php:28

After fresh installation in magento 2.4.6 when i save configuration at time show below errors.

Blocks TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/html/promo/app/code/ADM/QuickDevBar/Block/Tab/Content/Block.php:28
Stack trace:
#0 /var/www/html/promo/app/code/ADM/QuickDevBar/Block/Tab/Content/Block.php(28): count()
#1 /var/www/html/promo/app/code/ADM/QuickDevBar/view/base/templates/tabs.phtml(12): ADM\QuickDevBar\Block\Tab\Content\Block->getTitleBadge()
#2 /var/www/html/promo/vendor/magento/framework/View/TemplateEngine/Php.php(71): include('...')
#3 /var/www/html/promo/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\TemplateEngine\Php->render()
#4 /var/www/html/promo/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callParent()
#5 /var/www/html/promo/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\TemplateEngine\Php\Interceptor->Magento\Framework\Interception{closure}()
#6 /var/www/html/promo/generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php(23): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callPlugins()
#7 /var/www/html/promo/vendor/magento/framework/View/Element/Template.php(263): Magento\Framework\View\TemplateEngine\Php\Interceptor->render()
#8 /var/www/html/promo/vendor/magento/framework/View/Element/Template.php(293): Magento\Framework\View\Element\Template->fetchView()
#9 /var/www/html/promo/app/code/ADM/QuickDevBar/Block/Tab/Panel.php(136): Magento\Framework\View\Element\Template->_toHtml()
#10 /var/www/html/promo/vendor/magento/framework/View/Element/AbstractBlock.php(1095): ADM\QuickDevBar\Block\Tab\Panel->_toHtml()
#11 /var/www/html/promo/vendor/magento/framework/View/Element/AbstractBlock.php(1099): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element{closure}()
#12 /var/www/html/promo/vendor/magento/framework/View/Element/AbstractBlock.php(660): Magento\Framework\View\Element\AbstractBlock->_loadCache()
#13 /var/www/html/promo/app/code/ADM/QuickDevBar/view/base/templates/tabs.phtml(21): Magento\Framework\View\Element\AbstractBlock->toHtml()
#14 /var/www/html/promo/vendor/magento/framework/View/TemplateEngine/Php.php(71): include('...')
#15 /var/www/html/promo/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\TemplateEngine\Php->render()
#16 /var/www/html/promo/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callParent()
#17 /var/www/html/promo/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\TemplateEngine\Php\Interceptor->Magento\Framework\Interception{closure}()
#18 /var/www/html/promo/generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php(23): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callPlugins()
#19 /var/www/html/promo/vendor/magento/framework/View/Element/Template.php(263): Magento\Framework\View\TemplateEngine\Php\Interceptor->render()
#20 /var/www/html/promo/vendor/magento/framework/View/Element/Template.php(293): Magento\Framework\View\Element\Template->fetchView()
#21 /var/www/html/promo/app/code/ADM/QuickDevBar/Block/Tab/Panel.php(136): Magento\Framework\View\Element\Template->_toHtml()
#22 /var/www/html/promo/vendor/magento/framework/View/Element/AbstractBlock.php(1095): ADM\QuickDevBar\Block\Tab\Panel->_toHtml()
#23 /var/www/html/promo/vendor/magento/framework/View/Element/AbstractBlock.php(1099): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element{closure}()
#24 /var/www/html/promo/vendor/magento/framework/View/Element/AbstractBlock.php(660): Magento\Framework\View\Element\AbstractBlock->_loadCache()
#25 /var/www/html/promo/vendor/magento/framework/View/Layout.php(578): Magento\Framework\View\Element\AbstractBlock->toHtml()
#26 /var/www/html/promo/vendor/magento/framework/View/Layout.php(555): Magento\Framework\View\Layout->_renderBlock()
#27 /var/www/html/promo/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement()
#28 /var/www/html/promo/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement()
#29 /var/www/html/promo/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement()
#30 /var/www/html/promo/vendor/magento/framework/View/Element/AbstractBlock.php(511): Magento\Framework\View\Layout\Interceptor->renderElement()
#31 /var/www/html/promo/app/code/ADM/QuickDevBar/view/base/templates/toolbar.phtml(21): Magento\Framework\View\Element\AbstractBlock->getChildHtml()
#32 /var/www/html/promo/vendor/magento/framework/View/TemplateEngine/Php.php(71): include('...')
#33 /var/www/html/promo/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\TemplateEngine\Php->render()
#34 /var/www/html/promo/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callParent()
#35 /var/www/html/promo/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\TemplateEngine\Php\Interceptor->Magento\Framework\Interception{closure}()
#36 /var/www/html/promo/generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php(23): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callPlugins()
#37 /var/www/html/promo/vendor/magento/framework/View/Element/Template.php(263): Magento\Framework\View\TemplateEngine\Php\Interceptor->render()
#38 /var/www/html/promo/vendor/magento/framework/View/Element/Template.php(293): Magento\Framework\View\Element\Template->fetchView()
#39 /var/www/html/promo/vendor/magento/framework/View/Element/AbstractBlock.php(1095): Magento\Framework\View\Element\Template->_toHtml()
#40 /var/www/html/promo/vendor/magento/framework/View/Element/AbstractBlock.php(1099): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element{closure}()
#41 /var/www/html/promo/vendor/magento/framework/View/Element/AbstractBlock.php(660): Magento\Framework\View\Element\AbstractBlock->_loadCache()
#42 /var/www/html/promo/vendor/magento/framework/View/Layout.php(578): Magento\Framework\View\Element\AbstractBlock->toHtml()
#43 /var/www/html/promo/vendor/magento/framework/View/Layout.php(555): Magento\Framework\View\Layout->_renderBlock()
#44 /var/www/html/promo/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement()
#45 /var/www/html/promo/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement()
#46 /var/www/html/promo/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement()
#47 /var/www/html/promo/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement()
#48 /var/www/html/promo/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer()
#49 /var/www/html/promo/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement()
#50 /var/www/html/promo/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement()
#51 /var/www/html/promo/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement()
#52 /var/www/html/promo/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement()
#53 /var/www/html/promo/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer()
#54 /var/www/html/promo/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement()
#55 /var/www/html/promo/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement()
#56 /var/www/html/promo/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement()
#57 /var/www/html/promo/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement()
#58 /var/www/html/promo/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer()
#59 /var/www/html/promo/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement()
#60 /var/www/html/promo/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement()
#61 /var/www/html/promo/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement()
#62 /var/www/html/promo/vendor/magento/framework/View/Layout.php(975): Magento\Framework\View\Layout\Interceptor->renderElement()
#63 /var/www/html/promo/generated/code/Magento/Framework/View/Layout/Interceptor.php(347): Magento\Framework\View\Layout->getOutput()
#64 /var/www/html/promo/vendor/magento/framework/View/Result/Page.php(260): Magento\Framework\View\Layout\Interceptor->getOutput()
#65 /var/www/html/promo/vendor/magento/framework/View/Result/Layout.php(171): Magento\Framework\View\Result\Page->render()
#66 /var/www/html/promo/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Result\Layout->renderResult()
#67 /var/www/html/promo/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Backend\Model\View\Result\Page\Interceptor->___callParent()
#68 /var/www/html/promo/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Backend\Model\View\Result\Page\Interceptor->Magento\Framework\Interception{closure}()
#69 /var/www/html/promo/generated/code/Magento/Backend/Model/View/Result/Page/Interceptor.php(140): Magento\Backend\Model\View\Result\Page\Interceptor->___callPlugins()
#70 /var/www/html/promo/vendor/magento/framework/App/Http.php(120): Magento\Backend\Model\View\Result\Page\Interceptor->renderResult()
#71 /var/www/html/promo/generated/code/Magento/Framework/App/Http/Interceptor.php(23): Magento\Framework\App\Http->launch()
#72 /var/www/html/promo/vendor/magento/framework/App/Bootstrap.php(264): Magento\Framework\App\Http\Interceptor->launch()
#73 /var/www/html/promo/pub/index.php(30): Magento\Framework\App\Bootstrap->run()
#74 {main}

Opened toolbar - switch to closed default

There is a hard coded style display block.

Why is it not comes from css?

I want to the default the bar to be collapsed when I load the page. It should come from some config.

<div class="qdb-container <?php echo $block->getUiTabClass() ?>" data-qdbtabs-option='<?php echo $block->getJsonTabConfig(); ?>' style="display: block;">

404 on tabs.js

Hello. I'm getting a 404 on fetching jquery-ui-modules/tabs.js with the module installed, on Magento 2.4.3-p2. I fiddled with the code around a bit and changing this line to:

        jqueryTabs: ["jquery/ui-modules/tabs", "jquery/jquery-ui"]

Seems to fix it. Maybe the jquery module structure changed around a bit?

base is not a constructor

HI,

i installed it under MAgento 2.4.2 and got an JS error Message in Frontend.

Uncaught TypeError: base is not a constructor

thrown in quickdevbar.js

Any Duggestions?

Not working on Magento 2.3.3

After installing the module on Magento 2.3.3 my admin and front pages just show a blank screen. I followed all the recommended steps. Then I disabled and it worked again.
Is this supported by this version?

Thanks

Provide extension point

For example I want add tab with elasticsearch queries. Is it possible? Can you describe in docs how to do that?

Errors on multi-store admin product page

When using ADM_QuckDevBar in a multi-store environment an error is shown in admin if looking at a product in a store view.

The error is generic in nature, I disabled the module and the problem went away. So no log file of the error or other help. Thought you might want to know though.

[Magento 2.1.0 rc3] Cannot find profiler table or profiler is not enabled.

Cannot find profiler table or profiler is not enabled.
You have to add a SetEnv MAGE_PROFILER "html" to your .htaccess (do not use "csvfile" nor "firebug" to have profiler displayed in tab). Be careful with .htacces directive you can have $_SERVER['REDIRECT_MAGE_PROFILER'] set instead of $_SERVER['MAGE_PROFILER'] prefer apache2.conf.

profiler

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.