live-composer / live-composer-page-builder

Free page builder plugin for WordPress https://livecomposerplugin.com
GNU General Public License v3.0
171 stars 57 forks source link

Fix some of the most common "Undefined array key" warnings in common code #1139

Closed jamesdlow closed 3 days ago

jamesdlow commented 3 months ago

From PHP 8 onwards it warns if trying to access undefined array attributes. This change clears up some of the most common ones in common code (include/). This makes it much easier to debug the log file as it's not overrun by spurious warnings that often reoccur.

jamesdlow commented 3 months ago

@lumberman Any change you can look at merging this pull request? It would really help.

jagveer-blueastral commented 3 days ago

Changes are added in Release 1.5.49