-
AuthorPosts
-
March 16, 2011 at 11:43 am #161525
Fatal error: Call to a member function getChildren() on a non-object in
/home/storage/3/1f/f2/apukaonline/public_html/modules/mod_janewspro/helpers/adapter/content.phpI get this error when i enable my ja-news-mobile on Ja Teline IV using Joomla 1.6, and try to access the site via Mobile Device.
I created the site in a directory, but when he moved to another location, the problem began. And this error still displaying the old path
Fatal error: Call to a member function getChildren() on a non-object
in /home/storage/3/1f/f2/apukaonline/public_html/modules/mod_janewspro/helpers/adapter/content.php
on line 51but now the site is in
/home/apukaonline/public_html/….I discovered that this cache is automatically created
cache/t3-assets with the old path …How may i fix this?
thanks for the support..huypl Friendhuypl
- Join date:
- February 2011
- Posts:
- 162
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 20 times in 20 posts
March 21, 2011 at 12:59 am #382383Hello Walter,
While we still haven’t found and fixed the problem, I suggest that you try to install your website on local machine to see what happens.
By the way, the folder cache/t3-assets is created to store the optimized css ans javascript files. It’s configured in Template Manager. If you don’t want to use optimization, you can set it to “No” in the template manager. But I strongly don’t recommend this. Love to here your feedback.April 19, 2011 at 6:52 pm #387129I have the same problem, and it can not fix it
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
April 25, 2011 at 7:28 am #387933Hello Mates!
I’m sorry for my late, created a issue on the PM http://pm.joomlart.com/browse/JATCTELINEIV-217, our developers will check this in detail.
Now, you try with solution, you open the file mod_janewspro/helpers/adapter/content.php and find :
[PHP]
if($_section ) {
$_categories = $_section->getChildren();
}[/PHP]replace by :
[PHP]
if($_section && is_object($_section) && method_exists($_section,’getChildren’) ) {$_categories = $_section->getChildren();
}
[/PHP]then check this again
1 user says Thank You to Saguaros for this useful post
May 14, 2011 at 3:34 pm #391238Hi guys, i´m with the same problem and I can´t locate “if($_section ) {” to replace in code. Please help us guys, thanks a lot.
May 14, 2011 at 6:48 pm #391264two months waiting for support … and still waiting for answers….
thangnn1510 Friendthangnn1510
- Join date:
- October 2014
- Posts:
- 1608
- Downloads:
- 0
- Uploads:
- 80
- Thanks:
- 73
- Thanked:
- 278 times in 256 posts
May 18, 2011 at 3:32 am #391717<blockquote>Now, you try with solution, you open the file mod_janewspro/helpers/adapter/content.php and find :
PHP Code:
if($_section ) {
$_categories = $_section->getChildren();
}
replace by :PHP Code:
if($_section && is_object($_section) && method_exists($_section,’getChildren’) ) {$_categories = $_section->getChildren();
}
then check this again</blockquote>Please try as TienHC suggests.
Arvind Chauhan ModeratorArvind Chauhan
- Join date:
- September 2014
- Posts:
- 3835
- Downloads:
- 74
- Uploads:
- 92
- Thanks:
- 1240
- Thanked:
- 1334 times in 848 posts
June 15, 2011 at 3:52 pm #396519For others,
This issue has been fixed. http://pm.joomlart.com/browse/JATCTELINEIVJ16-124 and can be fixed by updating the template version to the latest release.
Arvind
-
AuthorPosts
This topic contains 8 replies, has 7 voices, and was last updated by Arvind Chauhan 13 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum