Notifications
Clear all

Exception in Advanced Member Search v1.0.3

11 Posts
2 Users
0 Reactions
7,313 Views
Posts: 7
Customer
Topic starter
(@pxt-wpforo-2018)
Member
Joined: 7 years ago

Dear wpForo,

Thank you for your excellent free plugin, which I am very happy with. The User Custom Fields addon that I have just purchased has multiple errors in its member search page. I am sure that if the first error were fixed, then your usual testing of the search results would shake out the remaining problems.

I am getting this error message:

Fatal error: Call to undefined method WpforoUcfDBManager::searchMembers() in /home/kwamukyw/public_html/wp-content/plugins/wpforo-user-custom-fields/includes/helper.php on line 439

I am using versions...

wpForo plugin version = 1.4.3

wpForo User Custom Fields version = 1.0.3

 

I see in another thread that there is a typo in the php code

searhMembers instead of searchMembers in dbManager.php

 When I correct that, I no longer get this exception, but then there are bugs in the search results.

This is what I did to create the issue:

  • In the User Fields Manager, create a custom text field
  • Add the custom field to the Account form and Member search form
  • Set the Member Search Type to Filter
  • In a profile, in the account form, set a value for the text field
  • In the Member search form, search on *any* field, or even with fields blank
  • Then the exception above is reported

 

 

10 Replies
Posts: 4214
 Tom
Admin
(@tomson)
Famed Member
Joined: 10 years ago

Hi pxt-wpforo-2018

This problem is already fixed in 1.0.4 version. Please update.

Reply
Posts: 7
Customer
Topic starter
(@pxt-wpforo-2018)
Member
Joined: 7 years ago

Thank you Tom. I have updated the plugin and I see that the exception no longer shows. I'll retest the other scenarios I found problems with, which seemed to relate to having default fields in the filter search, and some other problems I saw, so please don't close this thread. I appreciate your work and I'm excited to be testing my new addon again.

Reply
Posts: 7
Customer
Topic starter
(@pxt-wpforo-2018)
Member
Joined: 7 years ago

Now that the exception has gone, I can see the issues in the search results.

  • Set Members Search Type to Filter
  • Reset all custom fields
  • In the members search page, filtering by Display Name "Fred" returns "Fred", OK
  • Now create a custom field of data type Text
  • In the members search page, filtering by Display Name "Fred" returns "Fred", OK
  • Now add the custom field to the members search page
  • In the members search page, filtering by Display Name "Fred" returns all records

When there are both default fields and custom fields in the members search page, the search produces too many records.

Reply
Posts: 4214
 Tom
Admin
(@tomson)
Famed Member
Joined: 10 years ago

Ok, thank you, we'll check this as well.

Reply
Page 1 / 3
Share:
Scroll to top