Skip to content
This repository has been archived by the owner on Dec 16, 2019. It is now read-only.

Call to a member function init() on null #81

Open
aradhell opened this issue Jul 18, 2017 · 0 comments
Open

Call to a member function init() on null #81

aradhell opened this issue Jul 18, 2017 · 0 comments

Comments

@aradhell
Copy link

Hello,

If you are not logged in and try to access a page it is not redirecting to login or something else.

action page_function
func view_item
item_id 75
page 1
public function handle_page_function () {
        $pageId = $this->url->get('page');
        $this->page = $this->app->getPageById($pageId);
        $this->page->init($this->app);
        $func = $this->url->get("func");
        ValueBag::set("pageId", $this->page->getId());
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant