Title: WP Table Builder &#8211; Cannot modify header warning in admin panel
Last modified: March 10, 2025

---

# WP Table Builder – Cannot modify header warning in admin panel

 *  [Stas](https://wordpress.org/support/users/web13/)
 * (@web13)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/wp-table-builder-cannot-modify-header-warning-in-admin-panel/)
 * Hello,
 * I am experiencing a warning message in the WordPress admin panel when creating
   a new page. The warning appears at the top of the page but disappears once the
   editor fully loads. The message is:
 *     ```wp-block-code
       Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/wp-table-builder/v2/inc/Utils/Assets.php:78) in /wp-admin/admin-header.php on line 9
       ```
   
 * Upon investigating the issue, I found that line 78 in `Assets.php` contains the
   following code:
 *     ```wp-block-code
       echo '<script type="text/javascript">var WPTB_CFG = ' . json_encode($data) . ';</script>';
       ```
   
 * This direct `echo` statement is causing the issue because it outputs content 
   before WordPress can modify headers.
 * Could you please confirm if this is a known issue and whether a fix is planned
   for future updates? Thank you for your assistance.
 * **WordPress**: 6.7.2
   **PHP version**: 8.4.3 (Supports 64bit values)
 * Best regards,
   Stas
    -  This topic was modified 1 year, 3 months ago by [Stas](https://wordpress.org/support/users/web13/).

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Saad](https://wordpress.org/support/users/protibimbok/)
 * (@protibimbok)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/wp-table-builder-cannot-modify-header-warning-in-admin-panel/#post-18352553)
 * Hello,
 * This is not a known issue.
   Thank you for reporting this and for the insight.We
   are looking into it.

Viewing 1 replies (of 1 total)

The topic ‘WP Table Builder – Cannot modify header warning in admin panel’ is closed
to new replies.

 * ![](https://ps.w.org/wp-table-builder/assets/icon-256x256.png?rev=2404323)
 * [WP Table Builder – Drag & Drop Table Builder](https://wordpress.org/plugins/wp-table-builder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-table-builder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-table-builder/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-table-builder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-table-builder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-table-builder/reviews/)

## Tags

 * [header.php](https://wordpress.org/support/topic-tag/header-php/)

 * 1 reply
 * 2 participants
 * Last reply from: [Saad](https://wordpress.org/support/users/protibimbok/)
 * Last activity: [1 year, 3 months ago](https://wordpress.org/support/topic/wp-table-builder-cannot-modify-header-warning-in-admin-panel/#post-18352553)
 * Status: not resolved