Error with mb-revision extension

Support General Error with mb-revision extension

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #44510
    contabilidad@sngular.com[email protected]
    Participant

    Hi, I am having a problem in my wordpress because of the mb-revision package, I am getting this error.

    PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function MB_Revision::copy_fields_to_revision(), 1 passed in /var/www/html/wp-includes/class-wp-hook.php on line 308 and exactly 2 expected in /var/www/html/wp-content/plugins/MY-PLUGIN/vendor/meta-box/mb-revision/revision.php:47

    This is my composer.json

    "require": {
            "aws/aws-sdk-php": "3.238.6",
            "wpackagist-plugin/meta-box": "5.7.5",
            "wpackagist-plugin/mb-rest-api": "1.5.1",
            "meta-box/mb-revision": "dev-master",
            "meta-box/mb-settings-page": "dev-master",
            "meta-box/meta-box-conditional-logic": "dev-master",
            "meta-box/meta-box-group": "dev-master".
        },
    #44511
    contabilidad@sngular.com[email protected]
    Participant

    What is happening?

    Thanks in advance

    #44512
    contabilidad@sngular.com[email protected]
    Participant

    I tried with the old composer.json and with this new one updating all versions and got the same problem.

    "require": {
            "aws/aws-sdk-php": "3.238.6",
            "wpackagist-plugin/meta-box": "dev-trunk",
            "wpackagist-plugin/mb-rest-api": "dev-trunk",
            "meta-box/mb-revision": "dev-master",
            "meta-box/mb-settings-page": "dev-master",
            "meta-box/meta-box-conditional-logic": "dev-master",
            "meta-box/meta-box-group": "dev-master"
        },
    #44515
    PeterPeter
    Moderator

    Hello,

    What is the WordPress version on your site? Please update WP core to the new version 6.4.2 and check this issue again.

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