Notifications
Clear all

[Solved] Call to undefined method wpdFormAttr\Form::getFormCustomFields()

10 Posts
2 Users
1 Likes
7,708 Views
Posts: 27
Customer
Topic starter
(@henrimatthijssen)
Member
Joined: 6 years ago

wpDiscuz Comment Search Versie: 1.1.9 on latest WordPress 4.9.5 with Avada Theme 5.5

In "Available search fields" I have seleced 'All', 'Content', 'Author' and 'Email'. Further I have set "Default search field" to 'All'.

When I press the 'search settings' button I notice that initially only 'Content', 'Author' and 'Email' is shown. I would have expected the 'All' selection as well.

When I search for a phrase I get an error:

Error thrown
Call to undefined method wpdFormAttr\Form::getFormCustomFields()

When I select in 'search settings' explicitly a field it works again. However funny enough when I check the 'search settings' after this it displays different content ('All', 'Author' and 'Email').

I have the feeling you have a bug in your code for populating the 'search settings'.

9 Replies
Astghik
Posts: 5872
Admin
(@astgh)
Illustrious Member
Joined: 6 years ago

Hi HenriMatthijssen,

Please navigate to Dashboard > Comments > Settings > Addons > Comment Search admin page, click on "Reset Options" button. 

resent options

Then delete all caches and check it again. 

 

 

Posts: 27
Customer
Topic starter
(@henrimatthijssen)
Member
Joined: 6 years ago

I tried that 'reset options' (lost all my translations, color settings, etc). Further I deleted my Supercache, Pagespeed cache and all caches of my web-browsers with CCleaner, but I am still getting the same results as above.

First indication that it is wrong is already that despite I have enabled in "Available search fields" the settings 'All', 'Content', 'Author' and 'Email' and as "Default search field" set 'All', that when I press the 'search settings' button on my blog I notice that initially only 'Content', 'Author' and 'Email' is shown in dropdown box. I would have expected the 'All' selection as well here.

Astghik
Posts: 5872
Admin
(@astgh)
Illustrious Member
Joined: 6 years ago

1. 

 Error thrown
Call to undefined method wpdFormAttr\Form::getFormCustomFields()

We need to know is this issue fixed?

2. 

First indication that it is wrong is already that despite I have enabled in "Available search fields" the settings 'All', 'Content', 'Author' and 'Email' and as "Default search field" set 'All', that when I press the 'search settings' button on my blog I notice that initially only 'Content', 'Author' and 'Email' is shown in dropdown box. I would have expected the 'All' selection as well here.

This is the addon working logic. If you select one of these as value of  Default search field, it will not be shown  from frontend. 

Posts: 27
Customer
Topic starter
(@henrimatthijssen)
Member
Joined: 6 years ago

1. No I still have the same error. It seems only happening when using 'All'. Is this related to 'Custom Fields' which I have de-selected. Can you further explain what 'Custom Fields' means and how to configure it? See attached screenshot for the error:

screenshot.jpg

2. OK. Understood

Page 1 / 2
Share:
Scroll to top