Admin bar module causes fatal error
- Status
- Pending
- Subject
- Admin bar module causes fatal error
- Version
- 27.x
- Category
- Regression
- Feature
- Admin Interface (UI)
Modules - Resolution status
- Please retest
- Submitted by
- Gary Cunningham-Lee
- Lastmod by
- Bernard Sfez / Tiki Specialist
- Rating
- Description
I assigned the module "adminbar" and, where the module should display, there was this error message:
Copy to clipboardFatal error rendering template file C:\laragon\www\G\master\templates\modules/mod-adminbar.tpl TypeError: Smarty\Data::setVariable(): Argument #2 ($variableObject) must be of type Smarty\Variable, SmartyTiki\ReferenceVariable given, called in C:\laragon\www\G\master\vendor_bundled\vendor\smarty\smarty\src\Runtime\ForeachRuntime.php on line 153 and defined in C:\laragon\www\G\master\vendor_bundled\vendor\smarty\smarty\src\Data.php:268 Stack trace: #0 C:\laragon\www\G\master\vendor_bundled\vendor\smarty\smarty\src\Runtime\ForeachRuntime.php(153): Smarty\Data->setVariable('page', Object(SmartyTiki\ReferenceVariable)) #1 C:\laragon\www\G\master\temp\templates_c\en_social^c5e86604880be3130d0af6581df4d5ab622f4e74_0.file_mod-adminbar.tpl.php(224): Smarty\Runtime\ForeachRuntime->restore(Object(Smarty\Template), 1) #2 C:\laragon\www\G\master\vendor_bundled\vendor\smarty\smarty\src\Template\GeneratedPhpFile.php(111): content_660403c9195f44_19231142(Object(Smarty\Template)) #3 C:\laragon\www\G\master\vendor_bundled\vendor\smarty\smarty\src\Template\Compiled.php(110): Smarty\Template\GeneratedPhpFile->getRenderedTemplateCode(Object(Smarty\Template), 'content_660403c...') #4 C:\laragon\www\G\master\vendor_bundled\vendor\smarty\smarty\src\Template.php(180): Smarty\Template\Compiled->render(Object(Smarty\Template)) #5 C:\laragon\www\G\master\vendor_bundled\vendor\smarty\smarty\src\Template.php(654): Smarty\Template->render(false, 0) #6 C:\laragon\www\G\master\vendor_bundled\vendor\smarty\smarty\src\Template.php(586): Smarty\Template->_execute(0) #7 C:\laragon\www\G\master\vendor_bundled\vendor\smarty\smarty\src\Smarty.php(2120): Smarty\Template->fetch() #8 C:\laragon\www\G\master\lib\init\smarty.php(277): Smarty\Smarty->fetch('C:\\laragon\\www\\...', NULL, NULL, NULL) #9 C:\laragon\www\G\master\lib\modules\modlib.php(1187): Smarty_Tiki->fetch('C:\\laragon\\www\\...') #10 C:\laragon\www\G\master\tiki-modules.php(47): ModLib->execute_module(Array) #11 C:\laragon\www\G\master\lib\core\Tiki\Render\Lazy.php(21): Smarty_Tiki->{closure}() #12 [internal function]: Tiki_Render_Lazy->__toString() #13 C:\laragon\www\G\master\lib\smarty_tiki\FunctionHandler\ModuleList.php(81): preg_replace('/ class=\\"modul...', ' class="module ...', Object(Tiki_Render_Lazy)) #14 [internal function]: SmartyTiki\FunctionHandler\ModuleList->SmartyTiki\FunctionHandler\{closure}(Array) #15 C:\laragon\www\G\master\lib\smarty_tiki\FunctionHandler\ModuleList.php(52): array_map(Object(Closure), Array) #16 C:\laragon\www\G\master\temp\templates_c\en_social^d438dc65c3e7c21814fa87f7f6bb014ac6bc7480_0.file_layout_view.tpl.php(217): SmartyTiki\FunctionHandler\ModuleList->handle(Array, Object(Smarty\Template)) #17 C:\laragon\www\G\master\vendor_bundled\vendor\smarty\smarty\src\Template\GeneratedPhpFile.php(111): content_6602f1787e3b44_95978552(Object(Smarty\Template)) #18 C:\laragon\www\G\master\vendor_bundled\vendor\smarty\smarty\src\Template\Compiled.php(110): Smarty\Template\GeneratedPhpFile->getRenderedTemplateCode(Object(Smarty\Template), 'content_6602f17...') #19 C:\laragon\www\G\master\vendor_bundled\vendor\smarty\smarty\src\Template.php(180): Smarty\Template\Compiled->render(Object(Smarty\Template)) #20 C:\laragon\www\G\master\vendor_bundled\vendor\smarty\smarty\src\Template.php(287): Smarty\Template->render() #21 C:\laragon\www\G\master\vendor_bundled\vendor\smarty\smarty\src\Runtime\InheritanceRuntime.php(112): Smarty\Template->renderSubTemplate('layout_view.tpl', NULL, 'en--social', 0, 3600, Array, NULL, 'C:\\laragon\\www\\...') #22 C:\laragon\www\G\master\temp\templates_c\en_social^5872da7c53441c3be37310ab82eabc40ec121b2f_0.file_tiki-show_page.tpl.php(53): Smarty\Runtime\InheritanceRuntime->endChild(Object(Smarty\Template), 'layout_view.tpl', 'C:\\laragon\\www\\...') #23 C:\laragon\www\G\master\vendor_bundled\vendor\smarty\smarty\src\Template\GeneratedPhpFile.php(111): content_6602f178750ab0_48596869(Object(Smarty\Template)) #24 C:\laragon\www\G\master\vendor_bundled\vendor\smarty\smarty\src\Template\Compiled.php(110): Smarty\Template\GeneratedPhpFile->getRenderedTemplateCode(Object(Smarty\Template), 'content_6602f17...') #25 C:\laragon\www\G\master\vendor_bundled\vendor\smarty\smarty\src\Template.php(180): Smarty\Template\Compiled->render(Object(Smarty\Template)) #26 C:\laragon\www\G\master\vendor_bundled\vendor\smarty\smarty\src\Template.php(654): Smarty\Template->render(false, 1) #27 C:\laragon\www\G\master\vendor_bundled\vendor\smarty\smarty\src\Template.php(591): Smarty\Template->_execute(1) #28 C:\laragon\www\G\master\vendor_bundled\vendor\smarty\smarty\src\Smarty.php(2134): Smarty\Template->display() #29 C:\laragon\www\G\master\lib\init\smarty.php(462): Smarty\Smarty->display('tiki-show_page....', NULL, NULL) #30 C:\laragon\www\G\master\tiki-index.php(754): Smarty_Tiki->display('tiki-show_page....') #31 C:\laragon\www\G\master\route.php(373): include('C:\\laragon\\www\\...') #32 {main}- Solution
- Workaround
- Importance
- 7
- Easy to solve?
- 5
- Priority
- 35
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is currently unavailableUnable to connect to show.tikiwiki.org. Please let us know of the problem so that we can do something about it. Thanks.
- Ticket ID
- 8614
- Created
- Wednesday 27 March, 2024 11:37:45 UTC
by Gary Cunningham-Lee - LastModif
- Wednesday 19 November, 2025 09:40:00 UTC