• Resolved MiKeZZa

    (@mikezza)


    Hello,

    I’ve the well known empty page in wp-admin problem. I’ve tried to delete al the blank spaces, disabled plugins, tried the default theme and so on. This all doesn’t work…

    After adding:
    error_reporting(E_ALL); ini_set('display_errors', 1);

    I get:
    Fatal error: Call to undefined function get_editor_stylesheets() in /home/bynique/domains/site.com/public_html/wp-includes/class-wp-editor.php on line 53 on a page with the editor in it and after trying to download the wordpress update the page is empty, even no errors.

    Anybody having an idea about what’s going on here?

Viewing 9 replies - 1 through 9 (of 9 total)
  • juggledad

    (@juggledad)

    did this happen after an upgrade of WP? If so, I assume the update timed out and everything didn’t get installed.

    take a look at teh file wp-includes/class-wp-editor.php and see how many lines it is. In 4.1.1 it is 1500 lines long and you should also see the file wp-includes/theme.php and the function is on line 1413 in that file.

    Thread Starter MiKeZZa

    (@mikezza)

    It happend when I tried to update…

    The class-wp-editor.php is 1500 lines, but the last one is empty. Is this right?

    And 1413 is in theme.php is ‘flex-width’ => false, in

    $defaults = array(
    				'default-image' => '',
    				'random-default' => false,
    				'width' => 0,
    				'height' => 0,
    				'flex-height' => false,
    				'flex-width' => false,
    				'default-text-color' => '',
    				'header-text' => true,
    				'uploads' => true,
    				'wp-head-callback' => '',
    				'admin-head-callback' => '',
    				'admin-preview-callback' => '',
    			);

    What did you expect on 1413?

    juggledad

    (@juggledad)

    The class-wp-editor.php is 1500 lines, but the last one is empty. Is this right?

    yes it is blank

    the lines you show are lines 1504->1517 in wordpress version 4.1.1
    what version of WP are you on? look in wp-includes/version.php

    Thread Starter MiKeZZa

    (@mikezza)

    3.9.1. it is. Wanted to update to 4.1 when the problems appeared…

    juggledad

    (@juggledad)

    My guess is the update timed out on your host and you got a partial update, You can try it again or use FTP and do a manual update (safer)

    Thread Starter MiKeZZa

    (@mikezza)

    And to which version? Directly to 4.1.1?

    juggledad

    (@juggledad)

    That’s what I would do.

    Thread Starter MiKeZZa

    (@mikezza)

    Hell yeah, this worked for me. Great!!!

    juggledad

    (@juggledad)

    Great glad you got it working! Please mark the thread as resolved.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Empty page in wp-admin’ is closed to new replies.