Skip to content

Bug: Fresh Laravel 12.56.0 + PHP 8.5.2 install crashes after creating first post #103

@efast1568

Description

@efast1568

Bug description

On a fresh installation of Laravel 12.56.0 running on PHP 8.5.2, the application crashes immediately after publishing the first post. The error occurs during rendering of the post list view.

laravel/framework 12.49.0 → ❌ No issue (works normally)
laravel/framework 12.56.0 ~13.3 → ❌ Crash occurs after first post creation

No other changes were introduced in the environment besides the framework upgrade.

Steps to reproduce

Steps to reproduce

Install a clean Laravel 12.56.0 project
Set up the required database schema
Ensure Waterhole (or the related package) is installed and configured
Create the first post
Open the page that renders the post list

Logs

TypeError
Cannot assign null to property Waterhole\View\Components\PostListItem::$title of type Illuminate\Support\HtmlString|string

Location:
vendor/waterhole/core/src/View/Components/PostListItem.php:29

Environment

Laravel Version ............................................................................. 12.49.0  
  PHP Version ................................................................................... 8.5.2  
  Composer Version .............................................................................. 2.9.5  
  Environment .............................................................................. production  
  Debug Mode .................................................................................. ENABLED  
  URL ................................................................................ www.subarist.net  
  Maintenance Mode ................................................................................ OFF  
  Timezone ......................................................................... Australia/Adelaide  
  Locale ...................................................................................... zh-Hant  
  Waterhole Version ............................................................................ v0.6.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions