SPF Setup view bug

An exception is thrown when viewing SPF Setup (/apps/spf) on an account with dns,provider=builtin. Am I missing a setting or is this brokey somehow?

EXCEPTION: array_column(): Argument #1 ($array) must be of type array, bool given (View: /usr/local/apnscp/apps/spf/views/index.blade.php) (View: /usr/local/apnscp/resources/views/partials/app/content.blade.php) (View: /usr/local/apnscp/resources/views/partials/app/content.blade.php) (View: /usr/local/apnscp/resources/views/partials/app/content.blade.php) [/usr/local/apnscp/apps/spf/spf.php:115]
        0. Illuminate\View\Engines\CompilerEngine->handleViewException(Illuminate\View\ViewException, 1)
           [/usr/local/apnscp/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:45]
        1. Illuminate\View\Engines\PhpEngine->evaluatePath("/usr/local/apnscp/storage/framework/cache/abbee3a8670a7ff514f44c04bde78dc24c73fd48.php", [__env:Illuminate\View\Factory, app:Illuminate\Container\Container, Page:apps\spf\Page, []])
           [/usr/local/apnscp/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:59]
        2. Illuminate\View\Engines\CompilerEngine->get("/usr/local/apnscp/resources/views/layout.blade.php", [__env:Illuminate\View\Factory, app:Illuminate\Container\Container, Page:apps\spf\Page, []])
           [/usr/local/apnscp/vendor/laravel/framework/src/Illuminate/View/View.php:143]
        3. Illuminate\View\View->getContents()
           [/usr/local/apnscp/vendor/laravel/framework/src/Illuminate/View/View.php:126]
        4. Illuminate\View\View->renderContents()
           [/usr/local/apnscp/vendor/laravel/framework/src/Illuminate/View/View.php:91]
        5. Illuminate\View\View->render()
           [/usr/local/apnscp/lib/BladeLite.php:212]
        6. BladeLite->render("layout", [Page:apps\spf\Page, []])
           [/usr/local/apnscp/lib/html/page_container.php:782]
        7. Page_Container->render()
           [/usr/local/apnscp/lib/html/page_container.php:1051]
        8. Page_Container->handle_request()
           [/usr/local/apnscp/public/index.php:99]

Thanks for the bug report, fixed in edge.

builtin assumes a custom DNS module, which the functionality should be at least present even if it’s not fully implemented.

1 Like