Looking at this code snippet we send the error message to users, "An unknown error has occurred." if optimization fails but the server returns no error message.
We offer the same solutions for these errors (increase WP memory, increase PHP timeout, use GD, etc) as for cURL Error 28 / timeout issues, and I think it could be helpful to send an error message to the user other than “Unknown error occurred.” Something like the following could be more useful.
Which we could link to the Optimization is Stuck page and provide a section in there about Unknown Errors. Or we could link to a separate page, whatever would be best.
<td colspan="5">An unknown error occurred: <a href="https://imagify.io/documentation/optimization-is-stuck/" rel="noopener" target="_blank">More info and possible solutions</a></td>
Looking at this code snippet we send the error message to users, "An unknown error has occurred." if optimization fails but the server returns no error message.
We offer the same solutions for these errors (increase WP memory, increase PHP timeout, use GD, etc) as for cURL Error 28 / timeout issues, and I think it could be helpful to send an error message to the user other than “Unknown error occurred.” Something like the following could be more useful.
Which we could link to the Optimization is Stuck page and provide a section in there about Unknown Errors. Or we could link to a separate page, whatever would be best.
<td colspan="5">An unknown error occurred: <a href="https://imagify.io/documentation/optimization-is-stuck/" rel="noopener" target="_blank">More info and possible solutions</a></td>