WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was developing my theme on my localhost windows server, everything was ok, until I decided to transfer it to my hosting. I transfered it as all wordpress sites I have transfered before,changed live site and wordpress url,but just when I activate my theme, none of functions located in functions.php file are used, for every single fuction used from there I get Fatal error: Call to undefined function where could be the problem? Everything with the transfer is ok, cause site works like it should with twenty ten theme, also inside pages works too, because I dont use any functions from there, but in frontpage where is tim thumb used and several custom functions, it fails to use any of them, no mater what it does, it just seems functions.php file doesnt exist. Any ideas? Error log: http://pastebin.com/hdbYUjxT

Heres whole functions.php file: http://pastebin.com/ZXFX2wV5

share|improve this question

closed as not a real question by Chip Bennett, Brian Fegter, kaiser, Brady Apr 2 '12 at 14:30

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

"This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form." – Chip Bennett Mar 12 '12 at 16:13
I don't know, tried to give all the information I have, is this because I end question with "Any ideas?". Tried to be specific as possible, I would be grateful if you could tell me what info is missing and could be improved, for this and future questions :) – Eimantas Kasperiūnas Mar 12 '12 at 16:46
Well, for one, you need to list the actual error messages you're observing. Where applicable, you need to list the actual code that is causing the issue/not behaving as expected. And in general, it is helpful to indicate: 1) What you're trying to accomplish, 2) What you did, 3) What you expected to happen, and 4) What didn't happen/what happened unexpectedly. – Chip Bennett Mar 12 '12 at 18:06
You have probably a syntax error in your functions.php, a missing closing quote or something similar. – toscho Mar 12 '12 at 18:26
Can you please include your theme's index.php? That's where the error is generated, so that's where we start debugging. I notice that there's no function called news_size() in your functions.php - where is this function located? – SickHippie Mar 12 '12 at 22:59

When developing locally, always set the following in your wp-config.php to see all errors:

error_reporting( E_ALL );

/** Php error log */
@ini_set( 'log_errors',         'On');
@ini_set( 'display_errors',     'On');

define( 'WP_DEBUG',             true );
define( 'SAVEQUERIES',          true );
// file: /core_root/content/debug.log
define( 'WP_DEBUG_LOG',         true );
define( 'WP_DEBUG_DISPLAY',     true );
share|improve this answer
I understand where you're going here, but as it is, this doesn't really constitute an answer. Not flagging as such, though, because the underlying problem is that the question isn't a real question. – Chip Bennett Mar 12 '12 at 16:12
I hoped that the OP will update his Q with more insights, when showing the complete set of errors. Currently he's not knowing how to get error output, so let's just see where the Q is going. – kaiser Mar 12 '12 at 16:17
thanks for advice, but in localhost, I do not get any errors but in web server same error appears as beffore: pastebin.com/hdbYUjxT even if I delete that function call in index, after that if fails on second function and so on as long as theres any functions from functions.php – Eimantas Kasperiūnas Mar 12 '12 at 16:38

Not the answer you're looking for? Browse other questions tagged or ask your own question.