Error: Notice: Array to string conversion

Support MB Builder Error: Notice: Array to string conversionResolved

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #18656
    Sofyan SitorusSofyan Sitorus
    Participant

    This happens when when generating the PHP code and there is key_value field type exists.

    Notice: Array to string conversion in meta-box-builder/src/Encoders/Field.php on line 48
    Call Stack
    #  Time    Memory  Function    Location
    1   0.0005  463880  {main}( )   .../post.php:0
    2   0.2715  33194608    include( 'wp-admin/edit-form-advanced.php' )    .../post.php:198
    3   0.2950  33767000    do_action( )    .../edit-form-advanced.php:570
    4   0.2950  33773008    WP_Hook->do_action( )    .../plugin.php:478
    5   0.2950  33773008    WP_Hook->apply_filters( )    .../class-wp-hook.php:312
    6   0.2952  33774136    MBB\Edit->render( )  .../class-wp-hook.php:288
    7   0.2953  33780160    require( 'meta-box-builder/views/tabs/code.php' )    .../Edit.php:27
    8   0.2958  33825016    MBB\Encoders\MetaBox->encode( )  .../code.php:5
    9   0.2958  33825320    MBB\Encoders\MetaBox->encode_fields( )   .../MetaBox.php:29
    10  0.2958  33825696    array_walk ( )  .../MetaBox.php:41
    11  0.2961  33840368    MBB\Encoders\MetaBox->encode_field( )    .../MetaBox.php:41
    12  0.2961  33840480    MBB\Encoders\Field->encode( )    .../MetaBox.php:47
    13  0.2961  33840880    array_walk ( )  .../Field.php:20
    14  0.2961  33842072    MBB\Encoders\Field->make_translatable( ) .../Field.php:20
    15  0.2961  33842072    sprintf ( ) .../Field.php:48
    #18657
    Anh TranAnh Tran
    Keymaster

    Hi Sofyan,

    Thank you for your feedback. I've just fixed it.

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