Error logged when setting post terms

Support MB FacetWP Integration Error logged when setting post termsResolved

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #37953
    ArnoArno
    Participant

    Hello,

    The below line of code logs this error: "Trying to access array offset on value of type bool in /wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box-facetwp-integrator/class-mb-facetwp-integrator.php on line 78".

    wp_set_post_terms($att_id, 'a string', 'media-owner', true);

    The code does work, the term is attached to an image in this case. I am not sure why the error is logged. The same error is logged numerous times: also for line 89, 119, 124, 130, 138, 146, 152, 160. And then all of these errors again 3 more times. So that's 36 lines of errors in debug.log.

    I'm using the code in the pmxi_gallery_image hook, provided by the WP All Import plugin. I'm not sure if that matters.

    Do you know what is causing this?

    #37965
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Thanks for your feedback.

    I will inform the development team to fix this issue in the next update.

    #38780
    ArnoArno
    Participant

    Hi Long,

    What's the status of this issue? My log files are still stuffed with this error message.

    Thanks,
    Arno

    #38896
    Long NguyenLong Nguyen
    Moderator

    Hi Arno,

    Please update this plugin to the latest version 1.0.4 and recheck the issue. Let me know how it goes.

    #38899
    ArnoArno
    Participant

    Hi Long,

    I have Meta Box 5.6.7 and Meta Box AIO 1.16.5. Which plugin should be 1.0.4?

    Thanks,
    Arno

    #38911
    Long NguyenLong Nguyen
    Moderator

    Hi Arno,

    It's the plugin Meta Box - FacetWP Integrator https://wordpress.org/plugins/meta-box-facetwp-integrator/. You can install and activate it on your site with Meta Box and Meta Box AIO. If you use the plugin Meta Box AIO, please wait for the next update.

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