Skip to content

2.1.2

Choose a tag to compare

@gp247net gp247net released this 04 Sep 13:36

fix(route): register Livewire admin screen outside the namespaced group

The Core 2.0 admin screen is a full-page Livewire component registered with
Route::get('/', AdminLivewire::class). It sat inside a route group carrying
'namespace' => '\App\GP247\Plugins\CheckIP\Admin', so Laravel prepended that
namespace to the class-string action and produced an invalid, doubled reference
(...CheckIP\Admin\App\GP247\Plugins\CheckIP\Livewire\AdminLivewire), breaking
route registration whenever the plugin was active ("#GP247::plugin_load:: Invalid
route action").

Register the Livewire route in the outer prefix/middleware group (no namespace),
and keep the legacy AdminController string routes in their own nested namespaced
group — mirroring the pattern used by CashPayment/ShippingStandard. Bump 2.1.1 -> 2.1.2.

Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com