Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function Tron\TRX::__construct(), 1 passed #42

Open
advanced8888 opened this issue Dec 2, 2023 · 0 comments

Comments

@advanced8888
Copy link

直接使用例子出現下面這問題,我的版本是 php8.2 這需要怎麼修改呢?

PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function Tron\TRX::__construct(), 1 passed in /root/test.php on line 9 and exactly 2 expected in /root/vendor/fenguoz/tron-php/src/TRX.php:19
Stack trace:
#0 /root/tt.php(9): Tron\TRX->__construct()
#1 {main}
thrown in /root/vendor/fenguoz/tron-php/src/TRX.php on line 19

謝謝

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant