Dashboard Single Page empty

Permalink
I'm trying to add a dashboard single page which is a subpage of another package single page (i'm extending the vivid store add-on with a custom payment gateway and i'd like an extra setup page below the settings page).
When I go to the page, it is empty ... well not empty, it just doesn't have a title and no content.

I've checked and rechecked everything but I can't find anything wrong.
Even if I rename the controller (rendering it useless), then nothing changes... still no title and content.

Paths:
packages/store_mollie/controllers/single_page/dashboard/store/settings/paymollie.php
packages/store_mollie/single_pages/dashboard/store/settings/paymollie.php

Namespace controller:
namespace Concrete\Package\StoreMollie\Controller\SinglePage\Dashboard\Store\Settings;


What could be wrong?

Jozzeh
 
Jozzeh replied on at Permalink Reply
Jozzeh
UH...... Found the problem.
For future reference in case anyone would get the issue...

The problem did not reside in the controller or single page, but in the package controller.
SinglePage::add('/dashboard/store/settings/paymollie', $pkg);

$pkg was not defined... that was the error