Forum Support

Shape 5
March 28, 2024, 07:44:18 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Mootools Problem  (Read 616 times)
yumeracing
Jr. Member
**
Offline Offline

Posts: 1



« on: December 01, 2011, 06:33:38 AM »

Hi,

After purchasing this template for Wordrpress, install went perfect, i get this message after activating the theme and visit the website:

Fatal error: Call to undefined function wp_dequeue_script() in /home/www/www.sitename.nl/www/site/wp-content/themes/s5_bridge_of_hope/s5_admin/s5_fw.php on line 17

Line 17 is:

   wp_dequeue_script( 'mootools' );

I realy dont have a clue where to start troubleshoot....
Please can anyone help me?
Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #1 on: December 01, 2011, 11:23:02 AM »

The easy solution is to comment out that line by adding 2 slashes in front of it ("//" - without the quotes).

The reason for that line of code is to prevent conflicts from multiple copies/versions of mootools running at the same time by making sure only one copy/version is active.

Option 1:
Code:
  // wp_dequeue_script( 'mootools' );

Option 2:
Code:
  /* wp_dequeue_script( 'mootools' ); */

Both will comment out that function call and prevent it from running.
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.