Upgrading to Acorn 3 got Roots\Acorn\Assets\Manager::manifest(): Argument #1 ($name) must be of type string, null given

I changed functions & ThemeServiceProvider following the Upgrading Guide and got this issue.

After taking a look and comparing the v2 & v3 configs, it seems doesn’t load the acorn default config.

V2:

"config" => Illuminate\Config\Repository {#498 ▼
  #items: array:20 [▼
    "acf" => array:1 [▶]
    "app" => array:12 [▶]
    "constants" => array:2 [▶]
    "laravel-google-analytics" => array:2 [▶]
    "poet" => array:8 [▶]
    "services" => array:3 [▶]
    "cors" => array:8 [▶]
    "auth" => array:5 [▶]
    "broadcasting" => array:2 [▶]
    "cache" => array:3 [▶]
    "database" => array:4 [▶]
    "filesystems" => array:3 [▶]
    "hashing" => array:3 [▶]
    "logging" => array:3 [▶]
    "mail" => array:4 [▶]
    "queue" => array:3 [▶]
    "session" => array:15 [▶]
    "view" => array:5 [▶]
    "sanctum" => array:3 [▶]
    "assets" => array:2 [▼
      "default" => "theme"
      "manifests" => array:1 [▶]
    ]
  ]

V3:

"config" => Illuminate\Config\Repository {#503 ▼
  #items: array:5 [▼
    "acf" => array:1 [▶]
    "app" => array:12 [▶]
    "constants" => array:2 [▶]
    "laravel-google-analytics" => array:2 [▶]
    "poet" => array:8 [▶]
  ]

Am I missing something here? Or maybe should I publish all acorn config to the theme directory?

See How to best ask questions on this forum

How do we reproduce this issue?

Fixed, my bad! it’s a false positive.

Just now I remember that there are no any code changes related to the issue, I tried to recheck both bedrock and theme composer packages and found out I have the package illuminate/pagination: 8.x, and it works now by removing it.

The package installed was due to log1x/pagi by default trying to install the 9 version instead of 8.