if i click the edit page button i got an error (the error trace below) - looks like the route does not work ?
the custom page is an iframe page ... i believe this edit feature is for the html markdown ... cause the source is in the app ... an iframe is external source ? maybe this button should be visible only on html and markdown custom pages ?
1. in /var/www/html/humhub/protected/modules/custom_pages/modules/template/widgets/views/templatePageEditButton.php at line 30
2. in /var/www/html/humhub/protected/modules/custom_pages/modules/template/widgets/views/templatePageEditButton.php at line 30 – yii\base\ErrorHandler::handleError(8, 'Trying to get property of non-ob...', '/var/www/html/humhub/protected/m...', 30, ...)
3. in /var/www/html/humhub/protected/vendor/yiisoft/yii2/base/View.php at line 325 – require('/var/www/html/humhub/protected/m...')
4. in /var/www/html/humhub/protected/vendor/yiisoft/yii2/base/View.php at line 247 – yii\base\View::renderPhpFile('/var/www/html/humhub/protected/m...', ['canEdit' => true, 'sguid' => null, 'editMode' => '1', 'pageId' => '2', ...])
5. in /var/www/html/humhub/protected/vendor/yiisoft/yii2/base/View.php at line 149 – yii\base\View::renderFile('/var/www/html/humhub/protected/m...', ['canEdit' => true, 'sguid' => null, 'editMode' => '1', 'pageId' => '2', ...], humhub\modules\custom_pages\modules\template\widgets\TemplatePageEditButton)
6. in /var/www/html/humhub/protected/vendor/yiisoft/yii2/base/Widget.php at line 195 – yii\base\View::render('templatePageEditButton', ['canEdit' => true, 'sguid' => null, 'editMode' => '1', 'pageId' => '2', ...], humhub\modules\custom_pages\modules\template\widgets\TemplatePageEditButton)
7. in /var/www/html/humhub/protected/modules/custom_pages/modules/template/widgets/TemplatePageEditButton.php at line 50 – yii\base\Widget::render('templatePageEditButton', ['canEdit' => true, 'sguid' => null, 'editMode' => '1', 'pageId' => '2', ...])
8. in /var/www/html/humhub/protected/humhub/components/Widget.php at line 52 – humhub\modules\custom_pages\modules\template\widgets\TemplatePageEditButton::run()
9. in /var/www/html/humhub/protected/modules/custom_pages/modules/template/widgets/views/templatePageEditStackMenuButton.php at line 3 – humhub\components\Widget::widget()
10. in /var/www/html/humhub/protected/vendor/yiisoft/yii2/base/View.php at line 325 – require('/var/www/html/humhub/protected/m...')
11. in /var/www/html/humhub/protected/vendor/yiisoft/yii2/base/View.php at line 247 – yii\base\View::renderPhpFile('/var/www/html/humhub/protected/m...', [])
12. in /var/www/html/humhub/protected/vendor/yiisoft/yii2/base/View.php at line 149 – yii\base\View::renderFile('/var/www/html/humhub/protected/m...', [], humhub\modules\custom_pages\modules\template\widgets\TemplatePageEditStackMenuButton)
13. in /var/www/html/humhub/protected/vendor/yiisoft/yii2/base/Widget.php at line 195 – yii\base\View::render('templatePageEditStackMenuButton', [], humhub\modules\custom_pages\modules\template\widgets\TemplatePageEditStackMenuButton)
14. in /var/www/html/humhub/protected/modules/custom_pages/modules/template/widgets/TemplatePageEditStackMenuButton.php at line 22 – yii\base\Widget::render('templatePageEditStackMenuButton')
15. in /var/www/html/humhub/protected/humhub/components/Widget.php at line 52 – humhub\modules\custom_pages\modules\template\widgets\TemplatePageEditStackMenuButton::run()
16. in /var/www/html/humhub/protected/humhub/widgets/BaseStack.php at line 92 – humhub\components\Widget::widget([])
17. in /var/www/html/humhub/protected/vendor/yiisoft/yii2/base/Widget.php at line 102 – humhub\widgets\BaseStack::run()
18. in /var/www/html/humhub/protected/humhub/views/layouts/main.php at line 141 – yii\base\Widget::widget()
19. in /var/www/html/humhub/protected/vendor/yiisoft/yii2/base/View.php at line 325 – require('/var/www/html/humhub/protected/h...')
20. in /var/www/html/humhub/protected/vendor/yiisoft/yii2/base/View.php at line 247 – yii\base\View::renderPhpFile('/var/www/html/humhub/protected/h...', ['content' => ' <iframe id="iframepage" ...'])
21. in /var/www/html/humhub/protected/vendor/yiisoft/yii2/base/Controller.php at line 393 – yii\base\View::renderFile('/var/www/html/humhub/protected/h...', ['content' => ' <iframe id="iframepage" ...'], humhub\modules\custom_pages\controllers\ViewController)
22. in /var/www/html/humhub/protected/vendor/yiisoft/yii2/base/Controller.php at line 379 – yii\base\Controller::renderContent(' <iframe id="iframepage" ...')
23. in /var/www/html/humhub/protected/modules/custom_pages/controllers/ViewController.php at line 38 – yii\base\Controller::render('iframe', ['url' => 'http://192.168.33.22:8080/starts', 'navigationClass' => 'TopMenuWidget'])
24. in /var/www/html/humhub/protected/modules/custom_pages/controllers/ViewController.php at line 56 – humhub\modules\custom_pages\controllers\ViewController::actionIndex()
25. humhub\modules\custom_pages\controllers\ViewController::actionView()
26. in /var/www/html/humhub/protected/vendor/yiisoft/yii2/base/InlineAction.php at line 55 – call_user_func_array([humhub\modules\custom_pages\controllers\ViewController, 'actionView'], [])
27. in /var/www/html/humhub/protected/vendor/yiisoft/yii2/base/Controller.php at line 154 – yii\base\InlineAction::runWithParams(['r' => 'custom_pages/view/view', 'id' => '2', 'editMode' => '1'])
28. in /var/www/html/humhub/protected/vendor/yiisoft/yii2/base/Module.php at line 454 – yii\base\Controller::runAction('view', ['r' => 'custom_pages/view/view', 'id' => '2', 'editMode' => '1'])
29. in /var/www/html/humhub/protected/vendor/yiisoft/yii2/web/Application.php at line 87 – yii\base\Module::runAction('custom_pages/view/view', ['r' => 'custom_pages/view/view', 'id' => '2', 'editMode' => '1'])
30. in /var/www/html/humhub/protected/vendor/yiisoft/yii2/base/Application.php at line 375 – yii\web\Application::handleRequest(humhub\components\Request)
31. in /var/www/html/humhub/index.php at line 25 – yii\base\Application::run()
$_GET = [
'r' => 'custom_pages/view/view',
'id' => '2',
'editMode' => '1',
];
$_COOKIE = [
'_csrf' => '4f32da4cfd792e360f2c62e92730f3bf8e8224977676076bd06165e93658735ea:2:{i:0;s:5:"_csrf";i:1;s:32:"Rl_MLi-2ig6-wmjLpfU2EHZPf3ayrcWd";}',
'pm_getting-started-panel' => 'expanded',
'pm_space-members-panel' => 'expanded',
'language' => '268d01e2dcc7cc41c951c8ce9b050d9c9f79a7a8338e14ed68a77a5e3d59cb2ba:2:{i:0;s:8:"language";i:1;s:2:"de";}',
'pm_user-tags-panel' => 'expanded',
'pm_user-spaces-panel' => 'expanded',
'pm_profile-following-panel' => 'expanded',
'pm_profile-friends-panel' => 'expanded',
'XSRF-TOKEN' => 'eyJpdiI6Im1sZXRsS2E3YWE2UFwvZzlQcHAzVmJnPT0iLCJ2YWx1ZSI6Ik5RQlZSb2QxVkxvYnh6dkE2dmh1SDMwXC9TYzlOMGVKUWdvT3B0RWtCd2t4a2NYbXNJUGNhYVlUbjVNMTMzXC9IdE5TKzVpSmZGR1l6c1wvYUIwK0NTVmxRPT0iLCJtYWMiOiI1Y2ZhMGI2N2FhN2ZjOGI4MDQ4ZDdmYWRkMDk3YmRhMTU4N2QzYjU3MmFjMTU4MGYyYzU5NjU5YjMzNTljNWQ4In0=',
'laravel_session' => 'eyJpdiI6InhDR3FnSmxzRElyYTVTV3RMRGJ3MkE9PSIsInZhbHVlIjoiRExvS1Q2dDlKQ1NnWTVnUitTdzVFWHpLRTZvUlhrSDlNYzVTVHVPRmFVUmlBbUN0VlpYckU3UmZORDlnTTI1VzVwOWI4Sk9GUURxeWRlRTF5UHBLckE9PSIsIm1hYyI6ImNiNjY0NDVlYjQ3ZDQxNTQ3YTA5MjFhODIzM2NmMGRkNTUyZTUyNDg3N2ZmNWZjZDIxMTNlZWQzYzAwOGI0OWQifQ==',
'PHPSESSID' => '1j9auql5o4qb6d8f3pcod1e266',
'_identity' => '96bc6101a889cbd7c4874c2a95d4a2896e4f42aea6391f96a1f1312b14647b51a:2:{i:0;s:9:"_identity";i:1;s:50:"[4,"08d95edd-69c9-428a-ab94-9d754de62ea4",2592000]";}',
];
$_SESSION = [
'__flash' => [],
'__returnUrl' => [
0 => '/custom_pages/view/index',
'id' => 2,
],
'currentAuthClientId' => 'ldap',
'__id' => 4,
'__expire' => 1471035288,
];