Mgt DeveloperToolbar for Magento 2

Overview

MGT Developer Toolbar for Magento 2

The MGT Developer Toolbar is a must-have for Magento 2 developers and frontend guys. The toolbar shows you all important information for performance optimisation and Magento development.

Profiler

Main Features

  • Profiler
  • Memory Consumption
  • List of all Database Queries
  • Block nesting
  • Cache Storage Information
  • Session Storage Information
  • Enabled / Disabled Modules
  • Request / Response Data
  • Handles
  • Events / Observers
  • Plugins
  • Preferences
  • PHP-Info

Installation

Follow the Documentation for detailed installation instructions.

Comments
  • Fixed a non well formed numeric value (php 7.1)

    Fixed a non well formed numeric value (php 7.1)

    Fixed the issues such as:

    Notice: A non well formed numeric value encountered in /home/cloudpanel/htdocs/md200.local/vendor/mgtcommerce/module-mgtdevelopertoolbar/src/app/code/Mgt/DeveloperToolbar/Block/Toolbar/Block/MemoryConsumption.php on line 70

    Env: PHP Version 7.1.11-2

    opened by sergei-sss 3
  • Non well formed numeric value encountered

    Non well formed numeric value encountered

    After enabling the extension I'm getting this error:

    Exception #0 (Exception): Notice: A non well formed numeric value encountered in /home/cloudpanel/htdocs/magento.dev/vendor/mgtcommerce/module-mgtdevelopertoolbar/src/app/code/Mgt/DeveloperToolbar/Block/Toolbar/Block/MemoryConsumption.php on line 70
    
    Exception #0 (Exception): Notice: A non well formed numeric value encountered in /home/cloudpanel/htdocs/magento.dev/vendor/mgtcommerce/module-mgtdevelopertoolbar/src/app/code/Mgt/DeveloperToolbar/Block/Toolbar/Block/MemoryConsumption.php on line 70
    #0 /home/cloudpanel/htdocs/magento.dev/vendor/mgtcommerce/module-mgtdevelopertoolbar/src/app/code/Mgt/DeveloperToolbar/Block/Toolbar/Block/MemoryConsumption.php(70): Magento\Framework\App\ErrorHandler->handler(8, 'A non well form...', '/home/cloudpane...', 70, Array)
    #1 /home/cloudpanel/htdocs/magento.dev/vendor/mgtcommerce/module-mgtdevelopertoolbar/src/app/code/Mgt/DeveloperToolbar/Block/Toolbar/Block/MemoryConsumption.php(77): Mgt\DeveloperToolbar\Block\Toolbar\Block\MemoryConsumption->Mgt\DeveloperToolbar\Block\Toolbar\Block\{closure}('768M')
    #2 [internal function]: Mgt\DeveloperToolbar\Block\Toolbar\Block\MemoryConsumption->getPhpMemoryLimit() 
    

    Running PHP7, should work on PHP5 due to automatically casting.

    opened by AykutCevik 2
  • Consider namespacing '.container' or all classnames

    Consider namespacing '.container' or all classnames

    The .container class in your stylesheet was overriding styles in a site I was working on - I didn't realise this as not familiar with said site so wasted a fair bit of time trying to debug it. It must be a fairly widely used class name so I would have thought this could be a fairly common issue.

    opened by garypburton 2
  • session messages are not working

    session messages are not working

    Hi,

    when i activate the dev toolbar, all the session messages are not working in the BO.

    for example, juste save a product : the notice message is not displayed.

    opened by spipu 2
  • Duplicate Router ID

    Duplicate Router ID

    Steps to reproduce

    1. Install the Toolbar
    2. Try to merge the Xml

    Expected result

    1. Shop should appear

    Actual result

    1. The router.xml contains two routers with the same ID. This will throw an Error. Invalid XML in file src/vendor/mgtcommerce/module-mgtdevelopertoolbar/src/app/code/Mgt/DeveloperToolbar/etc/frontend/routes.xml: Element 'config': Missing child element(s). Expected is ( router ). Line: 2

    I am using Magento 2.1.1

    opened by DavidLambauer 2
  • Install with Composer: add --dev flag

    Install with Composer: add --dev flag

    Hello,

    When installing the module with Composer, I think you should add the --dev flag so the module is installed into the require-dev section and not installed if you run composer install --no-dev.

    The installation command becomes

    composer require --dev mgtcommerce/module-mgtdevelopertoolbar
    
    opened by VincentMarmiesse 1
  • Magento 2.2 compatibility?

    Magento 2.2 compatibility?

    Currently this package is dependent on "magento/framework": "~100.1"

    I have enterprise 2.2 rc30 installed

    → composer info magento/product-enterprise-edition
    name     : magento/product-enterprise-edition
    descrip. : eCommerce Platform for Growth (Enterprise Edition)
    keywords : 
    versions : * 2.2.0-rc30
    type     : metapackage
    license  : proprietary
    source   : []  
    dist     : [zip] https://repo.magento.com/archives/magento/product-enterprise-edition/magento-product-enterprise-edition-2.2.0.0-RC30.zip 
    names    : magento/product-enterprise-edition
    …
    

    And this package fails to install

    → composer require --dev mgtcommerce/module-mgtdevelopertoolbar
        1/1:	http://packagist.org/p/provider-latest$77b31ab683f59847c8ca13e28bc28a262bb9d1841cc9f4fc33f99e66ef83b7de.json
        Finished: success: 1, skipped: 0, failure: 0, total: 1
    Using version ^1.0 for mgtcommerce/module-mgtdevelopertoolbar
    ./composer.json has been updated
    Loading composer repositories with package information
    Updating dependencies (including require-dev)                                                  
    Your requirements could not be resolved to an installable set of packages.
    
      Problem 1
        - Conclusion: don't install mgtcommerce/module-mgtdevelopertoolbar 1.0.3
        - Conclusion: don't install mgtcommerce/module-mgtdevelopertoolbar 1.0.2
        - Conclusion: don't install mgtcommerce/module-mgtdevelopertoolbar 1.0.1
        - Conclusion: remove magento/framework 101.0.0-rc30
        - Installation request for mgtcommerce/module-mgtdevelopertoolbar ^1.0 -> satisfiable by mgtcommerce/module-mgtdevelopertoolbar[1.0.0, 1.0.1, 1.0.2, 1.0.3].
        - Conclusion: don't install magento/framework 101.0.0-rc30
        - mgtcommerce/module-mgtdevelopertoolbar 1.0.0 requires magento/framework ~100.1 -> satisfiable by magento/framework[100.1.0-rc1, 100.1.0-rc2, 100.1.0-rc3, 100.1.0, 100.1.1, 100.1.2, 100.1.3, 100.1.4, 100.1.5, 100.1.6, 100.1.7, 100.1.8, 100.2.0-rc20, 100.1.9].
    …
    
    opened by mfdj 1
  • Remove branding from Admin Panel

    Remove branding from Admin Panel

    Always apreciated when open source modules get created, but adding branding right in the Admin Panel is not-done. Please 'for the love of god' remove the branding. If you display it somewhere in the toolbar it's self, that's fine, but not in the primary navigation of the Admin Panel.

    opened by paales 1
  • Handle

    Handle "mgt_developer_toolbar_view" not loading

    On the dashboard or any section of the toolbar I am having the following error:

    Fatal error: Call to a member function setCurrentUrl() on boolean in /var/www/project/vendor/mgtcommerce/module-mgtdevelopertoolbar/src/app/code/Mgt/DeveloperToolbar/Helper/Toolbar.php on line 172

    It looks like the layout file mgt_developer_toolbar_view.xml is not loaded, hence the block mgt_developer_toolbar_container not being returned.

    Current setup is on Magento EE 2.1.2 and "mgtcommerce/module-mgtdevelopertoolbar dev-master f3867c4"

    opened by Vedrillan 1
  • [Bugfix] An error occurred during installation

    [Bugfix] An error occurred during installation

    • bagfix for (Fatal error: Uncaught Error: Cannot instantiate interface Magento\Framework\App\Config\Scope\ReaderPoolInterface in ...\lib\internal\Magento\Framework\ObjectManager\Factory\Dynamic\Developer.php:73)
    opened by voleye 1
  • install the module without adding a specific repo

    install the module without adding a specific repo

    Hi !

    your toolbar is really great.

    Could you add it to https://packagist.org/ ? because adding a specific repo in the composer.json file is not a good practice.

    additionally, the given command to add the repo is not good because it transforms the repo node of the composer.json file from array to object.

    Thanks !

    Laurent

    opened by spipu 1
  • Error when updating 2.4.4 and php8.1 : MGT developer toolbar issue

    Error when updating 2.4.4 and php8.1 : MGT developer toolbar issue

    Issue when upgrading Magento 2.4.4/php8.1. MGT developer toolbar issue -> Exception #0 (Exception): Deprecated Functionality: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/MYWEBSITE/vendor/mgtcommerce/module-mgtdevelopertoolbar/src/app/code/Mgt/DeveloperToolbar/Model/Config.php on line 77.

    Any idea to solve this problem without overriding this file each time we upgrade Magento 2.4.4 ?

    Thanks :)

    opened by ghost 2
  • PHP 8.1 fixes

    PHP 8.1 fixes

    This PR fixes all issues I've found when running on Magento 2.4.4 and PHP 8.1.

    The only thing that's not working is toolbar/container/block/profiler because of error in Magento.

    The error comes from line 213: https://github.com/magento/magento2/blob/HEAD/lib/internal/Magento/Framework/Profiler/Driver/Standard/Stat.php#L213-L217

    $timerIds[$j] may be null because of line 216.

    opened by vovayatsyuk 2
  • Getting error : Fatal error: Uncaught Error: Class 'Mgt\DeveloperToolbar\Model\Profiler\Driver\Standard\Stat' not found in /var/www/html/app/code/Mgt/DeveloperToolbar/registration.php

    Getting error : Fatal error: Uncaught Error: Class 'Mgt\DeveloperToolbar\Model\Profiler\Driver\Standard\Stat' not found in /var/www/html/app/code/Mgt/DeveloperToolbar/registration.php

    After installation of module i am getting error : magento version is 2.3.4

    Fatal error: Uncaught Error: Class 'Mgt\DeveloperToolbar\Model\Profiler\Driver\Standard\Stat' not found in /var/www/html/app/code/Mgt/DeveloperToolbar/registration.php:4 Stack trace: #0 /var/www/html/app/etc/NonComposerComponentRegistration.php(29): require_once() #1 [internal function]: Magento\NonComposerComponentRegistration{closure}('/var/www/html/a...') #2 /var/www/html/app/etc/NonComposerComponentRegistration.php(29): array_map(Object(Closure), Array) #3 /var/www/html/app/etc/NonComposerComponentRegistration.php(33): Magento\NonComposerComponentRegistration{closure}() #4 /var/www/html/vendor/composer/autoload_real.php(70): require('/var/www/html/a...') #5 /var/www/html/vendor/composer/autoload_real.php(60): composerRequiref6a67d92b5a759526446827cfc564d96('b4cf39431a4b949...', '/var/www/html/v...') #6 /var/www/html/vendor/autoload.php(7): ComposerAutoloaderInitf6a67d92b5a759526446827cfc564d96::getLoader() #7 /var/www/html/app/autoload.php(30): include('/var/www/html/v...') #8 /var/www/html/app/bootstrap.php(33): re in /var/www/html/app/code/Mgt/DeveloperToolbar/registration.php on line 4

    opened by satishch1502 0
  • Undefined index: instance

    Undefined index: instance

    Hi, I am receiving this error mesage: Exception #0 (Exception): Notice: Undefined index: instance in vendor/mgtcommerce/module-mgtdevelopertoolbar/src/app/code/Mgt/DeveloperToolbar/view/frontend/templates/toolbar/container/sidebar/events.phtml on line 29 when I press the Events item from the menu. I am runnign magento 2.4.2-p1 and version 1.0.9 of the mgtcommerce/module-mgtdevelopertoolbar module Would you please have a look ? Thanks

    opened by atty31 0
  • Do not force admin notifications or at least require them

    Do not force admin notifications or at least require them

    Hello,

    your extension requires Magento_AdminNotifications, but it's not required in the module.xml

    So if you disable Magento_AdminNotifications and your extension pushes new advertising an exception is thrown:

    3 exception(s):
    Exception #0 (Magento\Framework\DB\Adapter\TableNotFoundException): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'magento.adminnotification_inbox' doesn't exist, query was: SELECT `adminnotification_inbox`.* FROM `adminnotification_inbox` WHERE (title = 'NEW: AWS Graviton2 processors - 40% more performance at 20% lower cost!') AND (url = 'https://www.mgt-commerce.com/cms/aws-graviton?refId=notification')
    Exception #1 (Zend_Db_Statement_Exception): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'magento.adminnotification_inbox' doesn't exist, query was: SELECT `adminnotification_inbox`.* FROM `adminnotification_inbox` WHERE (title = 'NEW: AWS Graviton2 processors - 40% more performance at 20% lower cost!') AND (url = 'https://www.mgt-commerce.com/cms/aws-graviton?refId=notification')
    Exception #2 (PDOException): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'magento.adminnotification_inbox' doesn't exist
    
    opened by Morgy93 0
  • Magento 2.3.3: Missing success / error messages.

    Magento 2.3.3: Missing success / error messages.

    In Magento 2.3.3, The success/error messages are removed in all admin page. This happen when i was saving product/category .. It should show success or error message on the top of page after save.

    I've found that for some reason, the code $this->layout->getBlock() are causing this issue. And it's used in app/code/Mgt/DeveloperToolbar/Model/Observer/DataCollector.php->collectInformation()

    $toolbarBlock = $this->layout->getBlock('mgt_developer_toolbar');
    $phpParseTimeBlock = $this->layout->getBlock('mgt_developer_toolbar_block_php_parse_time');
    $memoryConsumptionBlock = $this->layout->getBlock('mgt_developer_toolbar_block_memory_consumption');
    $databaseQueriesBlock = $this->layout->getBlock('mgt_developer_toolbar_block_database_queries');
    

    Thanks.

    opened by saxsax1995 0
