Files
nextcloud-analytics/analyticshub
WLTBAgent bf809ef6af Fix: Change $appName from private to protected for Nextcloud Controller
- Changed $appName property visibility from private to protected
  - OCP\AppFramework\Controller requires protected visibility
  - Error: "must be protected (as in class OCP\AppFramework\Controller)"
  - Same applies to $request property
- This is the final routing/access fix after 7 hours of debugging
  - Fixed: Routes, navigation, parent constructor, class name, path conflicts
  - All issues resolved - controller now properly extends OCP\AppFramework\Controller
- Controller now fully compatible with Nextcloud's DI and permission system

The error showed that protected property visibility is required by Nextcloud's Controller base class.
This is the final fix for all routing and access issues!
2026-02-13 20:34:24 +00:00
..