Skip to content

Calling get_class() without arguments is deprecated #366

@nangongchunshui

Description

@nangongchunshui
PHP 8.3.10 (cli) (built: Aug  8 2024 15:06:24) (NTS)

bug

object(ErrorException)#528 (8) {
  ["message":protected]=>
  string(51) "Calling get_class() without arguments is deprecated"
  ["string":"Exception":private]=>
  string(0) ""
  ["code":protected]=>
  int(0)
  ["file":protected]=>
  string(70) "/www/wwwroot/backend.farming-usd.top/vendor/web3p/web3.php/src/Eth.php"
  ["line":protected]=>
  int(77)
  ["trace":"Exception":private]=>
  array(21) {
    [0]=>
    array(3) {
      ["function"]=>
      string(9) "{closure}"
      ["class"]=>
      string(11) "support\App"
      ["type"]=>
      string(2) "::"
    }
    [1]=>
    array(3) {
      ["file"]=>
      string(70) "/www/wwwroot/backend.farming-usd.top/vendor/web3p/web3.php/src/Eth.php"
      ["line"]=>
      int(77)
      ["function"]=>
      string(9) "get_class"
    }
    [2]=>
    array(5) {
      ["file"]=>
      string(75) "/www/wwwroot/backend.farming-usd.top/vendor/web3p/web3.php/src/Contract.php"
      ["line"]=>
      int(661)
      ["function"]=>
      string(6) "__call"
      ["class"]=>
      string(8) "Web3\Eth"
      ["type"]=>
      string(2) "->"
    }
    [3]=>
    array(5) {
      ["file"]=>
      string(81) "/www/wwwroot/backend.farming-usd.top/plugin/admin/app/service/EthereumService.php"
      ["line"]=>
      int(81)
      ["function"]=>
      string(4) "call"
      ["class"]=>
      string(13) "Web3\Contract"
      ["type"]=>
      string(2) "->"
    }
    [4]=>
    array(5) {
      ["file"]=>
      string(81) "/www/wwwroot/backend.farming-usd.top/plugin/admin/app/service/EthereumService.php"
      ["line"]=>
      int(145)
      ["function"]=>
      string(14) "getUsdtBalance"
      ["class"]=>
      string(40) "plugin\admin\app\service\EthereumService"
      ["type"]=>
      string(2) "->"
    }
    [5]=>
    array(5) {
      ["file"]=>
      string(83) "/www/wwwroot/backend.farming-usd.top/plugin/admin/app/controller/UserController.php"
      ["line"]=>
      int(288)
      ["function"]=>
      string(13) "transferToken"
      ["class"]=>
      string(40) "plugin\admin\app\service\EthereumService"
      ["type"]=>
      string(2) "->"
    }
    [6]=>
    array(5) {
      ["file"]=>
      string(82) "/www/wwwroot/backend.farming-usd.top/vendor/workerman/webman-framework/src/App.php"
      ["line"]=>
      int(335)
      ["function"]=>
      string(10) "transferV2"
      ["class"]=>
      string(42) "plugin\admin\app\controller\UserController"
      ["type"]=>
      string(2) "->"
    }
    [7]=>
    array(5) {
      ["file"]=>
      string(82) "/www/wwwroot/backend.farming-usd.top/vendor/workerman/webman-framework/src/App.php"
      ["line"]=>
      int(358)
      ["function"]=>
      string(16) "Webman\{closure}"
      ["class"]=>
      string(10) "Webman\App"
      ["type"]=>
      string(2) "::"
    }
    [8]=>
    array(5) {
      ["file"]=>
      string(82) "/www/wwwroot/backend.farming-usd.top/plugin/admin/app/middleware/AccessControl.php"
      ["line"]=>
      int(47)
      ["function"]=>
      string(16) "Webman\{closure}"
      ["class"]=>
      string(10) "Webman\App"
      ["type"]=>
      string(2) "::"
    }
    [9]=>
    array(5) {
      ["file"]=>
      string(82) "/www/wwwroot/backend.farming-usd.top/vendor/workerman/webman-framework/src/App.php"
      ["line"]=>
      int(351)
      ["function"]=>
      string(7) "process"
      ["class"]=>
      string(41) "plugin\admin\app\middleware\AccessControl"
      ["type"]=>
      string(2) "->"
    }
    [10]=>
    array(5) {
      ["file"]=>
      string(68) "/www/wwwroot/backend.farming-usd.top/vendor/webman/cors/src/CORS.php"
      ["line"]=>
      int(12)
      ["function"]=>
      string(16) "Webman\{closure}"
      ["class"]=>
      string(10) "Webman\App"
      ["type"]=>
      string(2) "::"
    }
    [11]=>
    array(5) {
      ["file"]=>
      string(82) "/www/wwwroot/backend.farming-usd.top/vendor/workerman/webman-framework/src/App.php"
      ["line"]=>
      int(351)
      ["function"]=>
      string(7) "process"
      ["class"]=>
      string(16) "Webman\Cors\CORS"
      ["type"]=>
      string(2) "->"
    }
    [12]=>
    array(5) {
      ["file"]=>
      string(82) "/www/wwwroot/backend.farming-usd.top/vendor/workerman/webman-framework/src/App.php"
      ["line"]=>
      int(178)
      ["function"]=>
      string(16) "Webman\{closure}"
      ["class"]=>
      string(10) "Webman\App"
      ["type"]=>
      string(2) "::"
    }
    [13]=>
    array(5) {
      ["file"]=>
      string(96) "/www/wwwroot/backend.farming-usd.top/vendor/workerman/workerman/src/Connection/TcpConnection.php"
      ["line"]=>
      int(741)
      ["function"]=>
      string(9) "onMessage"
      ["class"]=>
      string(10) "Webman\App"
      ["type"]=>
      string(2) "->"
    }
    [14]=>
    array(5) {
      ["file"]=>
      string(85) "/www/wwwroot/backend.farming-usd.top/vendor/workerman/workerman/src/Events/Select.php"
      ["line"]=>
      int(408)
      ["function"]=>
      string(8) "baseRead"
      ["class"]=>
      string(34) "Workerman\Connection\TcpConnection"
      ["type"]=>
      string(2) "->"
    }
    [15]=>
    array(5) {
      ["file"]=>
      string(78) "/www/wwwroot/backend.farming-usd.top/vendor/workerman/workerman/src/Worker.php"
      ["line"]=>
      int(1740)
      ["function"]=>
      string(3) "run"
      ["class"]=>
      string(23) "Workerman\Events\Select"
      ["type"]=>
      string(2) "->"
    }
    [16]=>
    array(5) {
      ["file"]=>
      string(78) "/www/wwwroot/backend.farming-usd.top/vendor/workerman/workerman/src/Worker.php"
      ["line"]=>
      int(1545)
      ["function"]=>
      string(21) "forkOneWorkerForLinux"
      ["class"]=>
      string(16) "Workerman\Worker"
      ["type"]=>
      string(2) "::"
    }
    [17]=>
    array(5) {
      ["file"]=>
      string(78) "/www/wwwroot/backend.farming-usd.top/vendor/workerman/workerman/src/Worker.php"
      ["line"]=>
      int(1525)
      ["function"]=>
      string(19) "forkWorkersForLinux"
      ["class"]=>
      string(16) "Workerman\Worker"
      ["type"]=>
      string(2) "::"
    }
    [18]=>
    array(5) {
      ["file"]=>
      string(78) "/www/wwwroot/backend.farming-usd.top/vendor/workerman/workerman/src/Worker.php"
      ["line"]=>
      int(593)
      ["function"]=>
      string(11) "forkWorkers"
      ["class"]=>
      string(16) "Workerman\Worker"
      ["type"]=>
      string(2) "::"
    }
    [19]=>
    array(5) {
      ["file"]=>
      string(90) "/www/wwwroot/backend.farming-usd.top/vendor/workerman/webman-framework/src/support/App.php"
      ["line"]=>
      int(152)
      ["function"]=>
      string(6) "runAll"
      ["class"]=>
      string(16) "Workerman\Worker"
      ["type"]=>
      string(2) "::"
    }
    [20]=>
    array(5) {
      ["file"]=>
      string(46) "/www/wwwroot/backend.farming-usd.top/start.php"
      ["line"]=>
      int(5)
      ["function"]=>
      string(3) "run"
      ["class"]=>
      string(11) "support\App"
      ["type"]=>
      string(2) "::"
    }
  }
  ["previous":"Exception":private]=>
  NULL
  ["severity":protected]=>
  int(8192)
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions