1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

fatal error when installing theme

Discussion in 'Joomla' started by saturn100, Jul 6, 2014.

  1. #1
    I am currently working with joomla and finding it very anoying
    I had a problem with the back end so had to reinstall it
    I backed up my theme but when I went to put it back in and use it I got this error

    Fatal error: Call to undefined method stdClass::replaceMootools() in /mounted-storage/....../mysite/joomla/templates/my_template/config.php on line 54

    I have been asked to move the theme from version 1.5 to 2.5 and its causing me nothing but difficulty

    line 54 is this

    $template->replaceMootools();

    and some other lines around it include

    // set mootools javascript lib
    if ($this->params->get('load_mootools')) {
    $template->replaceMootools();
    }

    any ideas what the problem is
     
    saturn100, Jul 6, 2014 IP
  2. Kenneth Pabon

    Kenneth Pabon Active Member

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    66
    #2
    maybe the mootools you have from template 1.5 is not compatible in 2.5 I suggest to disable that part and use the mootools of joomla. since joomla have default mootools.
     
    Kenneth Pabon, Jul 27, 2014 IP