Following on from: https://toolset.com/forums/topic/cred-form-emails/page/8/
I updated the two files in the Erratum, but when I went to Users to change the package... I can see 'Capabilities' (refer image) and I received this error:
Fatal error: Uncaught Error: Call to undefined method CRED_User_Forms_Model::getPostFields() in /home/mypath/public_html/stagingsite/wp-content/plugins/cred-frontend-editor/application/controllers/notification_manager.php:199 Stack trace: #0 /home/mypath/public_html/stagingsite/wp-content/plugins/cred-frontend-editor/application/controllers/notification_manager.php(236): CRED_Notification_Manager->get_attached_data(107, 143, Array, true, true) #1 /home/mypath/public_html/stagingsite/wp-content/plugins/cred-frontend-editor/application/controllers/notification_manager.php(565): CRED_Notification_Manager->update(107, 143) #2 /home/mypath/public_html/stagingsite/wp-includes/class-wp-hook.php(298): CRED_Notification_Manager->checkUserForNotifications(107, Object(WP_User)) #3 /home/mypath/public_html/stagingsite/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #4 /home/mypath/public_html/stagingsite/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #5 /home/mypath in /home/mypath/public_html/stagingsite/wp-content/plugins/cred-frontend-editor/application/controllers/notification_manager.php on line 199
Seeing the capability on the single User Edit Screen is normal.
The error, where does that appear?
I do not see this locally.
Can you explain me how to replicate this error?
Hi Beda, on my live site I don't see the capability (when in the Users back end).
I get the error when updating a custom user field when in the back end (Package in my case). Users > Edit.
This error seems related but is not the same:
https://toolset.com/errata/cred-user-fields-control-is-failing-due-to-a-undefined-property/
I cannot replicate your issue locally.
Please can you show me this on a Snapshot?
When I try to replicate this on a clean install I cannot.
I have problems with Duplicator now due to the size of my site. If you send another private reply I can send you log in credentials to a staging site where I applied the fix that seemed to cause this issue. Hope that helps.
OK.
Could you eventually add a database dump and a link to a zipped up wp-content/plugins and themes folder?
I can with this replicate your site as well.
Thank you!