Title: PHP error
Last modified: March 1, 2024

---

# PHP error

 *  Resolved [Pieterjan Deneys](https://wordpress.org/support/users/nekojonez/)
 * (@nekojonez)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/php-error-634/)
 * I got this PHP error:
 * > Warning: Undefined array key “cols” in /customers/7/5/e/****/httpd.www/cultuur/
   > wp-content/plugins/press-permit-core/classes/PublishPress/Permissions/DB/Groups.
   > php on line 424 Warning: Cannot modify header information – headers already
   > sent by (output started at /customers/7/5/e/lucasgent.be/httpd.www/cultuur/
   > wp-content/plugins/press-permit-core/classes/PublishPress/Permissions/DB/Groups.
   > php:424) in /customers/7/5/e/****/httpd.www/cultuur/wp-admin/includes/misc.
   > php on line 1431
   > Warning: Cannot modify header information – headers already sent by (output
   > started at /customers/7/5/e/****/httpd.www/cultuur/wp-content/plugins/press-
   > permit-core/classes/PublishPress/Permissions/DB/Groups.php:424) in /customers/
   > 7/5/e/*****/httpd.www/cultuur/wp-includes/functions.php on line 7049
   > Warning: Cannot modify header information – headers already sent by (output
   > started at /customers/7/5/e/****/httpd.www/cultuur/wp-content/plugins/press-
   > permit-core/classes/PublishPress/Permissions/DB/Groups.php:424) in /customers/
   > 7/5/e/****/httpd.www/cultuur/wp-admin/admin-header.php on line 9
 * I went to groups.php and changed line 424 from:
 *     ```wp-block-code
       if ('all' != $args['cols']) {
       ```
   
 * to:
 *     ```wp-block-code
       if (isset($args['cols']) && 'all' != $args['cols']) {
       ```
   
 * and everything started working again. That error in my dashboard isn’t present
   anymore.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Support [Riza Maulana Ardiyanto](https://wordpress.org/support/users/rizaardiyanto/)
 * (@rizaardiyanto)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/php-error-634/#post-17466614)
 * Hi [@nekojonez](https://wordpress.org/support/users/nekojonez/)
 * Thanks for reporting this. We are aware of this issue and will fix this in the
   next release.
 *  [dakuzen](https://wordpress.org/support/users/dakuzen/)
 * (@dakuzen)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/php-error-634/#post-17467464)
 * This is affecting us as well – thank you for addressing it as quickly as possible.
 *  Plugin Support [Riza Maulana Ardiyanto](https://wordpress.org/support/users/rizaardiyanto/)
 * (@rizaardiyanto)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/php-error-634/#post-17471317)
 * [@dakuzen](https://wordpress.org/support/users/dakuzen/) Thanks, you can monitor
   the progress here: [https://github.com/publishpress/PublishPress-Permissions/issues/1064](https://github.com/publishpress/PublishPress-Permissions/issues/1064)
 *  Plugin Author [Kevin Behrens](https://wordpress.org/support/users/kevinb/)
 * (@kevinb)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/php-error-634/#post-17473912)
 * [@nekojonez](https://wordpress.org/support/users/nekojonez/) [@dakuzen](https://wordpress.org/support/users/dakuzen/)
 * The PHP Warning your reported is fixed in today’s Permissions 4.0.20 release.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘PHP error’ is closed to new replies.

 * ![](https://ps.w.org/press-permit-core/assets/icon-256x256.png?rev=3409953)
 * [PublishPress Permissions: Control User Access for Posts, Pages, Categories, Tags](https://wordpress.org/plugins/press-permit-core/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/press-permit-core/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/press-permit-core/)
 * [Active Topics](https://wordpress.org/support/plugin/press-permit-core/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/press-permit-core/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/press-permit-core/reviews/)

 * 4 replies
 * 4 participants
 * Last reply from: [Kevin Behrens](https://wordpress.org/support/users/kevinb/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/php-error-634/#post-17473912)
 * Status: resolved