Skip to content

Breaks the widgets page in the backend #2

@twwn

Description

@twwn

Oddly, with the plugin active (in mu-plugins), the widget page (wp-admin/widgets.php) breaks almost completely: Wordpress will try to load the ones already set up, but just fail.

The log contains lots & lots of:

PHP Warning:  Cannot modify header information - headers already sent by (output started at /srv/wp-content/mu-plugins/bye-bye-pingback.php:61) in /srv/wp-includes/rest-api/class-wp-rest-server.php on line 1717
PHP Warning:  Cannot modify header information - headers already sent by (output started at /srv/wp-content/mu-plugins/bye-bye-pingback.php:61) in /srv/wp-includes/rest-api.php on line 715
PHP Warning:  Cannot modify header information - headers already sent by (output started at /srv/wp-content/mu-plugins/bye-bye-pingback.php:61) in /srv/wp-includes/rest-api.php on line 716
PHP Warning:  Cannot modify header information - headers already sent by (output started at /srv/wp-content/mu-plugins/bye-bye-pingback.php:61) in /srv/wp-includes/rest-api.php on line 717
PHP Warning:  Cannot modify header information - headers already sent by (output started at /srv/wp-content/mu-plugins/bye-bye-pingback.php:61) in /srv/wp-includes/rest-api.php on line 718

Disabling / removing the plugin makes the widgets page work again.

using WP 6.0, PHP 8.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions