× How To / General

return error when use my certificate menu

5 years 5 months ago
saman سامان
Posts: 253
More
Topic Author
return error when use my certificate menu #1
hi.
when i use joomdle menu to show my certificate i get this error:
 Notice: Undefined property: JoomdleViewMycertificates::$pageclass_sfx in C:\Users\work\AppData\Roaming\xampp\apps\joomla\htdocs\components\com_joomdle\views\mycertificates\tmpl\default.php on line 15 Call Stack #TimeMemoryFunctionLocation 10.2208396752{main}( )...\index.php:0 20.41994894088Joomla\CMS\Application\SiteApplication->execute( )...\index.php:49 30.41994894088Joomla\CMS\Application\SiteApplication->doExecute( )...\CMSApplication.php:195 40.51417663568Joomla\CMS\Application\SiteApplication->dispatch( $component = ??? )...\SiteApplication.php:233 50.58307904296Joomla\CMS\Component\ComponentHelper::renderComponent( $option = 'com_joomdle', $params = ??? )...\SiteApplication.php:194 60.58757920280Joomla\CMS\Component\ComponentHelper::executeComponent( $path = 'C:\\Users\\work\\AppData\\Roaming\\xampp\\apps\\joomla\\htdocs/components/com_joomdle/joomdle.php' )...\ComponentHelper.php:357 70.58847938616require_once( 'C:\Users\work\AppData\Roaming\xampp\apps\joomla\htdocs\components\com_joomdle\joomdle.php' )...\ComponentHelper.php:382 80.62598698912JoomdleController->execute( $task = NULL )...\joomdle.php:15 90.62598698912JoomdleController->display( $cachable = ???, $urlparams = ??? )...\BaseController.php:710 100.63518738184JoomdleController->display( $cachable = ???, $urlparams = ??? )...\controller.php:41 110.63898823104JoomdleViewMycertificates->display( $tpl = ??? )...\BaseController.php:672 121.50598823624JoomdleViewMycertificates->display( $tpl = NULL )...\view.html.php:35 131.50598823624JoomdleViewMycertificates->loadTemplate( $tpl = NULL )...\HtmlView.php:230 141.50818846880include( 'C:\Users\work\AppData\Roaming\xampp\apps\joomla\htdocs\components\com_joomdle\views\mycertificates\tmpl\default.php' )...\HtmlView.php:695 ">

Please Log in or Create an account to join the conversation.

5 years 5 months ago
Antonio Durán
Posts: 7717
More
return error when use my certificate menu #2
Hi.
Thanks for the bug report.

You can edit file: components/com_joomdle/views/mycertificates/view.html.php
Before:
        parent::display($tpl);
Add:
        $this->pageclass_sfx = htmlspecialchars($params->get('pageclass_sfx'));

Please Log in or Create an account to join the conversation.