Support » Plugin: WP Security Audit Log » Call to a member function is_block_editor() on null

  • Resolved strarsis

    (@strarsis)


    When opening the setup assistant page of this plugin, page doesn’t load and PHP error occurs:
    Call to a member function is_block_editor() on null [...]

    /srv/www/example.com/releases/20190603210939/web/app/plugins/gutenberg/lib/widgets.php verursacht. Fehlermeldung: Uncaught Error: Call to a member function is_block_editor() on null in /srv/www/example.com/releases/20190603210939/web/app/plugins/gutenberg/lib/widgets.php:15
    Stack trace:
    #0 /srv/www/example.com/releases/20190603210939/web/app/plugins/gutenberg/lib/widgets.php(23): gutenberg_is_block_editor()
    #1 /srv/www/example.com/releases/20190603210939/web/wp/wp-includes/class-wp-hook.php(286): gutenberg_block_editor_admin_print_styles('')
    #2 /srv/www/example.com/releases/20190603210939/web/wp/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #3 /srv/www/example.com/releases/20190603210939/web/wp/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
    #4 /srv/www/example.com/releases/20190603210939/web/app/plugins/wp-security-audit-log/classes/Views/SetupWizard.php(231): do_action('admin_print_sty...')
    #5 /srv/www/example.com/releases/20190603210939/web/app/plugins/wp-security-audit-log/classes/Views/SetupWizard.php(212): WSAL_Views_SetupWizard->setup_page_header()
    #6 /srv/www/example.com/releases/20190603210939/w[...]

    Related: https://github.com/WordPress/gutenberg/issues/15209

    • This topic was modified 3 months, 2 weeks ago by  strarsis.
Viewing 1 replies (of 1 total)
  • Plugin Contributor robertabela

    (@robert681)

    Thank you for using our plugin @strarsis

    What do you mean by setup assistant page? Do you mean the first page of the wizard, when you first install the plugin?

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.