Custom Fields
Re-Envisioned
Support General Help Metabox error inside plugin gives error

  • Creator
    Topic
  • #32625
    Resolved mailme@markokrstic.com
    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #32654
    Long Nguyen
    Moderator

    Hi,

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

    #32655

    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 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.