You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 10, 2023. It is now read-only.
After upgrading to 2.0.0 from 9.0.0-beta4, I can only get static methods to work in the templates. I am using the Sage 1.0 release.
I change app/controllers to app/Controllers, changed the namespace of the two example controllers to App\Controllers and changed the filenames to App.php and FrontPage.php
Again, using the default examples from Sage, in resources/views/partials/page-header.blade.php, I have to change App::title() to \App\Controllers\App::title() - This static function works as expected.
However, any public methods do not appear to show up in the templates.
When I put @debug into resources/views/app.blade.php I get: Warning: reset() expects parameter 1 to be array, null given in /home/vagrant/Code/alairhomes3.0/wp-content/themes/alairhomes/vendor/soberwp/controller/src/Debugger.php on line 34
There is the same error repeated for lines 37 and 71
Is there something I'm doing wrong or something I missed when upgrading?