• Resolved Paul van Rossem

    (@paul-van-rossem)


    I’m receiving a PHP error message in class-core.php:

    Uncaught ArgumentCountError: Too few arguments to function Firebase\JWT\JWT::encode(), 2 passed in wp-content/plugins/wp-2fa-premium/extensions/trusted-devices/class-core.php?on line 139 and at least 3 expected in wp-content/plugins/pods/tribe-common/vendor/firebase/php-jwt/src/JWT.php:183

Viewing 6 replies - 1 through 6 (of 6 total)
  • We recently updated our JWT library in Pods but we don’t use it directly, it’s just part of another library we use and it only gets called by other plugins (normally the one this shared library is used by like The Events Calendar).

    it turns out that this version requires a newer PHP version, are you using PHP 5.6?

    Thread Starter Paul van Rossem

    (@paul-van-rossem)

    Thanks for your fast response! We are using PHP 7.4.

    Ok this sounds like a different issue.

    Funny story, we upgraded our JWT to fix compatibility with other plugins only to … cause a compatibility issue with another plugin ??

    This specific plugin for 2FA is using an older version of JWT and it does not look compatible with our version. One workaround is to load an older version of JWT before we load ours.

    Plugin Contributor robertabela

    (@robert681)

    Hello @paul-van-rossem

    Thank you for using our plugin. The error you are reporting is from the Premium edition of the plugin. Please send us an email at [email protected] for assistance. These forums are to support the Free edition users. Thank you for your understanding.

    @sc0ttkclark if you need support from us please open your own forum thread as per these forums’ guidelines, or send us an email at [email protected].

    @robert681 I’m the lead dev of the Pods plugin mentioned in the issue. I’m sure you can further help Paul in the premium support side from here.

    Plugin Contributor robertabela

    (@robert681)

    Hello @paul-van-rossem

    The problem has been solved in the latest version update of the plugin – 2.4.0. However, I just noticed that you are using the Premium edition, my bad, I should have noticed that before. That will be released this week.

    For the record, these forums are reserved for the free edition users. If you need support please always contact us on email at [email protected].

    @sc0ttkclark – thank you for your feedback. Indeed, the issue has been sorted already.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘PHP error in class-core.php’ is closed to new replies.