═══ Option #170 config ═══ name_en: Approve Whatsapp name_ar: موافق واتساب قروب methods: ["email","sms","whatsapp"] whatsapp_template_id: 'investor_acceptance_with_whatsapp_group' whatsapp_placeholders: ["{{first_name_ar}}"] notification_title: 'تم قبول طلبكم للانضمام إلى مجتمع نمو للاستثمار الملائكي' notification_body: '

مرحبا {{first_name_ar}}،<...' ═══ Test investor ═══ id=1 name="" email=rami@robocallz.ai phone=966544043799 ═══ Dispatching… ═══ Numu Angels

Internal Server Error

Error

tests/Manual/test_label_option_170_notifications.php:58

Unknown named parameter $investor

LARAVEL 12.58.0
PHP 8.2.33
UNHANDLED
CODE 0
500
GET
https://dev.numuangels.net/numu_development/public

Exception trace

tests/Manual/test_label_option_170_notifications.php
tests/Manual/test_label_option_170_notifications.php:58
53$beforeId = (int) (NotificationLog::query()->max('id') ?? 0);5455echo "\n═══ Dispatching… ═══\n";56$service = app(NotificationService::class);57$logs = $service->dispatch(58    investor: $investor,59    option:   $option,60    eventMeta: [61        'triggered_event' => 'label_option_changed',62        'label_key'       => 'action',63        'old_option_id'   => null,64        'new_option_id'   => 170,65        'old_value'       => null,66        'new_value'       => 'approve_w',67        'admin_id'        => null,68    ],69);70

Queries

mysql
select * from `label_options` where `label_options`.`id` = 170 and `label_options`.`deleted_at` is null limit 1
4.16ms
mysql
select * from `investors` where `email` is not null and `email` != '' and `phone_number` is not null and `phone_number` != '' and `investors`.`deleted_at` is null limit 1
7.09ms
mysql
select max(`id`) as aggregate from `notification_logs`
1.93ms

Headers

host
dev.numuangels.net
user-agent
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
accept
*/*
accept-language
en-us,en;q=0.5
accept-charset
ISO-8859-1,utf-8;q=0.7,*;q=0.7
accept-encoding
gzip, br, zstd, deflate

Body

// No request body

Routing

// No routing context

Routing parameters

// No routing parameters