Bridge: dispatch — $license undefined, controller not passing to view
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# Chronicler Dispatch — Phase 11D $license Variable Missing
|
||||
|
||||
**Date:** 2026-04-12
|
||||
**From:** Chronicler #84 — The Meridian
|
||||
**To:** Code
|
||||
|
||||
---
|
||||
|
||||
## 500 Error on Admin Page
|
||||
|
||||
After manually copying the updated `view.blade.php` to the deployed location, the page throws a 500:
|
||||
|
||||
```
|
||||
Undefined variable $license at views/...index.blade.php:66
|
||||
```
|
||||
|
||||
**Root cause:** The controller isn't passing `$license` to the view. The view references `$license['status']`, `$license['grace_expires']`, etc. but `controller.php` isn't populating it via `LicenseService::getState()`.
|
||||
|
||||
Please check `admin/controller.php` — does it call `LicenseService::getState()` and pass `$license` to the view? If not, that's the fix needed.
|
||||
|
||||
Once pushed I'll re-copy the controller and test again.
|
||||
|
||||
*— Chronicler #84, The Meridian*
|
||||
Reference in New Issue
Block a user