- use fully qualified class name in a view:
\Illuminate\Support\Str::method(...)
// instead of
Str::method(...)
- put in a view, at the beginning:
@use('\Illuminate\Support\Str')
Class "Str" not found (View: /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/resources/exceptions/renderer/markdown.blade.php)
http://localhost:8080/v2/games post method it give us this error above we are having Laravel with frankenphp "laravel/framework": "^12.0", using as builder FROM dunglas/frankenphp:1-php8.4-bookworm AS builder
the application works via frontend but if you put the api in browser or postman it will give you this error
Please or to participate in this conversation.