Problem
Plugins like Jetpack or Gutenslider use Debug_Bar_Panel class, which is defined in Query Monitor plugin. The mentioned plugins do not have specified dependency on Query Monitor. For this reason, when the plugins are compiled, there is an undefined class error.
Solution
Added an extra logic to catch(manually) scripts(usually contain a definition of derived class from Debug_Bar_Panel) using Debug_Bar_Panel and exclude them, when there is not the necessary plugin.
fixes #115
Problem Plugins like Jetpack or Gutenslider use Debug_Bar_Panel class, which is defined in Query Monitor plugin. The mentioned plugins do not have specified dependency on Query Monitor. For this reason, when the plugins are compiled, there is an undefined class error.
Solution Added an extra logic to catch(manually) scripts(usually contain a definition of derived class from Debug_Bar_Panel) using Debug_Bar_Panel and exclude them, when there is not the necessary plugin.