Forum Support

Shape 5
March 28, 2024, 03:40:12 AM *
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: Fatal Theme Error (Corrected)  (Read 920 times)
mdrothert
Jr. Member
**
Offline Offline

Posts: 199



« on: January 16, 2012, 07:53:53 PM »

Nevermind - I had missed the install content during the tutorial -sorry works great!


After install of the theme I am getting this error:

Fatal error: Call to undefined function TTS_custom_loop() in C:\wamp\www\wordpress\wordpress\wp-content\themes\s5_Political\s5_fw.php on line 82

Any idea what is causing this or how to fix it so the theme works properly?  Thanks!
« Last Edit: January 16, 2012, 08:31:34 PM by mdrothert » Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #1 on: January 17, 2012, 11:25:21 AM »

Edit "wp_vars.php" - at the very top, change
Code:
<?php

function s5_page_menu(){
  include(
'TTS_func/TTS_WP_FUNC.php');
  
TTS_custom_menu('2');
}

to

Code:
<?php
include('TTS_func/TTS_WP_FUNC.php');

function 
s5_page_menu(){
  
TTS_custom_menu('2');
}

That will solve the problem.
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
murugesh18
Jr. Member
**
Offline Offline

Posts: 1



« Reply #2 on: August 15, 2013, 06:32:33 AM »

I have purchased Political Wordpress Theme at http://www.shape5.com/wordpress/themes/political_-_february_2011_wordpress_club_theme.html and it is not working. I have installed it on http://madconline.com/ and it says Fatal error: Call to undefined function tts_custom_loop() in /home/madconli/public_html/wp-content/themes/s5_Political/s5_fw.php on line 82.


Please help.
Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #3 on: August 15, 2013, 08:39:59 AM »

The solution is outlined in my previous post.  I will be deleting your other thread as a duplicate; there is no reason to post the same thing multiple times, I am the only person providing WP support.

UPDATE:

I have updated the downloads with the fix outlined above.  Either follow the instructions in my previous post, or re-download and re-install.
« Last Edit: August 15, 2013, 08:45:43 AM by Tristan Rineer » 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.