Title: Borgtex's Replies | WordPress.org

---

# Borgtex

  [  ](https://wordpress.org/support/users/borgtex/)

 *   [Profile](https://wordpress.org/support/users/borgtex/)
 *   [Topics Started](https://wordpress.org/support/users/borgtex/topics/)
 *   [Replies Created](https://wordpress.org/support/users/borgtex/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/borgtex/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/borgtex/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/borgtex/engagements/)
 *   [Favorites](https://wordpress.org/support/users/borgtex/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widgets Control] [search] triggers a called incorrectly notice](https://wordpress.org/support/topic/search-triggers-a-called-incorrectly-notice/)
 *  Thread Starter [Borgtex](https://wordpress.org/support/users/borgtex/)
 * (@borgtex)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/search-triggers-a-called-incorrectly-notice/#post-14582763)
 * Hey! sorry for the late response
 * After checking further, I think it only happens for the theme I’m using or due
   to another plugin as gtsiokos suggested, and only when using it to control sidebar
   visibility; works ok for the widgets.
    Thanks for your help, anyway.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YITH WooCommerce Ajax Product Filter] Wrong page when search string is empty](https://wordpress.org/support/topic/wrong-page-when-search-string-is-empty/)
 *  Thread Starter [Borgtex](https://wordpress.org/support/users/borgtex/)
 * (@borgtex)
 * [5 years ago](https://wordpress.org/support/topic/wrong-page-when-search-string-is-empty/#post-14426322)
 * Oh I see. I suppose i’ll have to look into the source code to find the problem
   with the ajax call and make the corrections to make it work for my installation.
 * Thanks anyway
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Manual Related Posts] Function array_combine () bug from Baw Manual Related Posts Plugin](https://wordpress.org/support/topic/function-array_combine-bug-from-baw-manual-related-posts-plugin/)
 *  [Borgtex](https://wordpress.org/support/users/borgtex/)
 * (@borgtex)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/function-array_combine-bug-from-baw-manual-related-posts-plugin/#post-5419711)
 * You’ll have to edit two files in /wp-content/plugins/baw-manual-related-posts/
   inc/
 * **bothend-noajax.inc.php**
 * comment or delete this block of code (lines 111 to 116):
 * _ if ( isset( $sitepress ) && null === $langs ) {
    $langs = $sitepress->get\_languages(“
   en’ AND active=’1”); $codes = wp\_list\_pluck( $langs, ‘code’ ); $langs = wp\
   _list\_pluck( $langs, ‘default\_locale’ ); $langs = array\_combine( $codes, $
   langs ); }
 * **setting_fields.inc.php**
 * comment or remove this code (lines 39 to 43)
 * _ if ( isset( $sitepress ) ) {
    $langs = $sitepress->get\_languages( “en’ AND
   active=’1” ); } else { $langs = array( array( ‘default\_locale’=>get\_locale()));}
 * an put this one instead:
    _$langs = array( array( ‘default\_locale’=>get\_locale()));_
 * Don’t worry about the deleted code. It has an error in the query (maybe it worked
   in previous wordpress versions) so it always returns an empty array.

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