I've created a form for users that allows them to upload images but I can't see the images after they've been uploaded.
Hello,
Please elaborate the question with more details:
Is it a custom user image field?
Is it a registration user form?
Where do you want to see the uploaded image?
It is a custom user field image field type that can allow for multiple instances of the field. Also on upload I get this error. I want user (through a form I've created with CRED forms) to be able to update or add more images to that repeatable field. I would then like to show the images uploaded by the user to be able to show on the user's profile which I tried the built in block but it doesn't seem to allow me to choose a user field. I just uploaded an image and I'm now getting this error:
Warning: md5() expects parameter 1 to be string, array given in /home/forge/jobahunt.com/public/wp-content/plugins/cred-frontend-editor/application/models/field/wptoolset/class.abstract_credfile.php on line 131
I have tried it in my localhost with a fresh wordpress installation + the latest version of Toolset plugins, but there isn't similar problem in my localhost, it works fine.
Please try these in your website:
1) In case it is a compatibility problem, please deactivate all other plugins, and switch to wordpress default theme 2019, deactivate all custom PHP/JS code snippets, and test again
2) Also check if there is otherPHP/JS error in your website:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/
3) If the problem still persists, please provide database dump file(ZIP file) of your website, also point out the form URL and form URL, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/
Here is a screen recording to update you on what I've done.
versteckter Link
Thanks for the video, I am able to duplicate the same problem in my localhost, it happens on user edit form and when there are images in that repeating image field.
I have escalated this issue, will update here if there is any news.
Thanks Luo Yang. I'll keep an eye out for your reply.
It escalated to our developers, see the errata:
https://toolset.com/errata/repeating-user-image-fields-throw-an-error-and-cannot-be-used-on-toolset-user-forms/
Our developers are working on it, currently, you can try to downgrade to Toolset Forms 2.4, you can download it here:
https://toolset.com/download/toolset-cred/#changelog
The Toolset Forms version 2.5.1 is released, you can download it here:
https://toolset.com/account/downloads/
Please test it and feedback if the problem is fixed, thanks