Getting tons of these in the error logs:
PHP Warning: Undefined array key "medium" in /chroot/home/USERNAME/DOMAIN/html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-popup-templates-responsive.php on line 168
Saw a similar issue on https://kriesi.at/support/topic/php-warnings-after-update-to-php-8-1/ but there was no resolution. It looks like Enfold doesn’t handle it well if certain image sizes aren’t created that it’s expected and doesn’t fail gracefully.
This is on:
WordPress: 6.5.2
PHP: 8.1.28
Enfold: 5.6.9
There is a child theme but i only adds two short-codes and doesn’t mess with any of the templates.
Updated Enfold to 5.7, still generating errors.
Hi,
Thank you for using Enfold and reporting this.
I added a fix to next release 5.7.2.
Meanwhile please replace …/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-popup-templates-responsive.php
with
Do not forget to make a backup of the original file for a fallback.
Best regards,
Günter
That did the trick, thank you for the quick turnaround!