Too few arguments to function Firebase\JWT\JWT::encode(), 2 passed
-
Hi. I have ElementsKit (not ElementsKit Lite) and JWT Auth plugin installed. Both use same \Firebase\JWT package. However, JWT package in ElementsKit seems out of date because latest version of
encode()
method requires 3 arguments instead of 2 which is called fromwp-content/plugins/elementskit/widgets/zoom/zoom-handler.php
on line 85. Since the JWT package was loaded initially from JWT Auth plugin, so it trigger the error as mentioned in the title when it load ElementsKit plugin.Hope you can update the JWT package to the latest version. This is the line that caused the error based on latest JWT version: https://github.com/firebase/php-jwt/blob/main/src/JWT.php#L186. Thank you.
- The topic ‘Too few arguments to function Firebase\JWT\JWT::encode(), 2 passed’ is closed to new replies.