Custom Fields
Re-Envisioned
Support MB Custom Table Getting error Uncaught Error: Call to undefined function info()

This topic contains 2 replies, has 2 voices, and was last updated by  badabingbreda 5 months, 1 week ago.

  • Creator
    Topic
  • #12956
    Resolved
    badabingbreda
    Participant

    Hi, I’m not sure what I’m doing wrong. I’ve created the table (checked in the database) added the metabox and it shows up correctly in the dashboard for the cpt.

    But, as soon as I hit the update button I get the following error:

    Uncaught Error: Call to undefined function info() in /home/xxxxxx.cloudwaysapps.com/urjtqnfhrs/public_html/wp-content/plugins/mb-custom-table/inc/class-mb-custom-table-loader.php:36

    This is my first attempt at using the MB Custom Table API, code is below and is in the functions.php. Using the newest version 1.1.6 that was uploaded yesterday.

    https://ghostbin.com/paste/348pa

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #12959

    Anh Tran
    Keymaster

    I’m so sorry. This was the debug code that I forgot to remove in the plugin. I’ve just fixed the plugin, please update.

    #12961

    badabingbreda
    Participant

    LOL, of course I made mention of the version on purpose. As soon as I saw the date on the last release I had a hunch it could be related since I saw no mentions of the forum of other people dealing with this on their first try.

    Updating worked, thanks again for quick fix.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.