• I just installed 2.7 and tried to login for the first time. I’m getting this error:

    Fatal error: Call to undefined function add_theme_page() in /home1/citizep8/public_html/wp-content/themes/default/functions.php on line 153

    I lookup to the file and I found this at line 153:

    add_theme_page(__(‘Customize Header’), __(‘Header Image and Color’), ‘edit_themes’, basename(__FILE__), ‘kubrick_theme_page’);

    I reloaded the functions.php file and checked to see that all other files are installed. Help anyone?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Ryan S

    (@ryan_accuwebhosting)

    Make sure there is not free space before or after php tag in your function.php file. This error may occur due to free space in any of your php file…

    Re-upload the wp-admin and wp-includes folders. Sounds like something is definitely missing.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error: Call to undefined function add_theme_page()’ is closed to new replies.