Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr5ad731fe6aa39-trace').style.display = (document.getElementById('cakeErr5ad731fe6aa39-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: array_intersect(): Argument #2 is not an array [<b>ROOT/config/Common.php</b>, line <b>245</b>]<div id="cakeErr5ad731fe6aa39-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr5ad731fe6aa39-code').style.display = (document.getElementById('cakeErr5ad731fe6aa39-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr5ad731fe6aa39-context').style.display = (document.getElementById('cakeErr5ad731fe6aa39-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr5ad731fe6aa39-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
- <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $toIgnore </span><span style="color: #007700">= </span><span style="color: #0000BB">self</span><span style="color: #007700">::</span><span style="color: #0000BB">getParam</span><span style="color: #007700">(</span><span style="color: #DD0000">'UAT Recipient Emails To Ignore'</span><span style="color: #007700">, </span><span style="color: #0000BB">true</span><span style="color: #007700">);</span></span></code></span>
- <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!empty(</span><span style="color: #0000BB">$toIgnore</span><span style="color: #007700">) && </span><span style="color: #0000BB">array_intersect</span><span style="color: #007700">(</span><span style="color: #0000BB">$toIgnore</span><span style="color: #007700">, </span><span style="color: #0000BB">$recipients</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr5ad731fe6aa39-context" class="cake-context" style="display: none;">$recipients = 'assureclaims@GardX.co.uk'
- $template = 'mobile_claim_registration'
- $subject = 'Mobile Claim Has Been Registered: 1800000089'
- $params = [
- 'data' => [
- 'registrationTime' => object(Cake\I18n\Time) {},
- 'dealerGroup' => 'Vindis Group Ltd (9)',
- 'customer' => 'Carine Osusky',
- 'policyNo' => 'UVWVND-00002074',
- 'claimNo' => '1800000089'
- ]
- ]
- $attachments = []
- $layout = 'empty'
- $message = null
- $from = [
- (int) 0 => 'igard@defendinsurance.eu'
- ]
- $bcc = []
- $toIgnore = [
- (int) 0 => 'vaidotas.kniuras@gmail.com',
- (int) 1 => 'amanda.massey@gardx.co.uk ',
- (int) 2 => 'richard.gonzalez@gardx.co.uk',
- (int) 3 => 'richard.hage@gardx.co.uk ',
- (int) 4 => 'dave.allmark@gardx.co.uk',
- (int) 5 => 'chloe.tallett@gard.co.uk',
- (int) 6 => 'leoni.brooke@gardx.co.uk',
- (int) 7 => 'lee.scragg@gardx.co.uk',
- (int) 8 => 'dick.king@gardx.co.uk',
- (int) 9 => 'steven.bennett@gardx.co.uk',
- (int) 10 => 'wendy.robbins@gardx.co.uk ',
- (int) 11 => 'steve.waldron@gardx.co.uk',
- (int) 12 => 'steve.edwards@gardx.co.uk ',
- (int) 13 => 'david.sharman@gardx.co.uk',
- (int) 14 => 'sianne.donovan@gardx.co.uk ',
- (int) 15 => 'sean.quinn@gardx.co.uk',
- (int) 16 => 'andrew.bainbridge@gardx.co.uk',
- (int) 17 => 'mark.barker@gardx.co.uk ',
- (int) 18 => 'david.southall@gardx.co.uk',
- (int) 19 => 'tim.johnson@gardx.co.uk',
- (int) 20 => 'ejay.damiano@gardx.co.uk',
- (int) 21 => 'stuart.kennedy@gardx.co.uk',
- (int) 22 => 'phil.tickle@gardx.co.uk'
- ]</pre><pre class="stack-trace">array_intersect - [internal], line ??
- App\Utils\Common::sendEmail() - ROOT/config/Common.php, line 245
- App\Controller\MobileRequestsController::sendClaimRegistrationEmail() - APP/Controller/MobileRequestsController.php, line 305
- App\Controller\MobileRequestsController::saveClaim() - APP/Controller/MobileRequestsController.php, line 217
- Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 430
- Cake\Routing\Dispatcher::_invoke() - CORE/src/Routing/Dispatcher.php, line 114
- Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 87
- [main] - ROOT/webroot/index.php, line 37</pre></div></pre>{
- "success": true,
- "data": {
- "Customer": [
- {
- "first_name": "Carine",
- "last_name": "Osusky",
- "company_name": null,
- "email": "testsell@test.com",
- "telephone": null,
- "cell_phone": null
- }
- ],
- "Vehicle": [
- {
- "make": "MERCEDES-BENZ",
- "model": "A180 BLUEEFFICIENCY SPORT",
- "body_style": "5 Door Hatchback",
- "vrm": "KN64NXF",
- "vin": "WDD1760422V032138"
- }
- ],
- "Policies": [
- {
- "id": "2073",
- "policy_no": "UVPVND-00002073",
- "claim_single_limit": "150",
- "claim_aggregate_limit": "900",
- "claim_total_no": "6",
- "claim_annual_no": "6",
- "inception_date": "2018-04-18",
- "expiry_date": "2019-04-18",
- "term": "12",
- "excess": "0",
- "product_id": "213",
- "product": "C.A.R.S. Plus",
- "status": "Completed",
- "current_claims_year": "1",
- "claims_number_this_year": "2",
- "claims_annual_limit": "6",
- "claims_total_limit": "6",
- "total_claims_number": "6",
- "currency": "GBP",
- "CauseTypes": {
- "1": "Collision",
- "2": "Falling Object",
- "6": "Impact with Animal",
- "7": "Impact with Fixed Object",
- "9": "Malicious Damage",
- "10": "Natural Hazard",
- "11": "Offroad Hazard",
- "12": "Other",
- "13": "Parking (maneuvering)",
- "14": "Parking (standing)",
- "15": "Road Hazard"
- },
- "LossTypes": {
- "4": "Chip",
- "6": "Chip \u0026 Dent",
- "1": "Dent",
- "2": "Scratch",
- "5": "Scratch \u0026 Dent",
- "3": "Scuff"
- },
- "CausalParts": {
- "4": "Front Bumper [BODY]",
- "21": "Front Grille [BODY]",
- "18": "N\/S Spolier \/ Skirt [BODY]",
- "6": "N\/S\/F Door [BODY]",
- "5": "N\/S\/F Wing [BODY]",
- "7": "N\/S\/R Door [BODY]",
- "8": "N\/S\/R Quarter Panel [BODY]",
- "20": "O\/S Spoiler \/ Skirt [BODY]",
- "13": "O\/S\/F Door [BODY]",
- "14": "O\/S\/F Wing [BODY]",
- "12": "O\/S\/R Door [BODY]",
- "11": "O\/S\/R Quarter Panel [BODY]",
- "9": "Rear Bumper [BODY]",
- "19": "Rear Spoiler \/ Skirt [BODY]",
- "10": "Rear Tailgate [BODY]"
- },
- "link": "https:\/\/uat.igard.biz\/admin\/api\/files\/read?file=NzgzZmVhYmYzOGQzYTliNjdjNTk5YzI4NDUxNDcxNmRhM2IwNzlkZTA2NmRlMTJkMGI1YjNjMmMxMWNiY2QwMeHFgo_afYvG7D2UjKplPkZTRMADrgRYxuBrRlQnsIWiXkL73lirzpXVQe2ERJFjZ60loAN-iKti65cqVuAOREke6QgPwonFqDFSo_0bzp7O_-5EYr6P256yIL2u1Nmzakl_Dd8BMUAhPwUfB8Mg974"
- },
- {
- "id": "2074",
- "policy_no": "UVWVND-00002074",
- "claim_single_limit": "300",
- "claim_aggregate_limit": "4400",
- "claim_total_no": "32",
- "claim_annual_no": "16",
- "inception_date": "2018-04-18",
- "expiry_date": "2020-04-18",
- "term": "24",
- "excess": "0",
- "product_id": "216",
- "product": "Tyre and Alloy Wheel Protection",
- "status": "Completed",
- "current_claims_year": "1",
- "claims_number_this_year": "8",
- "claims_annual_limit": "16",
- "claims_total_limit": "32",
- "total_claims_number": "8",
- "currency": "GBP",
- "CauseTypes": {
- "1": "Collision",
- "5": "Foreign Object",
- "7": "Impact with Fixed Object",
- "8": "Kerb Damage",
- "9": "Malicious Damage",
- "11": "Offroad Hazard",
- "12": "Other",
- "15": "Road Hazard",
- "16": "Road in Disrepair"
- },
- "LossTypes": {
- "9": "Tyre Blowout",
- "10": "Tyre Break \/ Bulge",
- "11": "Tyre Cut",
- "7": "Tyre Puncture",
- "8": "Tyre Sidewall Damage",
- "14": "Wheel Cracked",
- "15": "Wheel Dented",
- "13": "Wheel Gouged",
- "12": "Wheel Scratched"
- },
- "CausalParts": {
- "29": "N\/S\/F Tyre [TYRES]",
- "24": "N\/S\/F Wheel [WHEELS]",
- "30": "N\/S\/R Tyre [TYRES]",
- "25": "N\/S\/R Wheel [WHEELS]",
- "27": "O\/S\/F Tyre [TYRES]",
- "22": "O\/S\/F Wheel [WHEELS]",
- "28": "O\/S\/R Tyre [TYRES]",
- "23": "O\/S\/R Wheel [WHEELS]"
- },
- "link": "https:\/\/uat.igard.biz\/admin\/api\/files\/read?file=MzkyMWEyMzQ2MDFmOTRiNGYwNDgzNTdhYWRjNmFlOTczMzYzZjA5NmMwYTg4MjZkNjZjMDU4MTI1MzY1NDJlMD8mwBgaoEHZm8ivNZ60jFXYsMbagfBxxYZ2FT3m-xQPzViPZ_X4RHr8BZhLQIn7qU89ViMqHq0IqrnYxpzVCb35ONKFwibQinEr8wZSsxc48bslo8TBHMvx_Qr14u6m-v6JtM9TpAw69gnUY7rFhck"
- }
- ],
- "Claims": [
- {
- "id": "89",
- "claim_no": "1800000089",
- "policy_id": "2074",
- "date_of_loss": "2018-04-18",
- "claim_loss_type_id": "15",
- "claim_loss_type": "Wheel Dented",
- "claim_cause_type_id": "16",
- "claim_cause_type": "Road in Disrepair",
- "claim_causal_part_group_id": "24",
- "claim_causal_part_group": "WHEELS",
- "claim_causal_part_id": "22",
- "claim_causal_part": "O\/S\/F Wheel",
- "claim_causal_part_code": "Y",
- "mileage_on_dol": "6655",
- "claim_status": "Reported",
- "currency": "GBP",
- "cause_notes": "Jdhdhdj\n\nSkskdk\nSuper",
- "attachments": [
- ]
- }
- ]
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement