asiccan
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Fatal Error trying to log into DashboardBelow is a snippet of the code. Line 1401 is the one that (I hope) shows in bold. I’ve copied it out here as well:
require_once( ABSPATH . ‘wp-admin/custom-header.php’ );* Registers the internal custom header and background routines.
*
* @since 3.4.0
* @access private
*/
function _custom_header_background_just_in_time() {
global $custom_image_header, $custom_background;if ( current_theme_supports( ‘custom-header’ ) ) {
// In case any constants were defined after an add_custom_image_header() call, re-run.
add_theme_support( ‘custom-header’, array( ‘__jit’ => true ) );$args = get_theme_support( ‘custom-header’ );
if ( $args[0][‘wp-head-callback’] )
add_action( ‘wp_head’, $args[0][‘wp-head-callback’] );if ( is_admin() ) {
require_once( ABSPATH . ‘wp-admin/custom-header.php’ ); $custom_image_header = new Custom_Image_Header( $args[0][‘admin-head-callback’], $args[0][‘admin-preview-callback’] );
}
}Following is a link to the file in my Dropbox. You can download the whole file, in case you feel up to it. To find line 1404 you might be able to get there quickly by searching for “ABSPATH”. Sure appreciate your help in any case.
https://www.dropbox.com/s/c53nb3ebimv5iog/theme.phpThanks, Tammo
Forum: Fixing WordPress
In reply to: Fatal Error trying to log into DashboardI have found the file. Now the challenge is how to fix it :):)
Forum: Fixing WordPress
In reply to: Fatal Error trying to log into DashboardThanks Evan
where can I find that file “theme.php” to fix it? Also wondering what changed that it now doesn’t work anymore.