Files
nextcloud-analytics/analyticshub
WLTBAgent 628aef59b3 Fix: Make PageController extend OCP\AppFramework\Controller
- Added parent::__construct() call to PageController
  - Fixes: "must be an instance of OCP\AppFramework\Controller"
  - Error: Argument 1 passed to Dispatcher was PageController, not Controller
- This is the CRITICAL fix for controller DI in Nextcloud
- PageController now properly extends OCP\AppFramework\Controller
- Maintains simple HTML output for testing

The error showed the controller wasn't properly extending the base class.
Nextcloud's Dispatcher requires all controllers to extend OCP\AppFramework\Controller.
2026-02-13 20:32:02 +00:00
..