-
AuthorPosts
-
December 22, 2009 at 8:06 pm #147039
Hi,
I have clean Joomla! 1.5.15 installation and JA Lead template. My problem is below. Is anything wrongs with the template?
Warning: get_class() expects parameter 1 to be object, null given in D:xampp-win32-1.7.2xampphtdocsaberittemplatesja_leadja_menusBase.class.php on line 50
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
December 23, 2009 at 8:49 am #327247Hi bugses
I think you are using an old version of php4. Please try to upgrade to php 4.4.9 or newer
December 23, 2009 at 9:16 am #327256<em>@JA Developer 157710 wrote:</em><blockquote>Hi bugses
I think you are using an old version of php4. Please try to upgrade to php 4.4.9 or newer</blockquote>
I’m using XAMPP 1.7.2, this is configuration:
* Apache 2.2.12 (IPv6 enabled) + OpenSSL 0.9.8k
* MySQL 5.1.37 + PBXT engine
* PHP 5.3.0
* phpMyAdmin 3.2.0.1
* Webalizer 2.21-02 + GeoIP lite
* FileZilla FTP Server 0.9.32
* msmtp 1.4.17Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
December 24, 2009 at 3:54 am #327375Hi there
please open templatesja_leadja_men usBase.class.php file, at about line 50, find following code section:
if(strtolower(get_class($menu)) == 'jexception') {
$menu = @JMenu :: getInstance('site');
}and change to:
if(strtolower(@get_class($menu)) == 'jexception') {
$menu = @JMenu :: getInstance('site');
}December 25, 2009 at 5:33 pm #327494<em>@JA Developer 157859 wrote:</em><blockquote>Hi there
please open templatesja_leadja_men usBase.class.php file, at about line 50, find following code section:
if(strtolower(get_class($menu)) == 'jexception') {
$menu = @JMenu :: getInstance('site');
}and change to:
if(strtolower(@get_class($menu)) == 'jexception') {
$menu = @JMenu :: getInstance('site');
}
</blockquote>
It works !Thank You!
Merry Christmas!
-
AuthorPosts
This topic contains 6 replies, has 3 voices, and was last updated by lulubug 14 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum