mirasvit / module-profiler

Magento 2 Profiler
https://mirasvit.com/
Open Software License 3.0
133 stars 36 forks source link

[Magento 2.1.0 rc3 ] Class 'SqlFormatter' not found #5

Closed mhabou closed 8 years ago

mhabou commented 8 years ago
( ! ) Fatal error: Class 'SqlFormatter' not found in /var/www/html/app/code/Mirasvit/Profiler/view/base/templates/tab/sql.phtml on line 52
Call Stack
#   Time    Memory  Function    Location
1   33.7871 17581168    Magento\Framework\Profiler\Driver\Standard->display( )  ../Standard.php:0
2   33.7871 17581264    Mirasvit\Profiler\Model\Driver\Output\Html->display( ??? )  ../Standard.php:195
3   41.6314 19105620    Magento\Framework\View\Element\AbstractBlock->toHtml( ) ../Html.php:44
4   41.6320 19107536    Magento\Framework\View\Element\Template->_toHtml( ) ../AbstractBlock.php:659
5   41.6559 19149480    Magento\Framework\View\Element\Template->fetchView( ??? )   ../Template.php:279
6   41.6901 19180612    Magento\Framework\View\TemplateEngine\Php->render( ???, ???, ??? )  ../Template.php:255
7   41.7155 19204268    include( '/var/www/html/app/code/Mirasvit/Profiler/view/base/templates/container.phtml' )   ../Php.php:59
8   41.7491 19233120    Magento\Framework\View\Element\AbstractBlock->toHtml( ) ../container.phtml:35
9   41.7507 19233536    Magento\Framework\View\Element\Template->_toHtml( ) ../AbstractBlock.php:659
10  41.7515 19233928    Magento\Framework\View\Element\Template->fetchView( ??? )   ../Template.php:279
11  41.7520 19235704    Magento\Framework\View\TemplateEngine\Php->render( ???, ???, ??? )  ../Template.php:255
12  41.7525 19262900    include( '/var/www/html/app/code/Mirasvit/Profiler/view/base/templates/tab/sql.phtml' ) ../Php.php:59
adrok commented 8 years ago

Module require installation via composer, because it load additional dependencies (jdorn/sql-formatter)

mhabou commented 8 years ago

I can't install it with composer because the requirements ; i used magento 2.1.0 rc3

so installed it manually

adrok commented 8 years ago

I just updated composer.json to 100.*

mhabou commented 8 years ago

Thank you @adrok :+1: