Hi there,
I recently upgraded my local dev environments to PHP 7.4 and now I'm getting notices on a custom field type that I wasn't getting before. I've been able to prevent the notices from appearing on certain admin screens, by checking the screens and bailing on the execution, but that doesn't seem to be ideal, and it's not working on edit.php
screens. This ticket from years ago is somewhat related: https://support.metabox.io/topic/my-custom-metabox-stops-working-on-wp-4-9-8/
Here are the notices that are appearing on edit.php pages in the admin:
Notice: Trying to access array offset on value of type null in /wp/wp-content/plugins/meta-box/inc/meta-box.php on line 387
Notice: Trying to access array offset on value of type null in /wp/wp-content/plugins/meta-box/inc/meta-box.php on line 388
Here's my code: https://pastebin.com/gM4G1M4F
Thanks so much!