Skip Navigation

[Resolved] Uploaded Images Not Showing In Toolset User Form

This support ticket is created 5 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 8 replies, has 2 voices.

Last updated by Luo Yang 5 years, 1 month ago.

Assisted by: Luo Yang.

Author
Posts
#1317543

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.

#1317547

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?

#1317549

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

#1317551

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/

#1317593

Here is a screen recording to update you on what I've done.

hidden link

#1317643

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.

#1318351

Thanks Luo Yang. I'll keep an eye out for your reply.

#1318679

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

#1342593

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