MB Custom Table 2.0.0-rc.1 - Fatal Error in mb-custom-table.php

Support MB Custom Table MB Custom Table 2.0.0-rc.1 - Fatal Error in mb-custom-table.phpResolved

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #30256
    Nicholas CoxNicholas Cox
    Participant

    HI

    I just updated the MB custom table via composer on the dev master to 2.0.0-rc.1 and I get the following fatal error.

    Warning: require(tests/05-transactional-model.php): failed to open stream: No such file or directory in C:\wamp\www\freestuffgroup\wp-content\plugins\drip-create-plugin\assets\vendor\meta-box\mb-custom-table\mb-custom-table.php on line 47

    Fatal error: require(): Failed opening required 'tests/05-transactional-model.php' (include_path='.;C:\php\pear') in C:\wamp\www\freestuffgroup\wp-content\plugins\drip-create-plugin\assets\vendor\meta-box\mb-custom-table\mb-custom-table.php on line 47

    line 47 in mb-custom-table.php is...
    require 'tests/05-transactional-model.php';

    #30268
    Long NguyenLong Nguyen
    Moderator

    Hi Nicholas,

    Thank you for your feedback.

    It's the code to load the testing model. Temporarily, you can remove this code or create a folder tests and the file 05-transactional-model.php inside. Get the content of the file here https://pastebin.com/vJ3iDb3m

    And read more on the documentation https://docs.metabox.io/extensions/mb-custom-table/#custom-models

    #30634
    GrupoADSLZoneGrupoADSLZone
    Participant

    Same here, CI/CD broken.

    @Long, When will this be fixed?

    Regards.

    #30635
    GrupoADSLZoneGrupoADSLZone
    Participant

    When will this be fixed?

    #30643
    Long NguyenLong Nguyen
    Moderator

    Hi,

    The official version of MB Custom Table 2.0.0 has been released. Please update it to fix the issue.

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