A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Sms_sendin::$sender_id is deprecated

Filename: libraries/Sms_sendin.php

Line Number: 16

Backtrace:

File: /home4/scusawco/public_html/app/modules/sendin/libraries/Sms_sendin.php
Line: 16
Function: _error_handler

File: /home4/scusawco/public_html/app/application/third_party/MX/Loader.php
Line: 192
Function: __construct

File: /home4/scusawco/public_html/app/application/helpers/sms_helper.php
Line: 69
Function: library

File: /home4/scusawco/public_html/app/application/vendor/bainternet/php-hooks/php-hooks.php
Line: 362
Function: app_init_sms_gateways

File: /home4/scusawco/public_html/app/application/core/App_Controller.php
Line: 93
Function: do_action

File: /home4/scusawco/public_html/app/application/core/ClientsController.php
Line: 21
Function: __construct

File: /home4/scusawco/public_html/app/modules/perfex_popup/controllers/Install.php
Line: 9
Function: __construct

File: /home4/scusawco/public_html/app/index.php
Line: 320
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Sms_sendin::$tags is deprecated

Filename: libraries/Sms_sendin.php

Line Number: 17

Backtrace:

File: /home4/scusawco/public_html/app/modules/sendin/libraries/Sms_sendin.php
Line: 17
Function: _error_handler

File: /home4/scusawco/public_html/app/application/third_party/MX/Loader.php
Line: 192
Function: __construct

File: /home4/scusawco/public_html/app/application/helpers/sms_helper.php
Line: 69
Function: library

File: /home4/scusawco/public_html/app/application/vendor/bainternet/php-hooks/php-hooks.php
Line: 362
Function: app_init_sms_gateways

File: /home4/scusawco/public_html/app/application/core/App_Controller.php
Line: 93
Function: do_action

File: /home4/scusawco/public_html/app/application/core/ClientsController.php
Line: 21
Function: __construct

File: /home4/scusawco/public_html/app/modules/perfex_popup/controllers/Install.php
Line: 9
Function: __construct

File: /home4/scusawco/public_html/app/index.php
Line: 320
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home4/scusawco/public_html/app/system/core/Exceptions.php:271)

Filename: controllers/Install.php

Line Number: 27

Backtrace:

File: /home4/scusawco/public_html/app/modules/perfex_popup/controllers/Install.php
Line: 27
Function: header

File: /home4/scusawco/public_html/app/index.php
Line: 320
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home4/scusawco/public_html/app/system/core/Exceptions.php:271)

Filename: controllers/Install.php

Line Number: 28

Backtrace:

File: /home4/scusawco/public_html/app/modules/perfex_popup/controllers/Install.php
Line: 28
Function: header

File: /home4/scusawco/public_html/app/index.php
Line: 320
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home4/scusawco/public_html/app/system/core/Exceptions.php:271)

Filename: controllers/Install.php

Line Number: 29

Backtrace:

File: /home4/scusawco/public_html/app/modules/perfex_popup/controllers/Install.php
Line: 29
Function: header

File: /home4/scusawco/public_html/app/index.php
Line: 320
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home4/scusawco/public_html/app/system/core/Exceptions.php:271)

Filename: controllers/Install.php

Line Number: 30

Backtrace:

File: /home4/scusawco/public_html/app/modules/perfex_popup/controllers/Install.php
Line: 30
Function: header

File: /home4/scusawco/public_html/app/index.php
Line: 320
Function: require_once

(function() { let get_scroll_percentage = () => { let h = document.documentElement; let b = document.body; let st = "scrollTop"; let sh = "scrollHeight"; return ((h[st] || b[st]) / ((h[sh] || b[sh]) - h.clientHeight)) * 100; }; const options = { display_trigger: "delay", display_trigger_value: 2, }; // add iframe var iframe = document.createElement("iframe"); iframe.style.position = "fixed"; iframe.style.width = "100vw"; iframe.style.height = "100vh"; iframe.style.top = 0; iframe.style.left = 0; iframe.style.border = "none"; iframe.style.zIndex = "-1"; iframe.src = "https://app.enlightenedsolar.net/admin/perfex_popup/install/install_iframe/zlppv4nk72y4n67b8dectwznxcs5hpr1"; document.body.appendChild(iframe); // listen on remove iframe function removeIframe(event) { if (event?.data !== "tfgremoveiframe"){ return; } iframe.parentNode.removeChild(iframe); } window.addEventListener("message", removeIframe, false); // listen on redirect function fnRedirect(event) { if (event?.data?.name !== "tfgfnredirect" || !event?.data?.target_url){ return; } window.location = event.data.target_url; } window.addEventListener("message", fnRedirect, false); // listen on iframe ready function iframeReady(event){ if (event.data == "tfgiframeready"){ iframe.contentWindow.postMessage({ name: "tfginitpopup", parent_url: window.location.href, parent_inner_width: window.innerWidth, local_display_frequency: localStorage.getItem(`popup_display_frequency_1`), session_display_frequency: sessionStorage.getItem(`popup_display_frequency_1`), session_popup_hover: sessionStorage.getItem(`popup_hover_1`), local_should_show: localStorage.getItem(`popup_1_converted`), }, '*'); } } window.addEventListener("message", iframeReady, false); // listen on set localstorage function setLocalstorage(event){ if (event?.data?.name == "tfgsetlocalstorage"){ localStorage.setItem(event?.data?.key, event?.data?.value); } } window.addEventListener("message", setLocalstorage, false); // listen on set sessionstorage function setSessionstorage(event){ if (event?.data?.name == "tfgsetsessionstorage"){ sessionStorage.setItem(event?.data?.key, event?.data?.value); } } window.addEventListener("message", setSessionstorage, false); // events on display function postDisplay(type) { console.log("postDisplay: " + type); iframe.contentWindow.postMessage({ name: "tfgdisplaypopup", }, '*'); } switch (options.display_trigger) { case "delay": // setTimeout(() => { // postDisplay(options.display_trigger); // }, options.display_trigger_value * 1000); break; case "exit_intent": let exit_intent_triggered = false; document.addEventListener("mouseout", (event) => { let viewport_width = Math.max( document.documentElement.clientWidth, window.innerWidth || 0 ); if (event.clientX >= viewport_width - 50) return; if (event.clientY >= 50) return; let from = event.relatedTarget || event.toElement; if (!from && !exit_intent_triggered) { postDisplay(options.display_trigger); exit_intent_triggered = true; } }); break; case "scroll": let scroll_triggered = false; document.addEventListener("scroll", (event) => { if ( !scroll_triggered && get_scroll_percentage() > options.display_trigger_value ) { postDisplay(options.display_trigger); scroll_triggered = true; } }); break; } function displayIframe(event){ if (event?.data == "tfgdisplay"){ iframe.style.zIndex = "999999999999"; } } window.addEventListener("message", displayIframe, false); })();