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

debug_backtrace() 関数で object が取得できない場合がある #320

Closed
nanasess opened this issue Oct 18, 2019 · 1 comment
Closed
Milestone

Comments

@nanasess
Copy link
Contributor

SC_Response::actionExist() でバックトレースを取得した際、 object が取得できない場合がある

array(3) {
  [0]=>
  array(6) {
    ["file"]=>
    string(118) "/path/to/data/downloads/module/mdl_xxx/class/pages/LC_Page_XXX.php"
    ["line"]=>
    int(100)
    ["function"]=>
    string(10) "actionExit"
    ["class"]=>
    string(11) "SC_Response"
    ["type"]=>
    string(2) "::"
    ["args"]=>
    array(0) {
    }
  }
  [1]=>
  array(7) {
    ["file"]=>
    string(118) "/path/to/data/downloads/module/mdl_xxx/class/pages/LC_Page_XXX.php"
    ["line"]=>
    int(44)
    ["function"]=>
    string(6) "action"
    ["class"]=>
    string(26) "LC_Page_XXX"
    ["object"]=>
    object(LC_Page_XXX)#12 (23) {
      ["objMdl"]=>
      NULL
      ["arrSetting"]=>
      NULL
      ["tpl_mainpage"]=>

プラグインによってはexitフックポイントが動作しない

@nanasess
Copy link
Contributor Author

#321 で修正

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

No branches or pull requests

2 participants