Undefined function twentyten_the_page_number() when using twentyten as parent of child theme
|Reported by:||bennebw||Owned by:|
|Severity:||normal||Keywords:||twentyten, child themes|
Honestly, this bug has come and gone once and is now back (and won't go away), so it might be a path issue on my web host if I'm the only person in the world getting this, but just to be safe, I'm reporting it. I'm fairly certain it's not a problem with the child theme.
I have a very simple child theme consisting of a style.css and a header.php (which was copied from twentyten's header and moved around some elements).
Out of the blue, I've gotten this error twice:
Fatal error: Call to undefined function twentyten_the_page_number() in /homepages/38/d151202375/htdocs/pixoox/wp-content/themes/audacity/header.php on line 24
Here is the top of my child's style.css (which was originally copied from twentyten as well):
Theme Name: Audacity
Theme URI: http://smashly.net/themes/audactiy
Description: Audacity, a Child theme of Twenty Ten
Author: Byron Bennett
Author URI: http://www.whypad.com/
Tags: black, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style
I thought that the parent's function.php would be loaded before the child's header.php, which is why I don't see how this error is happening. I don't have a function.php in my child them.
My setup is:
Installed: WordPress 3.0-RC3-15257
Linux, PHP5, 1and1.com shared hosting server
No plugins activated
I'll attach my child theme. As mentioned, this comes and goes, so I'm not sure how to reproduce.