Profiler Page is blank
Hello,
I've installed the module in my project. The project is based on Magento 2.1.7.
I've had a toolbar of the profiler, but when i'm viewing a page of result or list of results - i'm seeing a blank page.
In system.log:
[2017-10-06 09:56:14] main.CRITICAL: Broken reference: the 'header.panel.wrapper' element cannot be added as child to 'header.container', because the latter doesn't exist [] [] [2017-10-06 09:56:14] main.CRITICAL: Broken reference: the 'head.components' element cannot be added as child to 'after.body.start', because the latter doesn't exist [] [] [2017-10-06 09:56:14] main.CRITICAL: Broken reference: the 'requirejs-config' element cannot be added as child to 'after.body.start', because the latter doesn't exist [] [] [2017-10-06 09:56:14] main.CRITICAL: Broken reference: the 'translate-config' element cannot be added as child to 'after.body.start', because the latter doesn't exist [] [] [2017-10-06 09:56:14] main.CRITICAL: Broken reference: the 'translate' element cannot be added as child to 'after.body.start', because the latter doesn't exist [] [] [2017-10-06 09:56:14] main.CRITICAL: Broken reference: the 'js_cookies' element cannot be added as child to 'after.body.start', because the latter doesn't exist [] [] [2017-10-06 09:56:14] main.CRITICAL: Broken reference: the 'global_notices' element cannot be added as child to 'after.body.start', because the latter doesn't exist [] [] [2017-10-06 09:56:14] main.CRITICAL: Broken reference: the 'skip_to_content.target' element cannot be added as child to 'main.content', because the latter doesn't exist [] [] [2017-10-06 09:56:14] main.CRITICAL: Broken reference: the 'header-wrapper' element cannot be added as child to 'header.container', because the latter doesn't exist [] [] [2017-10-06 09:56:14] main.CRITICAL: Broken reference: the 'navigation.sections' element cannot be added as child to 'page.top', because the latter doesn't exist [] [] [2017-10-06 09:56:14] main.CRITICAL: Broken reference: the 'top.container' element cannot be added as child to 'page.top', because the latter doesn't exist [] [] [2017-10-06 09:56:14] main.CRITICAL: Broken reference: the 'breadcrumbs' element cannot be added as child to 'page.top', because the latter doesn't exist [] [] [2017-10-06 09:56:14] main.CRITICAL: Broken reference: the 'page.main.title' element cannot be added as child to 'columns.top', because the latter doesn't exist []
Does anyone of you have the same problem?
I have this problem also
Same problem here with Magento 2.1.9, I can't find any error messages.
same problem, white page and no errors (using magento 2.2)
Same here, it's seem severely broken :(
Same with 2.2.1
same on 2.1.5, there is no error logs
This is happening because of Mirasvit_Core module. It has this OnFrontendLayoutRenderObserver that checks whether:
- block class name starts with 'Mirasvit'
- licence is valid
If you install the profiler module and have also the core module installed for some reason, then if you do not have license set up, this observer will silently remove any output of Mirasvit blocks.
Few ways to fix:
- obtain a license
- remove core module since profiler has no dependency on it, it seems
- remove the license checking part in the observer mentioned
Well I have other paid mirasvit modules installed so uninstalling the core is not really an option. I can comment out the licensing but I would have to do this with every core update or write an override for it. How do you obtain a license for the profiler?
@dazz397 see Mirasvit\Core\Model\License load() function. Easiest way here would be to add another condition to the if statement, but yes, you would lose that on module update. So, we will be best off to ask Mirasvit to add this to their core module.
We released mirasvit/module-core v 1.2.48 with fix for this issue.