Title: Plugin not working
Last modified: February 20, 2019

---

# Plugin not working

 *  Resolved [theroom10](https://wordpress.org/support/users/theroom10/)
 * (@theroom10)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/plugin-not-working-728/)
 * The plugin is not working. I have a field named ‘Referencia’ that have a fake
   ID to show into the frontend page. I have more than 1200 properties in a CPT 
   with this field. So i need to search a certain property with this field named‘
   Referencia’ but i cant.
 * Attached captures:
    Properties panel with all properties [https://gyazo.com/b43815f198c27986ac504beba25446d2](https://gyazo.com/b43815f198c27986ac504beba25446d2)
   Inside a property with ‘Referencia’ field fill with SI1137 [https://gyazo.com/0f17009ff877149cd2f91abf2dd24542](https://gyazo.com/0f17009ff877149cd2f91abf2dd24542)
   The search with string ‘SI1137’ with empty result: [https://gyazo.com/333d1b1e3f5681fa0299013794ea8d30](https://gyazo.com/333d1b1e3f5681fa0299013794ea8d30)
   ACF Better search Settings: [https://gyazo.com/f73a9aedeeaa77610d381344c6602580](https://gyazo.com/f73a9aedeeaa77610d381344c6602580)
   ACF Field Settings: [https://gyazo.com/079e370508e18e1a6f225cddf7fb2402](https://gyazo.com/079e370508e18e1a6f225cddf7fb2402)
 * Wordpress version: 5.0.3
    ACF Better Search version: 3.1.2 ACF Pro version: 5.7.12
 * I hope your answer ASAP. We love your plugin. Regards!

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/plugin-not-working-728/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-not-working-728/page/2/?output_format=md)

 *  Plugin Author [Mateusz Gbiorczyk](https://wordpress.org/support/users/mateuszgbiorczyk/)
 * (@mateuszgbiorczyk)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/plugin-not-working-728/#post-11228278)
 * Hi [@theroom10](https://wordpress.org/support/users/theroom10/),
 * Can you give me database dump with posts and postmeta tables? Please delete all
   private data from them.
 *  Thread Starter [theroom10](https://wordpress.org/support/users/theroom10/)
 * (@theroom10)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/plugin-not-working-728/#post-11229882)
 * [https://wetransfer.com/downloads/172007ffafd56b68db250a7688352b7e20190221071229/9e4bdade3fb20df0c64f5d202fcb89ab20190221071229/5a2b6f?utm_campaign=WT_email_tracking&utm_content=general&utm_medium=download_button&utm_source=notify_recipient_email](https://wetransfer.com/downloads/172007ffafd56b68db250a7688352b7e20190221071229/9e4bdade3fb20df0c64f5d202fcb89ab20190221071229/5a2b6f?utm_campaign=WT_email_tracking&utm_content=general&utm_medium=download_button&utm_source=notify_recipient_email)
 *  Thread Starter [theroom10](https://wordpress.org/support/users/theroom10/)
 * (@theroom10)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/plugin-not-working-728/#post-11235384)
 * Hi again,
 * You know something about my problem? My client is a little annoyed because it’s
   hard for him to find properties and need a solution ASAP.
 * I you can’t do anything, please tell it to me and i find another solution.
 * Thanks again! Regards!
 *  Plugin Author [Mateusz Gbiorczyk](https://wordpress.org/support/users/mateuszgbiorczyk/)
 * (@mateuszgbiorczyk)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/plugin-not-working-728/#post-11235518)
 * Hi [@theroom10](https://wordpress.org/support/users/theroom10/),
 * Forgive for the waiting time. Understand me too – I develop my plugin in my spare
   time for pleasure. I am not able to be available 24/7.
 * Thanks for the message. I analyzed the dump of your database. You have the field
   value saved in the wrong way. A correctly added ACF field value in the database
   has 2 records.
 * The first one stores the value:
 *     ```
       meta_id: 10000
       post_id: 100
       meta_key: field_name
       meta_value: your-value
       ```
   
 * The second one stores information about the field (meta_id has increased by 1):
 *     ```
       meta_id: 10001
       post_id: 100
       meta_key: _field_name
       meta_value: field _ *************
       ```
   
 * The above ID and meta_key are random – just an example. You are missing 2 records–
   we have only one entry from meta_key = “reference” and there is no second from
   meta_key = “_referencia”. Look at other fields, e.g. “venta”, that are correctly
   saved.
 *  Thread Starter [theroom10](https://wordpress.org/support/users/theroom10/)
 * (@theroom10)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/plugin-not-working-728/#post-11235604)
 * I think this is not true,
 * Here is a capture of my database:
 * [https://gyazo.com/a8feac986d8a242a4b1b83e76725fbf7](https://gyazo.com/a8feac986d8a242a4b1b83e76725fbf7)
 *  Plugin Author [Mateusz Gbiorczyk](https://wordpress.org/support/users/mateuszgbiorczyk/)
 * (@mateuszgbiorczyk)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/plugin-not-working-728/#post-11235671)
 * In my database dump I don’t have post with 15293 post_id.
 * This is the post you wrote about:
 * > [View post on imgur.com](https://imgur.com/fcJagxS)
 * One of resulsts (has meta_key with prefix “_”) should have meta_id bigger by 
   1 than the other. If this is not the case then you have an incorrect database
   structure – delete this field and add it again.
 *  Thread Starter [theroom10](https://wordpress.org/support/users/theroom10/)
 * (@theroom10)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/plugin-not-working-728/#post-11243795)
 * I deleted the field and added it again and still not working. Its posible that
   another fields with the same problem are interfering in the search of ‘referencia’
   field? What should I do?
 * Thanks!
 *  Plugin Author [Mateusz Gbiorczyk](https://wordpress.org/support/users/mateuszgbiorczyk/)
 * (@mateuszgbiorczyk)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/plugin-not-working-728/#post-11245714)
 * Can you give me again database dump with posts and postmeta tables? Please delete
   all private data from them.
 *  Thread Starter [theroom10](https://wordpress.org/support/users/theroom10/)
 * (@theroom10)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/plugin-not-working-728/#post-11248502)
 * Here is the dump:
 * [https://we.tl/t-UMBH7BifVe](https://we.tl/t-UMBH7BifVe)
    -  This reply was modified 7 years, 3 months ago by [theroom10](https://wordpress.org/support/users/theroom10/).
 *  Plugin Author [Mateusz Gbiorczyk](https://wordpress.org/support/users/mateuszgbiorczyk/)
 * (@mateuszgbiorczyk)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/plugin-not-working-728/#post-11248724)
 * What isID ofpost you want to find and field slug?
 *  Thread Starter [theroom10](https://wordpress.org/support/users/theroom10/)
 * (@theroom10)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/plugin-not-working-728/#post-11248770)
 * The name of the field is ‘referencia’. The key is: ‘field_5c739354aa751’.
 * I don’t understand about what ID you mean. I want the ID of any Property which
   I search using this custom field.
 * For example, if I search for ‘referencia’ = SI1122, I want the search to show
   that property. If I search for ‘referencia’ = SI1130, I want the search to show
   that property. And so on.
 * This field ‘referencia’ is always a unique string, so the search should only 
   display this one property with this value of ‘referencia’.
 *  Plugin Author [Mateusz Gbiorczyk](https://wordpress.org/support/users/mateuszgbiorczyk/)
 * (@mateuszgbiorczyk)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/plugin-not-working-728/#post-11253461)
 * Listen to me, if I do not get information I need, I will not help you. I am asking
   what is ID of post you want to find by entering phrase into the search engine(
   and what a phrase) – just answer my question.
 * Please give me:
    – ID of post you want to find – phrase typed in search
 *  Thread Starter [theroom10](https://wordpress.org/support/users/theroom10/)
 * (@theroom10)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/plugin-not-working-728/#post-11253490)
 * In the dump there are 2 .sql files:
    – joswv_postmeta.sql (postmeta) – joswv_posts.
   sql (posts) But here is the complete sql dump: [https://we.tl/t-sFqQ05OpfZ](https://we.tl/t-sFqQ05OpfZ)
 * The ID that i want is the custom field named ‘referencia’. The info that you 
   want is here:
 * – ID of post i want to find: anyone
    – phrase typed in search: anyone that appear
   in ‘referencia’ custom field.
 * I don want certain post. The search don’t work in any case that i do. But if 
   you want an example here is. Example:
    -Post id that i want: 15085 -Phrase typed
   in search: SI1132
 *  Plugin Author [Mateusz Gbiorczyk](https://wordpress.org/support/users/mateuszgbiorczyk/)
 * (@mateuszgbiorczyk)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/plugin-not-working-728/#post-11253531)
 * You have a bad structure for some fields:
 * > [View post on imgur.com](https://imgur.com/wp51YJE)
 * For you field we have 2 records in postmeta table – one of them (has meta_key
   with prefix “_”) should have meta_id bigger by 1 than the other. If this is not
   the case then you have an incorrect database structure – delete this field and
   add it again.
 * This is an example of correct structure for another post:
 * > [View post on imgur.com](https://imgur.com/WH4gIPe)
 *  Thread Starter [theroom10](https://wordpress.org/support/users/theroom10/)
 * (@theroom10)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/plugin-not-working-728/#post-11253570)
 * Yes I know. But I already deleted the field and I added it again. And that dump
   is after do this. What should I do now?

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/plugin-not-working-728/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-not-working-728/page/2/?output_format=md)

The topic ‘Plugin not working’ is closed to new replies.

 * ![](https://ps.w.org/acf-better-search/assets/icon-256x256.png?rev=2636287)
 * [ACF: Better Search](https://wordpress.org/plugins/acf-better-search/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/acf-better-search/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/acf-better-search/)
 * [Active Topics](https://wordpress.org/support/plugin/acf-better-search/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/acf-better-search/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/acf-better-search/reviews/)

 * 19 replies
 * 2 participants
 * Last reply from: [theroom10](https://wordpress.org/support/users/theroom10/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/plugin-not-working-728/page/2/#post-11253984)
 * Status: resolved