A tool that allows to quickly export data from Magento 1 and Magento 2 store and import it back into Magento 2

Simple Import / Export tool A tool that allows to quickly export data from Magento 1 and Magento 2 store and import it back into Magento 2. Table data

EcomDev B.V. 51 Dec 5, 2022
This Magento 2 extension integrates EasyTranslate into Magento 2.

EasyTranslate Magento 2 Connector This Magento 2 extension integrates EasyTranslate into Magento 2. Mind that you need to have an account with EasyTra

Easytranslate ApS 0 Oct 7, 2022
Magento-Functions - A Resource of Magento Functions

Magento-Functions A Resource of Magento Functions Table of Contents Category Product User Cart Checkout General Account [Working w/ URL's] (#urls) Cat

Bryan Littlefield 28 Apr 19, 2021
Magento - Magento Community Editions

Magento Community Edition /// THIS REPOSITORY IS DEPREACTED /// 1.9.4.1 will be the last version update. Please switch over to OpenMage! Either to the

FireGento e. V. 107 Oct 17, 2022
Magento-Vagrant-Puppet-Nginx - Installs magento and a nginx server

Magento-Vagrant-Puppet-Nginx Installs Magento MySQL PHP PHP-FPM Nginx n98-magerun Setup git submodule init git submodule update vagrant up Modify pupp

Christian Münch 61 Aug 10, 2022
Docker-magento - Docker image for Magento 1.6 to 1.9

Docker image for Magento 1.x This repo creates a Docker image for Magento 1.x. Please note The primary goal of this repo is to create Docker images fo

Fu Cheng 144 Nov 18, 2022
Magento-composer-installer - Composer installer for Magento modules

!!! support the maintainer of this project via Patreon: https://www.patreon.com/Flyingmana Magento Composer Installer The purpose of this project is t

null 213 Sep 24, 2022
Chef-magento - Installs and Configures a Magento project

Description Requirements Chef 0.10.0 or higher required (for Chef environment use). Platform Debian, Ubuntu CentOS, Red Hat, Fedora Your basebox must

Inviqa 3 Jun 30, 2020
Cookbook-magento - Collection of recipes to build app stack for the Magento deployments with Chef

Magento Cookbook Collection of recipes to build app stack for the Magento deployments with Chef Installation With Berkshelf echo "cookbook 'magento',

Yevhen Viktorov 37 Sep 26, 2020
Magento-bulk - Bulk Import/Export helper scripts and CLI utilities for Magento Commerce

Magento Bulk Bulk operations for Magento. Configuration Copy config.php.sample to config.php and edit it. Product Attribute Management List All Attrib

Bippo Indonesia 23 Dec 20, 2022
Phpcs-magento-rules - A set of PHPCS rules used by made.com when hacking Magento

Made.com PHPCS Magento Rules A set of PHPCS rules used by made.com when hacking Magento. Pre-Requisites PHPCS Installation Short Version Clone this re

Made.com Tech Team 26 Jun 3, 2020
This Magento extension provides a Real Full Page Caching for Magento powered by Varnish with support of Session-Based information caching (Cart, Customer Accounts, ...) via ESI includes

This Magento extension provides a Real Full Page Caching (FPC) for Magento powered by Varnish with support of Session-Based information caching (Cart, Customer Accounts, ...) via ESI includes

Hugues Alary 95 Feb 11, 2022
Automatically load the next page of products in Magento. Easy to install and configure, this module works 100% out of the box with vanilla Magento 1.9.x and earlier.

Automatically load the next page of products in Magento. Easy to install and configure, this module works 100% out of the box with vanilla Magento 1.9.x and earlier.

Strategery 123 Nov 20, 2021
Foundation 3 Framework for Magento 1.7. Foundation styles and libraries. Magento Responsive theme. Off-canvas Left-Right sidebar columns for mobile.

Magento Foundation 3 Framework Zurb Foundation 3 framework for Magento 1.7. Magento Foundation 3 Version 1.3.0. Demo page: http://magendation.internet

Nando Boronat 62 Apr 1, 2022
[ONLY Magento 2.0.x Compatible] Code samples for Magento developers

Synopsis This project is a collection of samples to demonstrate technologies introduced in Magento 2. You will find the most simple extension along wi

Magento 58 Dec 26, 2022
Magento 2 Blog Extension is a better blog extension for Magento 2 platform. These include all useful features of Wordpress CMS

Magento 2 Blog extension FREE Magento 2 Better Blog by Mageplaza is integrated right into the Magento backend so you can manage your blog and your e-c

Mageplaza 113 Dec 14, 2022