Open bittailor opened 7 months ago
I've fixed some common ones in the include/ directory in this pull request here: https://github.com/live-composer/live-composer-page-builder/pull/1139
Will work on fixing some of the ones in individual modules after this pull request is merged.
Here's a few of the errors I commonly see on common modules:
PHP message: PHP Warning: Undefined array key "link_nofollow" in /wp-content/plugins/live-composer-page-builder/modules/social/module.php on line 103
PHP message: PHP Warning: Undefined array key "link_nofollow" in /wp-content/plugins/live-composer-page-builder/modules/image/module.php on line 1076
PHP message: PHP Warning: Undefined array key "image_alt" in /wp-content/plugins/live-composer-page-builder/modules/image/module.php on line 1078
PHP message: PHP Warning: Undefined array key "link_nofollow" in /wp-content/plugins/live-composer-page-builder/modules/image/module.php on line 1076
PHP message: PHP Warning: Undefined array key "image_alt" in /wp-content/plugins/live-composer-page-builder/modules/image/module.php on line 1078
I upgraded my WordPress Server from PHP 7.4. to PHP 8.2, as PHP 7.4 is now End of life for more than a year and WordPress Release 6.4 recommends PHP 8.1 or 8.2.
Now the Live Composer plugin (Release 1.5.33) generates a lot of
Undefined array key
warnings likeThat spam the logs and hides possible other issues.
Are you planning to support to PHP >= 8.1 without warnings? Are you interested in a PR that tries to fix/remove those
Undefined array key
warnings?