Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • bugses Friend
    #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 Moderator
    #327247

    Hi bugses

    I think you are using an old version of php4. Please try to upgrade to php 4.4.9 or newer

    bugses Friend
    #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.17

    Anonymous Moderator
    #327375

    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');
    }

    bugses Friend
    #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!

    lulubug Friend
    #361629

    Thanks too, it works for JA Ruby. Solved my issue quickly 🙂

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 3 voices, and was last updated by  lulubug 13 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum