Error Warning: Interlace handling should be turned on when using png_read_image in Drupal

Job ID: 32888585

Budget: €30 – €250 EUR

When I try to save a node / article i get this error sometime. It does not happen all the time. I want to understand how where this error comes from.

- Drupal core 8.9.19
- PHP-versie: 7.3.33
- Website: https://surinamenieuwscentrale.com

Request is for solutions that will be implemented by our Admin. Freelancers are expected to watch and give instructions during the deployment. Access to live site is not given.
=================================================================================
Warning: imagecreatefrompng(): gd-png: libpng warning: Interlace handling should be turned on when using png_read_image in Drupal\system\Plugin\ImageToolkit\GDToolkit->load() (line 197 of core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php).
Drupal\system\Plugin\ImageToolkit\GDToolkit->load() (Line: 154)
Drupal\system\Plugin\ImageToolkit\GDToolkit->getResource() (Line: 58)
Drupal\system\Plugin\ImageToolkit\Operation\gd\Resize->execute(Array) (Line: 86)
Drupal\system\Plugin\ImageToolkit\Operation\gd\Scale->execute(Array) (Line: 172)
Drupal\Core\ImageToolkit\ImageToolkitOperationBase->apply(Array) (Line: 124)
Drupal\Core\ImageToolkit\ImageToolkitBase->apply('scale', Array) (Line: 142)
Drupal\Core\Image\Image->apply('scale', Array) (Line: 198)
Drupal\Core\Image\Image->scale(100, 100, ) (Line: 24)
Drupal\image\Plugin\ImageEffect\ScaleImageEffect->applyEffect(Object) (Line: 324)
Drupal\image\Entity\ImageStyle->createDerivative('public://feed_images/be81043cd057cf3ce90efb6dc42f1615.png', 'public://styles/thumbnail/public/feed_images/be81043cd057cf3ce90efb6dc42f1615.png') (Line: 21)
Drupal\imageapi_optimize\Entity\ImageStyleWithPipeline->createDerivative('public://feed_images/be81043cd057cf3ce90efb6dc42f1615.png', 'public://styles/thumbnail/public/feed_images/be81043cd057cf3ce90efb6dc42f1615.png') (Line: 190)
Drupal\webp\Controller\ImageStyleDownloadController->deliver(Object, 'public', Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber{closure}() (Line: 573)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber{closure}() (Line: 151)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 708)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
=================================================================================
Related categories: PHP JavaScript CSS Drupal HTML