There is a static call to Smarty_Internal_Debug::display_debug on template.class.php file, line 586.
It rises an error and it prevent showing smarty debug popup when logged in as admin.
There is a static call to `Smarty_Internal_Debug::display_debug` on `template.class.php` file, line 586.
It rises an error and it prevent showing smarty debug popup when logged in as admin.
<!-- github-sync-id:350052077 -->
Hi Miceno,
I had the same issue.
Try this as a workaround (backslash on Windows):
//Smarty_Internal_Debug::display_debug($this->smarty); $this->smarty->display(dirname(__FILE__) . "\smarty\libs\debug.tpl"); // should better use $debug_tpl or $SMARTY_DIR ?
Hi Miceno,
I had the same issue.
Try this as a workaround (backslash on Windows):
` //Smarty_Internal_Debug::display_debug($this->smarty);
$this->smarty->display(dirname(__FILE__) . "\smarty\libs\debug.tpl"); // should better use $debug_tpl or $SMARTY_DIR ?
`
<!-- github-comment-id:420568117 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
There is a static call to
Smarty_Internal_Debug::display_debugontemplate.class.phpfile, line 586.It rises an error and it prevent showing smarty debug popup when logged in as admin.
Hi Miceno,
I had the same issue.
Try this as a workaround (backslash on Windows):
//Smarty_Internal_Debug::display_debug($this->smarty); $this->smarty->display(dirname(__FILE__) . "\smarty\libs\debug.tpl"); // should better use $debug_tpl or $SMARTY_DIR ?Why was the pull request never merged? I still get the same error...