if (!function_exists('set_test_license')) { function set_test_license() { if (app()->environment('local', 'development')) { try { // Import required models $settingModel = app(\App\Models\Setting::class); $settingTwoModel = app(\App\Models\SettingTwo::class); // Set basic settings $settingModel::updateOrCreate( ['key' => 'license_status'], ['value' => 'active'] ); $settingModel::updateOrCreate( ['key' => 'license_key'], ['value' => 'TEST_KEY'] ); // Set SettingTwo values $settingTwoModel::updateOrCreate( ['id' => 1], [ 'liquid_license_domain_key' => 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx', 'liquid_license_type' => 'Extended License' ] ); // Create portal data file $portalData = [ 'liquid_license_type' => 'Extended License', 'liquid_license_domain_key' => 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx', 'installed' => true ]; \Illuminate\Support\Facades\Storage::disk('local')->put('portal', serialize($portalData)); // Clear all relevant cache \Illuminate\Support\Facades\Cache::forget('settings'); \Illuminate\Support\Facades\Cache::forget('settings_two'); \Illuminate\Support\Facades\Cache::forget('check_license_domain_' . request()->getHost()); \Illuminate\Support\Facades\Cache::flush(); return true; } catch (\Exception $e) { \Illuminate\Support\Facades\Log::error('License activation error: ' . $e->getMessage()); return false; } } return false; } } An Error Occurred: Not Found

Oops! An Error Occurred

The server returned a "404 Not Found".

Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.