Title: Several warnings/errors
Last modified: July 3, 2025

---

# Several warnings/errors

 *  Resolved [locker17](https://wordpress.org/support/users/locker17/)
 * (@locker17)
 * [11 months, 1 week ago](https://wordpress.org/support/topic/several-warnings-errors/)
 * Reporting several warnings/errors:
   On CSS at the search form:1. <div id=”field_2_wrap”
   class=”bps-radio”> <label for=”field_2″ class=”bps-label”>Incorrect use of <label
   for=FORM_ELEMENT>The label’s <code class=” “>for attribute doesn’t match any 
   element <code class=” “>id. This might prevent the browser from correctly autofilling
   the form and accessibility tools from working correctly.2. On PHP when loading
   the page where the form is included:**Warning**: Undefined array key 580 in **
   wp-content\plugins\bp-profile-search\bps-template.php** on line **216**
 * **Warning**: Attempt to read property “path” on null in **wp-content\plugins\
   bp-profile-search\bps-template.php** on line **216**
   Hope you can fix it.
    -  This topic was modified 11 months, 1 week ago by [locker17](https://wordpress.org/support/users/locker17/).

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

 *  Plugin Author [Andrea Tarantini](https://wordpress.org/support/users/dontdream/)
 * (@dontdream)
 * [11 months, 1 week ago](https://wordpress.org/support/topic/several-warnings-errors/#post-18541232)
 * Hi locker17,
 * Thanks for your report! I’m going to fix the form’s code in the next BP Profile
   Search release.
 * About your second point, are you using WPML? That code only runs when BuddyPress
   Multilingual is active.
 * In that case, the only way I can help is to take a look at a testing or staging
   site of yours, but this is not allowed by this forum policy. If you are interested,
   we can continue this conversation on my BP Profile Search forum:
 * [https://dontdream.it/support/forum/bp-profile-search-forum/](https://dontdream.it/support/forum/bp-profile-search-forum/)
 *  Thread Starter [locker17](https://wordpress.org/support/users/locker17/)
 * (@locker17)
 * [11 months, 1 week ago](https://wordpress.org/support/topic/several-warnings-errors/#post-18542118)
 * No, I am on a single install.
   Have you checked that line of code 216?`$dirs =
   bps_directories ();$F->action = $dirs[bps_wpml_id ($meta['action'])]->path;$F-
   >method = $meta['method'];
    -  This reply was modified 11 months, 1 week ago by [locker17](https://wordpress.org/support/users/locker17/).
 *  Thread Starter [locker17](https://wordpress.org/support/users/locker17/)
 * (@locker17)
 * [11 months, 1 week ago](https://wordpress.org/support/topic/several-warnings-errors/#post-18542148)
 * I underwent a check by disabling all other plugins and enabling it again one 
   by one. Switched theme to twenty twenty five as well. Then I realized that the
   Template name was in red color even the searches went well. After a check of 
   the profile form and implementing it in a new test page and then switch back 
   to the old implementing page its now in blue and I think the error is gone.
 *  Plugin Author [Andrea Tarantini](https://wordpress.org/support/users/dontdream/)
 * (@dontdream)
 * [11 months ago](https://wordpress.org/support/topic/several-warnings-errors/#post-18542951)
 * Hi locker17,
 * Thanks for the update and for sharing the solution! I’m sure it will be helpful
   to other readers if they encounter the same problem.

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

The topic ‘Several warnings/errors’ is closed to new replies.

 * ![](https://ps.w.org/bp-profile-search/assets/icon.svg?rev=1568973)
 * [BP Profile Search](https://wordpress.org/plugins/bp-profile-search/)
 * [Support Threads](https://wordpress.org/support/plugin/bp-profile-search/)
 * [Active Topics](https://wordpress.org/support/plugin/bp-profile-search/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bp-profile-search/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bp-profile-search/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Andrea Tarantini](https://wordpress.org/support/users/dontdream/)
 * Last activity: [11 months ago](https://wordpress.org/support/topic/several-warnings-errors/#post-18542951)
 * Status: resolved