• Resolved t2m

    (@t2m)


    When version 2.4.0 of the plugin is enabled, I get 500 server error with following error logging:

    PHP Fatal error: Uncaught Error: Call to a member function has_cap() on null in …/wp-content/plugins/gutenberg/lib/register.php:436
    Stack trace:
    #0 …/wp-includes/class-wp-hook.php(286): gutenberg_register_post_types(”)
    #1 …/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #2 …/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #3 …/wp-settings.php(450): do_action(‘init’)
    #4 …/wp-config.php(86): require_once(‘/home/143657.cl…’)
    #5 …/wp-load.php(37): require_once(‘/home/143657.cl…’)
    #6 …/wp-admin/admin.php(31): require_once(‘/home/143657.cl…’)
    #7 …/wp-content/plugins/gutenberg/lib/register.php on line 436

    Please help with this issue.
    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • lkraav

    (@lkraav)

    I reported it immediately after release https://github.com/WordPress/gutenberg/issues/5617

    Nobody is attending to it, as far as I can see.

    I just monkey-patched my copies for time being.

    Thread Starter t2m

    (@t2m)

    Thanks @Ikraav for your reply. It’s really sad if they are so lousy about the reported bugs and feedbacks. I hope they will devote greater attention and patch up the things as soon as possible.

    Can you share your patch to handle this issue, please?

    Thanks again!

    It seems this should be fixed in tomorrow’s release.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP Fatal error with Version 2.4.0’ is closed to new replies.