Dean
Forum Replies Created
-
Ok, I have found a fix/workaround – I wouldn’t say I have found the problem, but alas.
The error occurred on ANOTHER site of mine so I looked in to it further. For some reason, the additional image sizes haven’t been created for some images – only the original image is showing in the uploads folder. These are the images that are failing to compress and result in the error.
If I use the ‘Enable Media Replace’ plugin to simply “re-upload” the image using the original file, the additional image sizes are generated and the compression tool then works.
It would appear the ‘HTTP 400/InputMissing’ is referring to the fact that the compression plugin is expecting the file resources for the additional sizes but cannot find them because they don’t exist, which leads us to the error.
I hope this helps someone else.
Forum: Plugins
In reply to: [Gravity Forms CLI Add-On] New entries not saving/showing in formOk – the create statement was wrong. Should be:
wp gf entry create 1 --field_1=1 --field_2=Test --debug
You must use field IDs and not names/labels.
Hi @tinypng,
Thanks for your offer to help.
I have disabled ALL plugins but yours and am STILL experiencing the issue – https://www.screencast.com/t/C70UmwzYr42.
It’s completely bizarre. I have learnt over the years that issues like this – that aren’t being reported by the masses – are generally something “special” to me. I have reached out to the hosting company but there is nothing obvious from their side in their logs.
Side note: I recently encountered another unexpected issue with another tried-and-tested plugin only to discover that my hosting company had ramped up security rules, so things broke. Unfortunately, that is not the case in this situation.
I will continue to debug from my end. If you think of anything, shout.
Thanks again, Dean.
Hi again,
Ok, some more details:
- The compression works fine when new media is added individually. It seems to be an issue with the bulk optimisation or optimisation after the fact.
- That said, I did experience a random HTTP error while uploading a single image, which I haven’t been able to produce – https://www.screencast.com/t/hCpmNYLteNHt
- If I disable the plugin, upload an image and re-enable the plugin, I don’t get the option to compress the image – https://www.screencast.com/t/HL31joeK2Vs
- The error occurs for ALL images listed in the bulk optimisation screen.
- I recently upgraded WordPress core and installed plugins.
- I have, however, done the same on other sites I manage with the same plugin set and they work fine.
- I have reached out to the hosting company to see if they can shed any light on the matter from the server side, in case there’s something there.
It’s very unusual. I hope this information helps.
I am experiencing the same issue. I can confirm the file exists. I have tried compressing it from the List View of the Media Library but get the same result.
Some server details below:
WordPress: 4.7.4
Web Server: LiteSpeed
PHP: 5.6.30I am using S3 to store media via: Amazon Web Services (v1.0.2) and WP Offload S3 (v1.4) by Delicious Brains.
It has worked for me previously.
Forum: Plugins
In reply to: [Global Content Blocks] Paragraphs not inserted (continued)Hi Dave,
Thank you for your response and efforts. I have applied the latest update and can see your changes.
This will be good for future saves, but content already saved will have the formatting already removed.
As a workaround, I have added the below to my theme’s function file (in case it’s useful to someone else):
/** * When content is stored using Global Content Blocks (GCB) the paragraph <p> and * break <br /> tags are not included or rendered on display. This results in the * content from a single block appearing on the one line. * * The below filter will add the proper line breaks to ensure the display is * what's expected and consistent with the usual WordPress editor behavious. */ add_filter('gcb_block_output', 'alter_block_output'); function alter_block_output($value) { $new_value = nl2br($value); return $new_value; }
Thanks again, Dean.
Forum: Plugins
In reply to: [Enhanced Media Library] Can I use this to put folders on my web page?I would be interested in this same functionality. So…. +1.
Forum: Fixing WordPress
In reply to: can't search in media libraryI too have signed up just so I can say… thank you maorb! This has been driving me nuts (for a while). Glad I found this thread and your solution.
Forum: Fixing WordPress
In reply to: Attachment Extender ErrorsI too was experiencing the same issue. Chris over at this post (https://www.ads-software.com/support/topic/359054) has the solution.
Forum: Plugins
In reply to: [Plugin: Attachment Extender] is there an alternative to this plugin?@chris – you my friend, are a genius. Thank you!