Error Showing "Undefined property: stdClass::$language"
Rate this topic: 




1.00 out of 6 based on 1 vote(s)






- GK User
- Sun May 25, 2014 4:06 pm
- Reply with quote
- Report this post
I download the Joomla 3.3 version of Game template yesterday and installed the quickstart package in my localhost. I created a new category and when I added a new article to this category, I am receiving the following error (or notice). I am using the Joomla article and not K2:
This then shows a table with 17 lists and at the end it shows the article url:
Here is the screen-dump of the error that shows in the category page:
When I click on the article, even the article page show the following notice:
Here is the screen-dump of the error that shows in the Article page:
Why is that? What does this mean? Sorry... I dont have a url to give you since I am still testing this in my localhost
- Code: Select all
Notice: Undefined property: stdClass::$language in C:\wamp\www\game-template\templates\gk_game\html\com_content\category\default_articles.php on line 99
This then shows a table with 17 lists and at the end it shows the article url:
- Code: Select all
/game-template/index.php/articles/100-super-cool-article"> Super Cool Article Written by Super User 0
Here is the screen-dump of the error that shows in the category page:
UndefinedProperty-Error.jpg
When I click on the article, even the article page show the following notice:
- Code: Select all
NOTICE: UNDEFINED PROPERTY: STDCLASS::$LANGUAGE IN C:\WAMP\WWW\GAME-TEMPLATE\TEMPLATES\GK_GAME\HTML\COM_CONTENT\CATEGORY\BLOG_ITEM.PHP ON LINE 37 CALL STACK #TIMEMEMORYFUNCTIONLOCATION 10.0006250168{MAIN}( )..\INDEX.PHP:0 20.10163253144JAPPLICATIONCMS->EXECUTE( )..\INDEX.PHP:40 30.10163253552JAPPLICATIONSITE->DOEXECUTE( )..\CMS.PHP:255 40.21218618968JAPPLICATIONSITE->DISPATCH( )..\SITE.PHP:224 50.21368636456JCOMPONENTHELPER::RENDERCOMPONENT( )..\SITE.PHP:178 60.21668757336JCOMPONENTHELPER::EXECUTECOMPONENT( )..\HELPER.PHP:332 70.21708779336REQUIRE_ONCE( 'C:\WAMP\WWW\GAME-TEMPLATE\COMPONENTS\COM_CONTENT\CONTENT.PHP' )..\HELPER.PHP:352 80.22069065032JCONTROLLERLEGACY->EXECUTE( )..\CONTENT.PHP:16 90.22069065288CONTENTCONTROLLER->DISPLAY( )..\LEGACY.PHP:722 100.22079068864JCONTROLLERLEGACY->DISPLAY( )..\CONTROLLER.PHP:79 110.23019873168CONTENTVIEWCATEGORY->DISPLAY( )..\LEGACY.PHP:685 120.263011045784JVIEWCATEGORY->DISPLAY( )..\VIEW.HTML.PHP:174 130.265511103096JVIEWLEGACY->DISPLAY( )..\CATEGORY.PHP:195 140.265511103608JVIEWLEGACY->LOADTEMPLATE( )..\LEGACY.PHP:211 150.267211175584INCLUDE( 'C:\WAMP\WWW\GAME-TEMPLATE\TEMPLATES\GK_GAME\HTML\COM_CONTENT\CATEGORY\BLOG.PHP' )..\LEGACY.PHP:663 160.267411176584JVIEWLEGACY->LOADTEMPLATE( )..\BLOG.PHP:75 170.268811260376INCLUDE( 'C:\WAMP\WWW\GAME-TEMPLATE\TEMPLATES\GK_GAME\HTML\COM_CONTENT\CATEGORY\BLOG_ITEM.PHP' )..\LEGACY.PHP:663 /GAME-TEMPLATE/INDEX.PHP/ARTICLES/49-CHILDCARE-ARTICLES/101-MY-SECOND-COOL-ONE"> MY SECOND COOL ONE
Here is the screen-dump of the error that shows in the Article page:
UndefinedProperty-Error-Article-page.jpg
Why is that? What does this mean? Sorry... I dont have a url to give you since I am still testing this in my localhost
-
- Senior Boarder
- GK User
- Tue May 27, 2014 7:49 am
- Reply with quote
- Report this post
You have full debug mode enabled in your server and you need to configure your PHP according to Joomla requirements, all necessary informations you will find here https://www.gavick.com/documentation/ge ... ic-method/
-
- Platinum Boarder
- GK User
- Tue May 27, 2014 8:02 am
- Reply with quote
- Report this post
That's perfect. Thanks for the link. That helped a lot.
Cheers!
Cheers!
-
- Senior Boarder
3 posts
• Page 1 of 1