Deprecated Warning

Support MB Custom Table Deprecated Warning

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #43891
    Johannes GrossJohannes Gross
    Participant

    I am using the MB Custom Table plugin and its Model feature. However, the following error gets displayed in the backend:

    Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/***.cloudwaysapps.com/***/public_html/wp-content/plugins/mb-custom-table/src/Model/MetaBox.php on line 70

    PHP Version: 8.1

    Thank you for looking into this!

    #43911
    PeterPeter
    Moderator

    Hello,

    Thanks for your feedback.

    After adding the sample code to create the custom model as in the documentation https://docs.metabox.io/extensions/mb-custom-table/#custom-models
    I only see the error one time and everything works as well. However, I will report this issue to the development team to fix it in future updates.

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