Custom Fields
Re-Envisioned
Support Meta Box Builder Php Warning when using image upload

  • Creator
    Topic
  • #15313
    Resolved AXEL PARATRE
    Participant

    Hello,

    I have a php warning when I insert an image upload in my post type. With, Single image, it returns "Warning: array_merge(): Argument #1 is not an array in /app/yesmycar/wp-content/plugins/meta-box/inc/fields/media.php on line 71
    "

    With Image select, it returns Warning: Invalid argument supplied for foreach() in /app/yesmycar/wp-content/plugins/meta-box/inc/fields/image-select.php on line 32

    Thanks for your answer.
    Adrien

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #15314
    AXEL PARATRE
    Participant

    I add more explanation here,

    The Single image give a warning error when it is clonable.

    #15332
    Anh Tran
    Keymaster

    Hi Axel,

    Thanks a lot for your bug report. I’ve fixed the issue with cloneable single image here. The notice for image select is because you haven’t add any options for the field. Please see this docs.

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

Newsletter

Subscribe to our newsletter to receive news and tutorials for Meta Box and WordPress.


grid gear info copy caret-up caret-down trash