Title: Missing $classes array initialization
Last modified: August 30, 2016

---

# Missing $classes array initialization

 *  [doublesharp](https://wordpress.org/support/users/doublesharp/)
 * (@doublesharp)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/missing-classes-array-initialization/)
 * Hi,
 * In /lib/class_core.php on line 801 you should initialize the `$classes` array
   to prevent warnings.
 * `$classes = array( 'wp_crm' );`
 * You can then remove the code below for the first case statement:
 * `$classes[ ] = 'wp_crm';`
 * Thanks!
 * [https://wordpress.org/plugins/wp-crm/](https://wordpress.org/plugins/wp-crm/)

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

 *  Plugin Contributor [Anton Korotkoff](https://wordpress.org/support/users/anton-korotkoff/)
 * (@anton-korotkoff)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/missing-classes-array-initialization/#post-6406785)
 * Hello,
 * thank you for pointing. We will check that.
 *  Plugin Contributor [Anton Korotkoff](https://wordpress.org/support/users/anton-korotkoff/)
 * (@anton-korotkoff)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/missing-classes-array-initialization/#post-6406793)
 * Fixed that. Thanks.

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

The topic ‘Missing $classes array initialization’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-crm_c36510.svg)
 * [WP-CRM - Customer Relations Management for WordPress](https://wordpress.org/plugins/wp-crm/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-crm/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-crm/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-crm/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-crm/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-crm/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Anton Korotkoff](https://wordpress.org/support/users/anton-korotkoff/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/missing-classes-array-initialization/#post-6406793)
 * Status: not resolved