PHP Warnings that cause server php error log filled up

Support Meta Box AIO PHP Warnings that cause server php error log filled up

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #48777
    arsh999cgarsh999cg
    Participant

    This are coming to php error logs regularly, I know it is just a warning, and I can disable debug log, but still, it shouldn't be there, you can solve it with just a condition check..

    
    [20-Aug-2025 01:30:34 UTC] E_WARNING: Undefined array key "type" in /wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box/inc/field.php on line 558
    [20-Aug-2025 01:30:34 UTC] E_WARNING: Undefined array key "id" in /wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box/inc/field.php on line 560
    
    #48784
    PeterPeter
    Moderator

    Hello,

    Thanks for reaching out.

    Do you know how to reproduce the issue with clear steps? Or are you using a filter/action hook to customize Meta Box field on your site?
    https://docs.metabox.io/category/references/

    #48789
    arsh999cgarsh999cg
    Participant

    Nothing from the /references/

    I'm just outputting content using Meta Box views, and when I save, it logs some quantity of above warnings on each save, or on viewing the front-end I don't know.

    Regards,
    Arshad

    #48803
    PeterPeter
    Moderator

    Hello,

    Thanks for the details. I will forward this error to the development team to check and improve the code in future updates.
    Let me know if you have any questions.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.