Notifications
Clear all

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

10 Posts
2 Users
1 Likes
7,796 Views
Astghik
Posts: 5911
Admin
(@astgh)
Illustrious Member
Joined: 6 years ago

I'm sorry but there is no way to help you without having admin access. Could you please send admin login details to support[at]gvectors.com email address?

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

Can you first explain what 'Custom Fields' means and how to configure it? I have the feeling this is the culprit as I do not use/have it?

Update: I am pretty sure it is related to 'Custom Fields'. Only when I use as search 'All' or 'Custom Fields' I get this error-message.

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

Workaround for avoiding this issue is now:

Select only 'Content', 'Author' and 'Email' as "Available search fields" and use 'Content' as "Default search field".

However I would prefer to have "Default search field" for 'All' which is with this workaround not possible.

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

Dear @henrimatthijssen,

Custom fields is that you create in your "Default form" in Dashboard > Comments > Form admin page. 

e.g. new Rating field.

rating

More info here:

https://wpdiscuz.com/docs/wpdiscuz-documentation/comment-forms/

I suggest you the following temporary solution.

1. In wpDiscuz > forms > wpdFormAttr > Form.php file find this line

 public function setFormID($formID) {
add code here

2. Add the following code above it

public function getFormCustomFields () {
       return $this->formCustomFields;
 }
pass

This will be fixed in next version release.

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

This fixed the issue. Thank you very much! This thread can be closed.

Page 2 / 2
Share:
Scroll to top