I am getting the below error when i m clicking to any submenu can anyone suggest me whats the problemand what is the solution.
Error which is showing up is:::
( ! ) Notice: Undefined variable: gkContent in C:\wamp\www\gk_corporate2_quickstart_J25\templates\gk_corporate2\layouts\blocks\main.php on line 42
Call Stack
# Time Memory Function Location
1 0.0011 690616 {main}( ) ..\index.php:0
2 0.3554 15335760 JSite->render( ) ..\index.php:48
3 0.3558 15336640 JDocumentHTML->parse( ) ..\application.php:259
4 0.3558 15336640 JDocumentHTML->_fetchTemplate( ) ..\html.php:414
5 0.3561 15337200 JDocumentHTML->_loadTemplate( ) ..\html.php:591
6 0.3567 15384632 require( 'C:\wamp\www\gk_corporate2_quickstart_J25\templates\gk_corporate2\index.php' ) ..\html.php:531
7 0.3624 15990216 GKTemplate->__construct( ) ..\index.php:24
8 0.3717 16606496 GKTemplate->getLayout( ) ..\gk.framework.php:76
9 0.3729 16641496 include( 'C:\wamp\www\gk_corporate2_quickstart_J25\templates\gk_corporate2\layouts\default.php' ) ..\gk.framework.php:182
10 0.5483 17229320 GKTemplate->loadBlock( ) ..\default.php:59
11 0.5495 17324840 include( 'C:\wamp\www\gk_corporate2_quickstart_J25\templates\gk_corporate2\layouts\blocks\main.php' ) ..\gk.framework.php:220
style=width:>
( ! ) Notice: Undefined variable: gkComponentWrap in C:\wamp\www\gk_corporate2_quickstart_J25\templates\gk_corporate2\layouts\blocks\main.php on line 62
Call Stack
# Time Memory Function Location
1 0.0011 690616 {main}( ) ..\index.php:0
2 0.3554 15335760 JSite->render( ) ..\index.php:48
3 0.3558 15336640 JDocumentHTML->parse( ) ..\application.php:259
4 0.3558 15336640 JDocumentHTML->_fetchTemplate( ) ..\html.php:414
5 0.3561 15337200 JDocumentHTML->_loadTemplate( ) ..\html.php:591
6 0.3567 15384632 require( 'C:\wamp\www\gk_corporate2_quickstart_J25\templates\gk_corporate2\index.php' ) ..\html.php:531
7 0.3624 15990216 GKTemplate->__construct( ) ..\index.php:24
8 0.3717 16606496 GKTemplate->getLayout( ) ..\gk.framework.php:76
9 0.3729 16641496 include( 'C:\wamp\www\gk_corporate2_quickstart_J25\templates\gk_corporate2\layouts\default.php' ) ..\gk.framework.php:182
10 0.5483 17229320 GKTemplate->loadBlock( ) ..\default.php:59
11 0.5495 17324840 include( 'C:\wamp\www\gk_corporate2_quickstart_J25\templates\gk_corporate2\layouts\blocks\main.php' ) ..\gk.framework.php:220
style=width:>
( ! ) Notice: Undefined offset: 0 in C:\wamp\www\gk_corporate2_quickstart_J25\templates\gk_corporate2\html\com_content\article\default.php on line 42
Call Stack
# Time Memory Function Location
1 0.0011 690616 {main}( ) ..\index.php:0
2 0.2482 12262728 JSite->dispatch( ) ..\index.php:42
3 0.2524 12293704 JComponentHelper::renderComponent( ) ..\application.php:197
4 0.2601 12393904 JComponentHelper::executeComponent( ) ..\helper.php:351
5 0.2607 12442784 require_once( 'C:\wamp\www\gk_corporate2_quickstart_J25\components\com_content\content.php' ) ..\helper.php:383
6 0.2695 13031856 JController->execute( ) ..\content.php:16
7 0.2695 13031936 ContentController->display( ) ..\controller.php:760
8 0.2713 13036936 JController->display( ) ..\controller.php:74
9 0.2837 14013832 ContentViewArticle->display( ) ..\controller.php:721
10 0.3381 15281992 JView->display( ) ..\view.html.php:146
11 0.3381 15281992 JView->loadTemplate( ) ..\view.php:205
12 0.3422 15640784 include( 'C:\wamp\www\gk_corporate2_quickstart_J25\templates\gk_corporate2\html\com_content\article\default.php' ) .