Skip Navigation

[Resolved] CRED newer than 1.9 breaks ability to upload image on post form

This support ticket is created 6 years, 11 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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 1 reply, has 2 voices.

Last updated by Nigel 6 years, 11 months ago.

Assisted by: Nigel.

Author
Posts
#592346
Screen Shot 2017-11-22 at 11.35.03 PM.png

I am trying to: upload a featured image (or any image) on a post form

Link to a page where the issue can be seen: hidden link (you need to login to see this form)

When logged in, choose "Create a Seed Packet" from the "Seed Packets" menu then try uploading a jpeg file with the "Choose File" button under "Seed Packet Image" label. You should get the error dialog.

I expected to see: a successful upload of a featured image to the form

Instead, I got: a message that the upload failed

This worked fine on CRED 1.9. I updated to 1.9.3.1 and it no longer works. The problem occurs on hosted site and on localhost where I only have Toolset plugins installed with PHP 7 and Toolset Starter theme. Localhost allows plenty of PHP memory (not sure about hosted limits) so I don't think that is the problem. Uploading from admin screens works fine. It is just the CRED forms that fail.

#592504

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Scott

I just tested this locally and didn't experience any problems.

Can you please check the browser console for errors, and also your PHP logs.

If you haven't already, turn on the debug log by editing your wp-config.php file and change the line with WP_DEBUG like so:

define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);

That will create a debug.log file in your wp-content directory which you can examine in any text editor. Try visiting the page with the form and uploading an image again, then inspect the log. If you don't find the debug.log file it means it didn't generate any warnings or errors.

Let me know what you find.