Help Metabox error inside plugin gives error

Support General Help Metabox error inside plugin gives errorResolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #32625
    mailme@markokrstic.com[email protected]
    Participant

    We have metabox included in our plugin.

    After latest update of metabox:
    1. if our plugin
    2. and metabox free are activated
    3. we get error inside our plugin:

    Warning: Parameter 2 to RWMB_Post_Field::search_by_title() expected to be a reference, value given in /Users/marko/Local Sites/plugins-dev/app/public/wp-includes/class-wp-hook.php on line 303
    Call Stack

    Time Memory Function Location

    1 0.0004 373720 {main}( ) .../post.php:0
    2 0.1404 3711256 require( '/Users/marko/Local Sites/plugins-dev/app/public/wp-admin/edit-form-advanced.php' ) .../post.php:206
    3 0.1882 3961560 do_meta_boxes( ) .../edit-form-advanced.php:688
    4 0.1884 3962800 RW_Meta_Box->show( ) .../template.php:1395
    5 0.1918 3964968 RWMB_Field::call( ) .../meta-box.php:259
    6 0.1918 3965416 RWMB_Object_Choice_Field::show( ) .../field.php:580
    7 0.1919 3965504 RWMB_Field::call( ) .../object-choice.php:28
    8 0.1919 3965952 RWMB_Post_Field::query( ) .../field.php:580
    9 0.1919 3968816 WP_Query->__construct( ) .../post.php:155
    10 0.1919 3968816 WP_Query->query( ) .../class-wp-query.php:3576
    11 0.1919 3968816 WP_Query->get_posts( ) .../class-wp-query.php:3465
    12 0.1921 3972704 apply_filters_ref_array( ) .../class-wp-query.php:2131
    13 0.1921 3972704 WP_Hook->apply_filters( ) .../plugin.php:233

    Please advise what to do to resolve it.

    #32654
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Please update Meta Box to the new version 5.5.1 to resolve this issue.

    #32655
    mailme@markokrstic.com[email protected]
    Participant

    Yes thank you. That solved it. Was not sure how to close or delete the ticket.
    Anh already responded this morning on our FB Group.

    Thank you so much for a quick fix.

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