Whoops! There was an error.
ErrorException (E_ERROR)
Trying to get property 'updated' of non-object (View: /home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/resources/views/partials/module-popup-consultation.blade.php) (View: /home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/resources/views/partials/module-popup-consultation.blade.php)
Previous exceptions
  • Trying to get property 'updated' of non-object (View: /home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/resources/views/partials/module-popup-consultation.blade.php) (0)
  • Trying to get property 'updated' of non-object (0)
ErrorException thrown with message "Trying to get property 'updated' of non-object (View: /home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/resources/views/partials/module-popup-consultation.blade.php) (View: /home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/resources/views/partials/module-popup-consultation.blade.php)" Stacktrace: #38 ErrorException in /home/redboxmediaprod/public_html/wp-content/plugins/gappointments/includes/gcal_sync.php:861 #37 Illuminate\View\Engines\CompilerEngine:handleViewException in /home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/vendor/illuminate/view/Engines/PhpEngine.php:60 #36 ErrorException in /home/redboxmediaprod/public_html/wp-content/plugins/gappointments/includes/gcal_sync.php:861 #35 Illuminate\View\Engines\CompilerEngine:handleViewException in /home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/vendor/illuminate/view/Engines/PhpEngine.php:60 #34 ErrorException in /home/redboxmediaprod/public_html/wp-content/plugins/gappointments/includes/gcal_sync.php:861 #33 Illuminate\Foundation\Bootstrap\HandleExceptions:handleError in /home/redboxmediaprod/public_html/wp-content/plugins/gappointments/includes/gcal_sync.php:861 #32 ga_gcal_sync:event_difference in /home/redboxmediaprod/public_html/wp-content/plugins/gappointments/includes/gcal_sync.php:669 #31 ga_gcal_sync:sync_events in /home/redboxmediaprod/public_html/wp-content/plugins/gappointments/gf-fields/ga-calendar.php:1319 #30 GA_Calendar:two_way_sync in /home/redboxmediaprod/public_html/wp-content/plugins/gappointments/gf-fields/ga-calendar.php:60 #29 GA_Calendar:__construct in /home/redboxmediaprod/public_html/wp-content/plugins/gappointments/gf-fields/gf-booking-calendar.php:199 #28 GF_Appointment_Booking_Calendar:get_field_input in /home/redboxmediaprod/public_html/wp-content/plugins/gravityforms/common.php:3868 #27 GFCommon:get_field_input in /home/redboxmediaprod/public_html/wp-content/plugins/gravityforms/form_display.php:4104 #26 GFFormDisplay:get_field_content in /home/redboxmediaprod/public_html/wp-content/plugins/gravityforms/form_display.php:4024 #25 GFFormDisplay:get_field in /home/redboxmediaprod/public_html/wp-content/plugins/gravityforms/form_display.php:1245 #24 GFFormDisplay:get_form in /home/redboxmediaprod/public_html/wp-content/plugins/gravityforms/gravityforms.php:3335 #23 GFForms:get_form in /home/redboxmediaprod/public_html/wp-content/plugins/gravityforms/gravityforms.php:2024 #22 GFForms:parse_shortcode in /home/redboxmediaprod/public_html/wp-includes/shortcodes.php:433 #21 do_shortcode_tag in [internal]:0 #20 preg_replace_callback in /home/redboxmediaprod/public_html/wp-includes/shortcodes.php:273 #19 do_shortcode in /home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/storage/framework/views/4bcd0f46ce24110dd9dbee6402b1fea00fdbc66b.php:25 #18 require in /home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/vendor/illuminate/filesystem/Filesystem.php:107 #17 Illuminate\Filesystem\Filesystem:Illuminate\Filesystem\{closure} in /home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/vendor/illuminate/filesystem/Filesystem.php:108 #16 Illuminate\Filesystem\Filesystem:getRequire in /home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/vendor/illuminate/view/Engines/PhpEngine.php:58 #15 Illuminate\View\Engines\PhpEngine:evaluatePath in /home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/vendor/illuminate/view/Engines/CompilerEngine.php:61 #14 Illuminate\View\Engines\CompilerEngine:get in /home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/vendor/illuminate/view/View.php:139 #13 Illuminate\View\View:getContents in /home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/vendor/illuminate/view/View.php:122 #12 Illuminate\View\View:renderContents in /home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/vendor/illuminate/view/View.php:91 #11 Illuminate\View\View:render in /home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/storage/framework/views/8ccb056c45ee966eaa67b7d36a8274cbeae87a67.php:63 #10 require in /home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/vendor/illuminate/filesystem/Filesystem.php:107 #9 Illuminate\Filesystem\Filesystem:Illuminate\Filesystem\{closure} in /home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/vendor/illuminate/filesystem/Filesystem.php:108 #8 Illuminate\Filesystem\Filesystem:getRequire in /home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/vendor/illuminate/view/Engines/PhpEngine.php:58 #7 Illuminate\View\Engines\PhpEngine:evaluatePath in /home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/vendor/illuminate/view/Engines/CompilerEngine.php:61 #6 Illuminate\View\Engines\CompilerEngine:get in /home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/vendor/illuminate/view/View.php:139 #5 Illuminate\View\View:getContents in /home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/vendor/illuminate/view/View.php:122 #4 Illuminate\View\View:renderContents in /home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/vendor/illuminate/view/View.php:91 #3 Illuminate\View\View:render in /home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/index.php:16 #2 include in /home/redboxmediaprod/public_html/wp-includes/template-loader.php:106 #1 require_once in /home/redboxmediaprod/public_html/wp-blog-header.php:19 #0 require in /home/redboxmediaprod/public_html/index.php:17
38
ErrorException
/home/redboxmediaprod/public_html/wp-content/plugins/gappointments/includes/gcal_sync.php861
37
Illuminate\View\Engines\CompilerEngine handleViewException
/vendor/illuminate/view/Engines/PhpEngine.php60
36
ErrorException
/home/redboxmediaprod/public_html/wp-content/plugins/gappointments/includes/gcal_sync.php861
35
Illuminate\View\Engines\CompilerEngine handleViewException
/vendor/illuminate/view/Engines/PhpEngine.php60
34
ErrorException
/home/redboxmediaprod/public_html/wp-content/plugins/gappointments/includes/gcal_sync.php861
33
Illuminate\Foundation\Bootstrap\HandleExceptions handleError
/home/redboxmediaprod/public_html/wp-content/plugins/gappointments/includes/gcal_sync.php861
32
ga_gcal_sync event_difference
/home/redboxmediaprod/public_html/wp-content/plugins/gappointments/includes/gcal_sync.php669
31
ga_gcal_sync sync_events
/home/redboxmediaprod/public_html/wp-content/plugins/gappointments/gf-fields/ga-calendar.php1319
30
GA_Calendar two_way_sync
/home/redboxmediaprod/public_html/wp-content/plugins/gappointments/gf-fields/ga-calendar.php60
29
GA_Calendar __construct
/home/redboxmediaprod/public_html/wp-content/plugins/gappointments/gf-fields/gf-booking-calendar.php199
28
GF_Appointment_Booking_Calendar get_field_input
/home/redboxmediaprod/public_html/wp-content/plugins/gravityforms/common.php3868
27
GFCommon get_field_input
/home/redboxmediaprod/public_html/wp-content/plugins/gravityforms/form_display.php4104
26
GFFormDisplay get_field_content
/home/redboxmediaprod/public_html/wp-content/plugins/gravityforms/form_display.php4024
25
GFFormDisplay get_field
/home/redboxmediaprod/public_html/wp-content/plugins/gravityforms/form_display.php1245
24
GFFormDisplay get_form
/home/redboxmediaprod/public_html/wp-content/plugins/gravityforms/gravityforms.php3335
23
GFForms get_form
/home/redboxmediaprod/public_html/wp-content/plugins/gravityforms/gravityforms.php2024
22
GFForms parse_shortcode
/home/redboxmediaprod/public_html/wp-includes/shortcodes.php433
21
do_shortcode_tag
[internal]0
20
preg_replace_callback
/home/redboxmediaprod/public_html/wp-includes/shortcodes.php273
19
do_shortcode
/storage/framework/views/4bcd0f46ce24110dd9dbee6402b1fea00fdbc66b.php25
18
require
/vendor/illuminate/filesystem/Filesystem.php107
17
Illuminate\Filesystem\Filesystem Illuminate\Filesystem\{closure}
/vendor/illuminate/filesystem/Filesystem.php108
16
Illuminate\Filesystem\Filesystem getRequire
/vendor/illuminate/view/Engines/PhpEngine.php58
15
Illuminate\View\Engines\PhpEngine evaluatePath
/vendor/illuminate/view/Engines/CompilerEngine.php61
14
Illuminate\View\Engines\CompilerEngine get
/vendor/illuminate/view/View.php139
13
Illuminate\View\View getContents
/vendor/illuminate/view/View.php122
12
Illuminate\View\View renderContents
/vendor/illuminate/view/View.php91
11
Illuminate\View\View render
/storage/framework/views/8ccb056c45ee966eaa67b7d36a8274cbeae87a67.php63
10
require
/vendor/illuminate/filesystem/Filesystem.php107
9
Illuminate\Filesystem\Filesystem Illuminate\Filesystem\{closure}
/vendor/illuminate/filesystem/Filesystem.php108
8
Illuminate\Filesystem\Filesystem getRequire
/vendor/illuminate/view/Engines/PhpEngine.php58
7
Illuminate\View\Engines\PhpEngine evaluatePath
/vendor/illuminate/view/Engines/CompilerEngine.php61
6
Illuminate\View\Engines\CompilerEngine get
/vendor/illuminate/view/View.php139
5
Illuminate\View\View getContents
/vendor/illuminate/view/View.php122
4
Illuminate\View\View renderContents
/vendor/illuminate/view/View.php91
3
Illuminate\View\View render
/index.php16
2
include
/home/redboxmediaprod/public_html/wp-includes/template-loader.php106
1
require_once
/home/redboxmediaprod/public_html/wp-blog-header.php19
0
require
/home/redboxmediaprod/public_html/index.php17
/home/redboxmediaprod/public_html/wp-content/plugins/gappointments/includes/gcal_sync.php
     * The array to compare from
     * @param array|object $old_events
     * An array to compare against
     * @return array an array containing all entries from
     * new events that were updated or are not present in the old events array.
     */
    public function event_difference( $new_events, $old_events ) {
        $map = $difference = array();
 
        // Create map of new sync events
        foreach( $new_events as $new_event ) {
            $map[$new_event->id] = $new_event;
        }
 
        foreach( $old_events as $old_event ) {
            $map_key = $old_event->event_id;
 
            if( isset( $map[$map_key] ) ) {
                $last_updated_old = date(DateTime::RFC3339_EXTENDED, strtotime($old_event->event_last_updated));
                $last_updated_new = date(DateTime::RFC3339_EXTENDED, strtotime($map[$map_key]->updated));
 
                if( $last_updated_new === $last_updated_old ) {
                    // Event already exists in gAppointments.
                    $map[$map_key] = 0;
                } else {
                    // Event was updated or deleted. Append stdClass object with id of post.
                    $map[$map_key] = (object) array_merge( (array) $map[$map_key], array( 'post_id' => $old_event->post_id ) );
                }
            }
        }
 
        foreach( $map as $event_id => $event ) {
            if( isset( $event->status) && $event->status === 'cancelled' && !isset( $event->post_id ) ) {
                // Event does not exists and/or already deleted from gAppointments.
                continue;
            } else {
                // Event was created. It will be added to gAppointments.
            }
 
            if( !is_int( $event ) ) $difference[] = $event;
Arguments
  1. "Trying to get property 'updated' of non-object (View: /home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/resources/views/partials/module-popup-consultation.blade.php) (View: /home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/resources/views/partials/module-popup-consultation.blade.php)"
    
/home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/vendor/illuminate/view/Engines/PhpEngine.php
    /**
     * Get the evaluated contents of the view at the given path.
     *
     * @param  string  $path
     * @param  array  $data
     * @return string
     */
    protected function evaluatePath($path, $data)
    {
        $obLevel = ob_get_level();
 
        ob_start();
 
        // We'll evaluate the contents of the view inside a try/catch block so we can
        // flush out any stray output that might get out before an error occurs or
        // an exception is thrown. This prevents any partial views from leaking.
        try {
            $this->files->getRequire($path, $data);
        } catch (Throwable $e) {
            $this->handleViewException($e, $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Throwable  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Throwable
     */
    protected function handleViewException(Throwable $e, $obLevel)
    {
        while (ob_get_level() > $obLevel) {
            ob_end_clean();
        }
 
Arguments
  1. ErrorException {#14224
      #message: "Trying to get property 'updated' of non-object (View: /home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/resources/views/partials/module-popup-consultation.blade.php)"
      #code: 0
      #file: "/home/redboxmediaprod/public_html/wp-content/plugins/gappointments/includes/gcal_sync.php"
      #line: 861
      -previous: ErrorException {#15019
        #message: "Trying to get property 'updated' of non-object"
        #code: 0
        #file: "/home/redboxmediaprod/public_html/wp-content/plugins/gappointments/includes/gcal_sync.php"
        #line: 861
        #severity: E_NOTICE
      }
      #severity: E_ERROR
    }
    
  2. 3
    
/home/redboxmediaprod/public_html/wp-content/plugins/gappointments/includes/gcal_sync.php
     * The array to compare from
     * @param array|object $old_events
     * An array to compare against
     * @return array an array containing all entries from
     * new events that were updated or are not present in the old events array.
     */
    public function event_difference( $new_events, $old_events ) {
        $map = $difference = array();
 
        // Create map of new sync events
        foreach( $new_events as $new_event ) {
            $map[$new_event->id] = $new_event;
        }
 
        foreach( $old_events as $old_event ) {
            $map_key = $old_event->event_id;
 
            if( isset( $map[$map_key] ) ) {
                $last_updated_old = date(DateTime::RFC3339_EXTENDED, strtotime($old_event->event_last_updated));
                $last_updated_new = date(DateTime::RFC3339_EXTENDED, strtotime($map[$map_key]->updated));
 
                if( $last_updated_new === $last_updated_old ) {
                    // Event already exists in gAppointments.
                    $map[$map_key] = 0;
                } else {
                    // Event was updated or deleted. Append stdClass object with id of post.
                    $map[$map_key] = (object) array_merge( (array) $map[$map_key], array( 'post_id' => $old_event->post_id ) );
                }
            }
        }
 
        foreach( $map as $event_id => $event ) {
            if( isset( $event->status) && $event->status === 'cancelled' && !isset( $event->post_id ) ) {
                // Event does not exists and/or already deleted from gAppointments.
                continue;
            } else {
                // Event was created. It will be added to gAppointments.
            }
 
            if( !is_int( $event ) ) $difference[] = $event;
Arguments
  1. "Trying to get property 'updated' of non-object (View: /home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/resources/views/partials/module-popup-consultation.blade.php)"
    
Exception message: Trying to get property 'updated' of non-object (View: /home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/resources/views/partials/module-popup-consultation.blade.php)
/home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/vendor/illuminate/view/Engines/PhpEngine.php
    /**
     * Get the evaluated contents of the view at the given path.
     *
     * @param  string  $path
     * @param  array  $data
     * @return string
     */
    protected function evaluatePath($path, $data)
    {
        $obLevel = ob_get_level();
 
        ob_start();
 
        // We'll evaluate the contents of the view inside a try/catch block so we can
        // flush out any stray output that might get out before an error occurs or
        // an exception is thrown. This prevents any partial views from leaking.
        try {
            $this->files->getRequire($path, $data);
        } catch (Throwable $e) {
            $this->handleViewException($e, $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Throwable  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Throwable
     */
    protected function handleViewException(Throwable $e, $obLevel)
    {
        while (ob_get_level() > $obLevel) {
            ob_end_clean();
        }
 
Arguments
  1. ErrorException {#15019
      #message: "Trying to get property 'updated' of non-object"
      #code: 0
      #file: "/home/redboxmediaprod/public_html/wp-content/plugins/gappointments/includes/gcal_sync.php"
      #line: 861
      #severity: E_NOTICE
    }
    
  2. 5
    
/home/redboxmediaprod/public_html/wp-content/plugins/gappointments/includes/gcal_sync.php
     * The array to compare from
     * @param array|object $old_events
     * An array to compare against
     * @return array an array containing all entries from
     * new events that were updated or are not present in the old events array.
     */
    public function event_difference( $new_events, $old_events ) {
        $map = $difference = array();
 
        // Create map of new sync events
        foreach( $new_events as $new_event ) {
            $map[$new_event->id] = $new_event;
        }
 
        foreach( $old_events as $old_event ) {
            $map_key = $old_event->event_id;
 
            if( isset( $map[$map_key] ) ) {
                $last_updated_old = date(DateTime::RFC3339_EXTENDED, strtotime($old_event->event_last_updated));
                $last_updated_new = date(DateTime::RFC3339_EXTENDED, strtotime($map[$map_key]->updated));
 
                if( $last_updated_new === $last_updated_old ) {
                    // Event already exists in gAppointments.
                    $map[$map_key] = 0;
                } else {
                    // Event was updated or deleted. Append stdClass object with id of post.
                    $map[$map_key] = (object) array_merge( (array) $map[$map_key], array( 'post_id' => $old_event->post_id ) );
                }
            }
        }
 
        foreach( $map as $event_id => $event ) {
            if( isset( $event->status) && $event->status === 'cancelled' && !isset( $event->post_id ) ) {
                // Event does not exists and/or already deleted from gAppointments.
                continue;
            } else {
                // Event was created. It will be added to gAppointments.
            }
 
            if( !is_int( $event ) ) $difference[] = $event;
Arguments
  1. "Trying to get property 'updated' of non-object"
    
Exception message: Trying to get property 'updated' of non-object
/home/redboxmediaprod/public_html/wp-content/plugins/gappointments/includes/gcal_sync.php
     * The array to compare from
     * @param array|object $old_events
     * An array to compare against
     * @return array an array containing all entries from
     * new events that were updated or are not present in the old events array.
     */
    public function event_difference( $new_events, $old_events ) {
        $map = $difference = array();
 
        // Create map of new sync events
        foreach( $new_events as $new_event ) {
            $map[$new_event->id] = $new_event;
        }
 
        foreach( $old_events as $old_event ) {
            $map_key = $old_event->event_id;
 
            if( isset( $map[$map_key] ) ) {
                $last_updated_old = date(DateTime::RFC3339_EXTENDED, strtotime($old_event->event_last_updated));
                $last_updated_new = date(DateTime::RFC3339_EXTENDED, strtotime($map[$map_key]->updated));
 
                if( $last_updated_new === $last_updated_old ) {
                    // Event already exists in gAppointments.
                    $map[$map_key] = 0;
                } else {
                    // Event was updated or deleted. Append stdClass object with id of post.
                    $map[$map_key] = (object) array_merge( (array) $map[$map_key], array( 'post_id' => $old_event->post_id ) );
                }
            }
        }
 
        foreach( $map as $event_id => $event ) {
            if( isset( $event->status) && $event->status === 'cancelled' && !isset( $event->post_id ) ) {
                // Event does not exists and/or already deleted from gAppointments.
                continue;
            } else {
                // Event was created. It will be added to gAppointments.
            }
 
            if( !is_int( $event ) ) $difference[] = $event;
Arguments
  1. 8
    
  2. "Trying to get property 'updated' of non-object"
    
  3. "/home/redboxmediaprod/public_html/wp-content/plugins/gappointments/includes/gcal_sync.php"
    
  4. 861
    
  5. array:9 [
    "new_events" => array:9 [
    0 => {#14300}
    1 => {#14278}
    2 => {#14272}
    3 => {#14253}
    4 => {#14308}
    5 => {#14314}
    6 => {#14320}
    7 => {#14326}
    8 => {#14332}
    ]
    "old_events" => array:683 [
    0 => {#14299}
    1 => {#14306}
    2 => {#14338}
    3 => {#14349}
    4 => {#14346}
    5 => {#14347}
    6 => {#14348}
    7 => {#14345}
    8 => {#14344}
    9 => {#14343}
    10 => {#14342}
    11 => {#14341}
    12 => {#14340}
    13 => {#14339}
    14 => {#14350}
    15 => {#14351}
    16 => {#14352}
    17 => {#14353}
    18 => {#14354}
    19 => {#14355}
    20 => {#14356}
    21 => {#14357}
    22 => {#14358}
    23 => {#14359}
    24 => {#14360}
    25 => {#14361}
    26 => {#14362}
    27 => {#14363}
    28 => {#14364}
    29 => {#14365}
    30 => {#14366}
    31 => {#14367}
    32 => {#14368}
    33 => {#14369}
    34 => {#14370}
    35 => {#14371}
    36 => {#14372}
    37 => {#14373}
    38 => {#14374}
    39 => {#14375}
    40 => {#14376}
    41 => {#14377}
    42 => {#14378}
    43 => {#14379}
    44 => {#14380}
    45 => {#14381}
    46 => {#14382}
    47 => {#14383}
    48 => {#14384}
    49 => {#14385}
    50 => {#14386}
    51 => {#14387}
    52 => {#14388}
    53 => {#14389}
    54 => {#14390}
    55 => {#14391}
    56 => {#14392}
    57 => {#14393}
    58 => {#14394}
    59 => {#14395}
    60 => {#14396}
    61 => {#14397}
    62 => {#14398}
    63 => {#14399}
    64 => {#14400}
    65 => {#14401}
    66 => {#14402}
    67 => {#14403}
    68 => {#14404}
    69 => {#14405}
    70 => {#14406}
    71 => {#14407}
    72 => {#14408}
    73 => {#14409}
    74 => {#14410}
    75 => {#14411}
    76 => {#14412}
    77 => {#14413}
    78 => {#14414}
    79 => {#14415}
    80 => {#14416}
    81 => {#14417}
    82 => {#14418}
    83 => {#14419}
    84 => {#14420}
    85 => {#14421}
    86 => {#14422}
    87 => {#14423}
    88 => {#14424}
    89 => {#14425}
    90 => {#14426}
    91 => {#14427}
    92 => {#14428}
    93 => {#14429}
    94 => {#14430}
    95 => {#14431}
    96 => {#14432}
    97 => {#14433}
    98 => {#14434}
    99 => {#14435}
    100 => {#14436}
    101 => {#14437}
    102 => {#14438}
    103 => {#14439}
    104 => {#14440}
    105 => {#14441}
    106 => {#14442}
    107 => {#14443}
    108 => {#14444}
    109 => {#14445}
    110 => {#14446}
    111 => {#14447}
    112 => {#14448}
    113 => {#14449}
    114 => {#14450}
    115 => {#14451}
    116 => {#14452}
    117 => {#14453}
    118 => {#14454}
    119 => {#14455}
    120 => {#14456}
    121 => {#14457}
    122 => {#14458}
    123 => {#14459}
    124 => {#14460}
    125 => {#14461}
    126 => {#14462}
    127 => {#14463}
    128 => {#14464}
    129 => {#14465}
    130 => {#14466}
    131 => {#14467}
    132 => {#14468}
    133 => {#14469}
    134 => {#14470}
    135 => {#14471}
    136 => {#14472}
    137 => {#14473}
    138 => {#14474}
    139 => {#14475}
    140 => {#14476}
    141 => {#14477}
    142 => {#14478}
    143 => {#14479}
    144 => {#14480}
    145 => {#14481}
    146 => {#14482}
    147 => {#14483}
    148 => {#14484}
    149 => {#14485}
    150 => {#14486}
    151 => {#14487}
    152 => {#14488}
    153 => {#14489}
    154 => {#14490}
    155 => {#14491}
    156 => {#14492}
    157 => {#14493}
    158 => {#14494}
    159 => {#14495}
    160 => {#14496}
    161 => {#14497}
    162 => {#14498}
    163 => {#14499}
    164 => {#14500}
    165 => {#14501}
    166 => {#14502}
    167 => {#14503}
    168 => {#14504}
    169 => {#14505}
    170 => {#14506}
    171 => {#14507}
    172 => {#14508}
    173 => {#14509}
    174 => {#14510}
    175 => {#14511}
    176 => {#14512}
    177 => {#14513}
    178 => {#14514}
    179 => {#14515}
    180 => {#14516}
    181 => {#14517}
    182 => {#14518}
    183 => {#14519}
    184 => {#14520}
    185 => {#14521}
    186 => {#14522}
    187 => {#14523}
    188 => {#14524}
    189 => {#14525}
    190 => {#14526}
    191 => {#14527}
    192 => {#14528}
    193 => {#14529}
    194 => {#14530}
    195 => {#14531}
    196 => {#14532}
    197 => {#14533}
    198 => {#14534}
    199 => {#14535}
    200 => {#14536}
    201 => {#14537}
    202 => {#14538}
    203 => {#14539}
    204 => {#14540}
    205 => {#14541}
    206 => {#14542}
    207 => {#14543}
    208 => {#14544}
    209 => {#14545}
    210 => {#14546}
    211 => {#14547}
    212 => {#14548}
    213 => {#14549}
    214 => {#14550}
    215 => {#14551}
    216 => {#14552}
    217 => {#14553}
    218 => {#14554}
    219 => {#14555}
    220 => {#14556}
    221 => {#14557}
    222 => {#14558}
    223 => {#14559}
    224 => {#14560}
    225 => {#14561}
    226 => {#14562}
    227 => {#14563}
    228 => {#14564}
    229 => {#14565}
    230 => {#14566}
    231 => {#14567}
    232 => {#14568}
    233 => {#14569}
    234 => {#14570}
    235 => {#14571}
    236 => {#14572}
    237 => {#14573}
    238 => {#14574}
    239 => {#14575}
    240 => {#14576}
    241 => {#14577}
    242 => {#14578}
    243 => {#14579}
    244 => {#14580}
    245 => {#14581}
    246 => {#14582}
    247 => {#14583}
    248 => {#14584}
    249 => {#14585}
    250 => {#14586}
    251 => {#14587}
    252 => {#14588}
    253 => {#14589}
    254 => {#14590}
    255 => {#14591}
    256 => {#14592}
    257 => {#14593}
    258 => {#14594}
    259 => {#14595}
    260 => {#14596}
    261 => {#14597}
    262 => {#14598}
    263 => {#14599}
    264 => {#14600}
    265 => {#14601}
    266 => {#14602}
    267 => {#14603}
    268 => {#14604}
    269 => {#14605}
    270 => {#14606}
    271 => {#14607}
    272 => {#14608}
    273 => {#14609}
    274 => {#14610}
    275 => {#14611}
    276 => {#14612}
    277 => {#14613}
    278 => {#14614}
    279 => {#14615}
    280 => {#14616}
    281 => {#14617}
    282 => {#14618}
    283 => {#14619}
    284 => {#14620}
    285 => {#14621}
    286 => {#14622}
    287 => {#14623}
    288 => {#14624}
    289 => {#14625}
    290 => {#14626}
    291 => {#14627}
    292 => {#14628}
    293 => {#14629}
    294 => {#14630}
    295 => {#14631}
    296 => {#14632}
    297 => {#14633}
    298 => {#14634}
    299 => {#14635}
    300 => {#14636}
    301 => {#14637}
    302 => {#14638}
    303 => {#14639}
    304 => {#14640}
    305 => {#14641}
    306 => {#14642}
    307 => {#14643}
    308 => {#14644}
    309 => {#14645}
    310 => {#14646}
    311 => {#14647}
    312 => {#14648}
    313 => {#14649}
    314 => {#14650}
    315 => {#14651}
    316 => {#14652}
    317 => {#14653}
    318 => {#14654}
    319 => {#14655}
    320 => {#14656}
    321 => {#14657}
    322 => {#14658}
    323 => {#14659}
    324 => {#14660}
    325 => {#14661}
    326 => {#14662}
    327 => {#14663}
    328 => {#14664}
    329 => {#14665}
    330 => {#14666}
    331 => {#14667}
    332 => {#14668}
    333 => {#14669}
    334 => {#14670}
    335 => {#14671}
    336 => {#14672}
    337 => {#14673}
    338 => {#14674}
    339 => {#14675}
    340 => {#14676}
    341 => {#14677}
    342 => {#14678}
    343 => {#14679}
    344 => {#14680}
    345 => {#14681}
    346 => {#14682}
    347 => {#14683}
    348 => {#14684}
    349 => {#14685}
    350 => {#14686}
    351 => {#14687}
    352 => {#14688}
    353 => {#14689}
    354 => {#14690}
    355 => {#14691}
    356 => {#14692}
    357 => {#14693}
    358 => {#14694}
    359 => {#14695}
    360 => {#14696}
    361 => {#14697}
    362 => {#14698}
    363 => {#14699}
    364 => {#14700}
    365 => {#14701}
    366 => {#14702}
    367 => {#14703}
    368 => {#14704}
    369 => {#14705}
    370 => {#14706}
    371 => {#14707}
    372 => {#14708}
    373 => {#14709}
    374 => {#14710}
    375 => {#14711}
    376 => {#14712}
    377 => {#14713}
    378 => {#14714}
    379 => {#14715}
    380 => {#14716}
    381 => {#14717}
    382 => {#14718}
    383 => {#14719}
    384 => {#14720}
    385 => {#14721}
    386 => {#14722}
    387 => {#14723}
    388 => {#14724}
    389 => {#14725}
    390 => {#14726}
    391 => {#14727}
    392 => {#14728}
    393 => {#14729}
    394 => {#14730}
    395 => {#14731}
    396 => {#14732}
    397 => {#14733}
    398 => {#14734}
    399 => {#14735}
    400 => {#14736}
    401 => {#14737}
    402 => {#14738}
    403 => {#14739}
    404 => {#14740}
    405 => {#14741}
    406 => {#14742}
    407 => {#14743}
    408 => {#14744}
    409 => {#14745}
    410 => {#14746}
    411 => {#14747}
    412 => {#14748}
    413 => {#14749}
    414 => {#14750}
    415 => {#14751}
    416 => {#14752}
    417 => {#14753}
    418 => {#14754}
    419 => {#14755}
    420 => {#14756}
    421 => {#14757}
    422 => {#14758}
    423 => {#14759}
    424 => {#14760}
    425 => {#14761}
    426 => {#14762}
    427 => {#14763}
    428 => {#14764}
    429 => {#14765}
    430 => {#14766}
    431 => {#14767}
    432 => {#14768}
    433 => {#14769}
    434 => {#14770}
    435 => {#14771}
    436 => {#14772}
    437 => {#14773}
    438 => {#14774}
    439 => {#14775}
    440 => {#14776}
    441 => {#14777}
    442 => {#14778}
    443 => {#14779}
    444 => {#14780}
    445 => {#14781}
    446 => {#14782}
    447 => {#14783}
    448 => {#14784}
    449 => {#14785}
    450 => {#14786}
    451 => {#14787}
    452 => {#14788}
    453 => {#14789}
    454 => {#14790}
    455 => {#14791}
    456 => {#14792}
    457 => {#14793}
    458 => {#14794}
    459 => {#14795}
    460 => {#14796}
    461 => {#14797}
    462 => {#14798}
    463 => {#14799}
    464 => {#14800}
    465 => {#14801}
    466 => {#14802}
    467 => {#14803}
    468 => {#14804}
    469 => {#14805}
    470 => {#14806}
    471 => {#14807}
    472 => {#14808}
    473 => {#14809}
    474 => {#14810}
    475 => {#14811}
    476 => {#14812}
    477 => {#14813}
    478 => {#14814}
    479 => {#14815}
    480 => {#14816}
    481 => {#14817}
    482 => {#14818}
    483 => {#14819}
    484 => {#14820}
    485 => {#14821}
    486 => {#14822}
    487 => {#14823}
    488 => {#14824}
    489 => {#14825}
    490 => {#14826}
    491 => {#14827}
    492 => {#14828}
    493 => {#14829}
    494 => {#14830}
    495 => {#14831}
    496 => {#14832}
    497 => {#14833}
    498 => {#14834}
    499 => {#14835}
    500 => {#14836}
    501 => {#14837}
    502 => {#14838}
    503 => {#14839}
    504 => {#14840}
    505 => {#14841}
    506 => {#14842}
    507 => {#14843}
    508 => {#14844}
    509 => {#14845}
    510 => {#14846}
    511 => {#14847}
    512 => {#14848}
    513 => {#14849}
    514 => {#14850}
    515 => {#14851}
    516 => {#14852}
    517 => {#14853}
    518 => {#14854}
    519 => {#14855}
    520 => {#14856}
    521 => {#14857}
    522 => {#14858}
    523 => {#14859}
    524 => {#14860}
    525 => {#14861}
    526 => {#14862}
    527 => {#14863}
    528 => {#14864}
    529 => {#14865}
    530 => {#14866}
    531 => {#14867}
    532 => {#14868}
    533 => {#14869}
    534 => {#14870}
    535 => {#14871}
    536 => {#14872}
    537 => {#14873}
    538 => {#14874}
    539 => {#14875}
    540 => {#14876}
    541 => {#14877}
    542 => {#14878}
    543 => {#14879}
    544 => {#14880}
    545 => {#14881}
    546 => {#14882}
    547 => {#14883}
    548 => {#14884}
    549 => {#14885}
    550 => {#14886}
    551 => {#14887}
    552 => {#14888}
    553 => {#14889}
    554 => {#14890}
    555 => {#14891}
    556 => {#14892}
    557 => {#14893}
    558 => {#14894}
    559 => {#14895}
    560 => {#14896}
    561 => {#14897}
    562 => {#14898}
    563 => {#14899}
    564 => {#14900}
    565 => {#14901}
    566 => {#14902}
    567 => {#14903}
    568 => {#14904}
    569 => {#14905}
    570 => {#14906}
    571 => {#14907}
    572 => {#14908}
    573 => {#14909}
    574 => {#14910}
    575 => {#14911}
    576 => {#14912}
    577 => {#14913}
    578 => {#14914}
    579 => {#14915}
    580 => {#14916}
    581 => {#14917}
    582 => {#14918}
    583 => {#14919}
    584 => {#14920}
    585 => {#14921}
    586 => {#14922}
    587 => {#14923}
    588 => {#14924}
    589 => {#14925}
    590 => {#14926}
    591 => {#14927}
    592 => {#14928}
    593 => {#14929}
    594 => {#14930}
    595 => {#14931}
    596 => {#14932}
    597 => {#14933}
    598 => {#14934}
    599 => {#14935}
    600 => {#14936}
    601 => {#14937}
    602 => {#14938}
    603 => {#14939}
    604 => {#14940}
    605 => {#14941}
    606 => {#14942}
    607 => {#14943}
    608 => {#14944}
    609 => {#14945}
    610 => {#14946}
    611 => {#14947}
    612 => {#14948}
    613 => {#14949}
    614 => {#14950}
    615 => {#14951}
    616 => {#14952}
    617 => {#14953}
    618 => {#14954}
    619 => {#14955}
    620 => {#14956}
    621 => {#14957}
    622 => {#14958}
    623 => {#14959}
    624 => {#14960}
    625 => {#14961}
    626 => {#14962}
    627 => {#14963}
    628 => {#14964}
    629 => {#14965}
    630 => {#14966}
    631 => {#14967}
    632 => {#14968}
    633 => {#14969}
    634 => {#14970}
    635 => {#14971}
    636 => {#14972}
    637 => {#14973}
    638 => {#14974}
    639 => {#14975}
    640 => {#14976}
    641 => {#14977}
    642 => {#14978}
    643 => {#14979}
    644 => {#14980}
    645 => {#14981}
    646 => {#14982}
    647 => {#14983}
    648 => {#14984}
    649 => {#14985}
    650 => {#14986}
    651 => {#14987}
    652 => {#14988}
    653 => {#14989}
    654 => {#14990}
    655 => {#14991}
    656 => {#14992}
    657 => {#14993}
    658 => {#14994}
    659 => {#14995}
    660 => {#14996}
    661 => {#14997}
    662 => {#14998}
    663 => {#14999}
    664 => {#15000}
    665 => {#15001}
    666 => {#15002}
    667 => {#15003}
    668 => {#15004}
    669 => {#15005}
    670 => {#15006}
    671 => {#15007}
    672 => {#15008}
    673 => {#15009}
    674 => {#15010}
    675 => {#15011}
    676 => {#15012}
    677 => {#15013}
    678 => {#15014}
    679 => {#15015}
    680 => {#15016}
    681 => {#15017}
    682 => {#15018}
    ]
    "map" => array:9 [
    "cco3ac36chhmab9lckqm2b9k71h3cbb174oj8b9m6sojce9l6pgm4d9ock" => 0
    "7hjc9mtv5ruas53mnlfpg9oc90" => {#14278}
    "6oq3ephhccrmcb9hcos62b9kccojib9p6tj3ib9nccpj2oj16dhm8cpj6o" => 0
    "69ij8d326gsjeb9ockq68b9k68o3eb9oc4s6abb268q38dj36pgmap1nck" => {#14253}
    "75hjioph6kr34bb470o36b9k74sjabb265i36bb674o3ecj26hj6ce1i64" => {#14308}
    "75j66d1ichimcb9l65ij8b9kcgpj8b9p75i34bb171i3ecpg61im6p35cg" => {#14314}
    "cgrj4e9mc9ijab9jc4qjcb9kc8o34bb274q38b9o6pim8c1j6hh68e36co" => {#14320}
    "6grmcp9i6gsjab9h60q3cb9k65h3gbb1c5h66b9i6hi32ohp6ko32cj664" => {#14326}
    "69hj6d3469j3ab9h6pi6cb9kckqmabb16hi3gb9p60sjeo9j61gj4pj3c8" => {#14332}
    ]
    "difference" => []
    "new_event" => {#14332}
    "old_event" => {#14966}
    "map_key" => "6oq3ephhccrmcb9hcos62b9kccojib9p6tj3ib9nccpj2oj16dhm8cpj6o"
    "last_updated_old" => "2024-06-10T20:43:39.000+00:00"
    "last_updated_new" => "2024-06-10T20:43:39.000+00:00"
    ]
    
/home/redboxmediaprod/public_html/wp-content/plugins/gappointments/includes/gcal_sync.php
     */
public function sync_events() {
if( !$this->is_two_way_sync() ) {
return false;
}
$calendar_id  = $this->get_calendar_id();
if( $calendar_id === 'primary' ) {
return false;
}
$events_new  = $this->get_events( $calendar_id );
if( isset( $events_new ) && !empty( $events_new ) ) {
wp_defer_term_counting(true);
wp_defer_comment_counting(true);
$events_old = $this->get_events_by_calendar_id( $calendar_id );
$events_to_update = $this->event_difference( $events_new, $events_old );
// Prepare default two-way syncronization service
$gcal_service_id = get_default_sync_service();
$gcal_service_id = is_null($gcal_service_id) ? $this->create_default_sync_service() : $gcal_service_id;
foreach( $events_to_update as $event ) {
// Get service ID by event's summary
if ( isset( $event->summary ) && preg_match('/\\[(.*?)\\]/', $event->summary, $match ) ) {
$service_id = $this->get_service_id_by_title($match[1]);
}
// Set default two-way syncronization service as service ID
if ( !isset( $service_id ) ) {
$service_id = $gcal_service_id;
}
// Delete syncronization event if it was cancelled
if ( isset( $event->status, $event->post_id ) && $event->status === 'cancelled' && $service_id === $this->get_service_id( $event->post_id ) ) {
wp_delete_post( $event->post_id, true );
Arguments
  1. array:9 [
    0 => {#14300}
    1 => {#14278}
    2 => {#14272}
    3 => {#14253}
    4 => {#14308}
    5 => {#14314}
    6 => {#14320}
    7 => {#14326}
    8 => {#14332}
    ]
    
  2. array:683 [
    0 => {#14299}
    1 => {#14306}
    2 => {#14338}
    3 => {#14349}
    4 => {#14346}
    5 => {#14347}
    6 => {#14348}
    7 => {#14345}
    8 => {#14344}
    9 => {#14343}
    10 => {#14342}
    11 => {#14341}
    12 => {#14340}
    13 => {#14339}
    14 => {#14350}
    15 => {#14351}
    16 => {#14352}
    17 => {#14353}
    18 => {#14354}
    19 => {#14355}
    20 => {#14356}
    21 => {#14357}
    22 => {#14358}
    23 => {#14359}
    24 => {#14360}
    25 => {#14361}
    26 => {#14362}
    27 => {#14363}
    28 => {#14364}
    29 => {#14365}
    30 => {#14366}
    31 => {#14367}
    32 => {#14368}
    33 => {#14369}
    34 => {#14370}
    35 => {#14371}
    36 => {#14372}
    37 => {#14373}
    38 => {#14374}
    39 => {#14375}
    40 => {#14376}
    41 => {#14377}
    42 => {#14378}
    43 => {#14379}
    44 => {#14380}
    45 => {#14381}
    46 => {#14382}
    47 => {#14383}
    48 => {#14384}
    49 => {#14385}
    50 => {#14386}
    51 => {#14387}
    52 => {#14388}
    53 => {#14389}
    54 => {#14390}
    55 => {#14391}
    56 => {#14392}
    57 => {#14393}
    58 => {#14394}
    59 => {#14395}
    60 => {#14396}
    61 => {#14397}
    62 => {#14398}
    63 => {#14399}
    64 => {#14400}
    65 => {#14401}
    66 => {#14402}
    67 => {#14403}
    68 => {#14404}
    69 => {#14405}
    70 => {#14406}
    71 => {#14407}
    72 => {#14408}
    73 => {#14409}
    74 => {#14410}
    75 => {#14411}
    76 => {#14412}
    77 => {#14413}
    78 => {#14414}
    79 => {#14415}
    80 => {#14416}
    81 => {#14417}
    82 => {#14418}
    83 => {#14419}
    84 => {#14420}
    85 => {#14421}
    86 => {#14422}
    87 => {#14423}
    88 => {#14424}
    89 => {#14425}
    90 => {#14426}
    91 => {#14427}
    92 => {#14428}
    93 => {#14429}
    94 => {#14430}
    95 => {#14431}
    96 => {#14432}
    97 => {#14433}
    98 => {#14434}
    99 => {#14435}
    100 => {#14436}
    101 => {#14437}
    102 => {#14438}
    103 => {#14439}
    104 => {#14440}
    105 => {#14441}
    106 => {#14442}
    107 => {#14443}
    108 => {#14444}
    109 => {#14445}
    110 => {#14446}
    111 => {#14447}
    112 => {#14448}
    113 => {#14449}
    114 => {#14450}
    115 => {#14451}
    116 => {#14452}
    117 => {#14453}
    118 => {#14454}
    119 => {#14455}
    120 => {#14456}
    121 => {#14457}
    122 => {#14458}
    123 => {#14459}
    124 => {#14460}
    125 => {#14461}
    126 => {#14462}
    127 => {#14463}
    128 => {#14464}
    129 => {#14465}
    130 => {#14466}
    131 => {#14467}
    132 => {#14468}
    133 => {#14469}
    134 => {#14470}
    135 => {#14471}
    136 => {#14472}
    137 => {#14473}
    138 => {#14474}
    139 => {#14475}
    140 => {#14476}
    141 => {#14477}
    142 => {#14478}
    143 => {#14479}
    144 => {#14480}
    145 => {#14481}
    146 => {#14482}
    147 => {#14483}
    148 => {#14484}
    149 => {#14485}
    150 => {#14486}
    151 => {#14487}
    152 => {#14488}
    153 => {#14489}
    154 => {#14490}
    155 => {#14491}
    156 => {#14492}
    157 => {#14493}
    158 => {#14494}
    159 => {#14495}
    160 => {#14496}
    161 => {#14497}
    162 => {#14498}
    163 => {#14499}
    164 => {#14500}
    165 => {#14501}
    166 => {#14502}
    167 => {#14503}
    168 => {#14504}
    169 => {#14505}
    170 => {#14506}
    171 => {#14507}
    172 => {#14508}
    173 => {#14509}
    174 => {#14510}
    175 => {#14511}
    176 => {#14512}
    177 => {#14513}
    178 => {#14514}
    179 => {#14515}
    180 => {#14516}
    181 => {#14517}
    182 => {#14518}
    183 => {#14519}
    184 => {#14520}
    185 => {#14521}
    186 => {#14522}
    187 => {#14523}
    188 => {#14524}
    189 => {#14525}
    190 => {#14526}
    191 => {#14527}
    192 => {#14528}
    193 => {#14529}
    194 => {#14530}
    195 => {#14531}
    196 => {#14532}
    197 => {#14533}
    198 => {#14534}
    199 => {#14535}
    200 => {#14536}
    201 => {#14537}
    202 => {#14538}
    203 => {#14539}
    204 => {#14540}
    205 => {#14541}
    206 => {#14542}
    207 => {#14543}
    208 => {#14544}
    209 => {#14545}
    210 => {#14546}
    211 => {#14547}
    212 => {#14548}
    213 => {#14549}
    214 => {#14550}
    215 => {#14551}
    216 => {#14552}
    217 => {#14553}
    218 => {#14554}
    219 => {#14555}
    220 => {#14556}
    221 => {#14557}
    222 => {#14558}
    223 => {#14559}
    224 => {#14560}
    225 => {#14561}
    226 => {#14562}
    227 => {#14563}
    228 => {#14564}
    229 => {#14565}
    230 => {#14566}
    231 => {#14567}
    232 => {#14568}
    233 => {#14569}
    234 => {#14570}
    235 => {#14571}
    236 => {#14572}
    237 => {#14573}
    238 => {#14574}
    239 => {#14575}
    240 => {#14576}
    241 => {#14577}
    242 => {#14578}
    243 => {#14579}
    244 => {#14580}
    245 => {#14581}
    246 => {#14582}
    247 => {#14583}
    248 => {#14584}
    249 => {#14585}
    250 => {#14586}
    251 => {#14587}
    252 => {#14588}
    253 => {#14589}
    254 => {#14590}
    255 => {#14591}
    256 => {#14592}
    257 => {#14593}
    258 => {#14594}
    259 => {#14595}
    260 => {#14596}
    261 => {#14597}
    262 => {#14598}
    263 => {#14599}
    264 => {#14600}
    265 => {#14601}
    266 => {#14602}
    267 => {#14603}
    268 => {#14604}
    269 => {#14605}
    270 => {#14606}
    271 => {#14607}
    272 => {#14608}
    273 => {#14609}
    274 => {#14610}
    275 => {#14611}
    276 => {#14612}
    277 => {#14613}
    278 => {#14614}
    279 => {#14615}
    280 => {#14616}
    281 => {#14617}
    282 => {#14618}
    283 => {#14619}
    284 => {#14620}
    285 => {#14621}
    286 => {#14622}
    287 => {#14623}
    288 => {#14624}
    289 => {#14625}
    290 => {#14626}
    291 => {#14627}
    292 => {#14628}
    293 => {#14629}
    294 => {#14630}
    295 => {#14631}
    296 => {#14632}
    297 => {#14633}
    298 => {#14634}
    299 => {#14635}
    300 => {#14636}
    301 => {#14637}
    302 => {#14638}
    303 => {#14639}
    304 => {#14640}
    305 => {#14641}
    306 => {#14642}
    307 => {#14643}
    308 => {#14644}
    309 => {#14645}
    310 => {#14646}
    311 => {#14647}
    312 => {#14648}
    313 => {#14649}
    314 => {#14650}
    315 => {#14651}
    316 => {#14652}
    317 => {#14653}
    318 => {#14654}
    319 => {#14655}
    320 => {#14656}
    321 => {#14657}
    322 => {#14658}
    323 => {#14659}
    324 => {#14660}
    325 => {#14661}
    326 => {#14662}
    327 => {#14663}
    328 => {#14664}
    329 => {#14665}
    330 => {#14666}
    331 => {#14667}
    332 => {#14668}
    333 => {#14669}
    334 => {#14670}
    335 => {#14671}
    336 => {#14672}
    337 => {#14673}
    338 => {#14674}
    339 => {#14675}
    340 => {#14676}
    341 => {#14677}
    342 => {#14678}
    343 => {#14679}
    344 => {#14680}
    345 => {#14681}
    346 => {#14682}
    347 => {#14683}
    348 => {#14684}
    349 => {#14685}
    350 => {#14686}
    351 => {#14687}
    352 => {#14688}
    353 => {#14689}
    354 => {#14690}
    355 => {#14691}
    356 => {#14692}
    357 => {#14693}
    358 => {#14694}
    359 => {#14695}
    360 => {#14696}
    361 => {#14697}
    362 => {#14698}
    363 => {#14699}
    364 => {#14700}
    365 => {#14701}
    366 => {#14702}
    367 => {#14703}
    368 => {#14704}
    369 => {#14705}
    370 => {#14706}
    371 => {#14707}
    372 => {#14708}
    373 => {#14709}
    374 => {#14710}
    375 => {#14711}
    376 => {#14712}
    377 => {#14713}
    378 => {#14714}
    379 => {#14715}
    380 => {#14716}
    381 => {#14717}
    382 => {#14718}
    383 => {#14719}
    384 => {#14720}
    385 => {#14721}
    386 => {#14722}
    387 => {#14723}
    388 => {#14724}
    389 => {#14725}
    390 => {#14726}
    391 => {#14727}
    392 => {#14728}
    393 => {#14729}
    394 => {#14730}
    395 => {#14731}
    396 => {#14732}
    397 => {#14733}
    398 => {#14734}
    399 => {#14735}
    400 => {#14736}
    401 => {#14737}
    402 => {#14738}
    403 => {#14739}
    404 => {#14740}
    405 => {#14741}
    406 => {#14742}
    407 => {#14743}
    408 => {#14744}
    409 => {#14745}
    410 => {#14746}
    411 => {#14747}
    412 => {#14748}
    413 => {#14749}
    414 => {#14750}
    415 => {#14751}
    416 => {#14752}
    417 => {#14753}
    418 => {#14754}
    419 => {#14755}
    420 => {#14756}
    421 => {#14757}
    422 => {#14758}
    423 => {#14759}
    424 => {#14760}
    425 => {#14761}
    426 => {#14762}
    427 => {#14763}
    428 => {#14764}
    429 => {#14765}
    430 => {#14766}
    431 => {#14767}
    432 => {#14768}
    433 => {#14769}
    434 => {#14770}
    435 => {#14771}
    436 => {#14772}
    437 => {#14773}
    438 => {#14774}
    439 => {#14775}
    440 => {#14776}
    441 => {#14777}
    442 => {#14778}
    443 => {#14779}
    444 => {#14780}
    445 => {#14781}
    446 => {#14782}
    447 => {#14783}
    448 => {#14784}
    449 => {#14785}
    450 => {#14786}
    451 => {#14787}
    452 => {#14788}
    453 => {#14789}
    454 => {#14790}
    455 => {#14791}
    456 => {#14792}
    457 => {#14793}
    458 => {#14794}
    459 => {#14795}
    460 => {#14796}
    461 => {#14797}
    462 => {#14798}
    463 => {#14799}
    464 => {#14800}
    465 => {#14801}
    466 => {#14802}
    467 => {#14803}
    468 => {#14804}
    469 => {#14805}
    470 => {#14806}
    471 => {#14807}
    472 => {#14808}
    473 => {#14809}
    474 => {#14810}
    475 => {#14811}
    476 => {#14812}
    477 => {#14813}
    478 => {#14814}
    479 => {#14815}
    480 => {#14816}
    481 => {#14817}
    482 => {#14818}
    483 => {#14819}
    484 => {#14820}
    485 => {#14821}
    486 => {#14822}
    487 => {#14823}
    488 => {#14824}
    489 => {#14825}
    490 => {#14826}
    491 => {#14827}
    492 => {#14828}
    493 => {#14829}
    494 => {#14830}
    495 => {#14831}
    496 => {#14832}
    497 => {#14833}
    498 => {#14834}
    499 => {#14835}
    500 => {#14836}
    501 => {#14837}
    502 => {#14838}
    503 => {#14839}
    504 => {#14840}
    505 => {#14841}
    506 => {#14842}
    507 => {#14843}
    508 => {#14844}
    509 => {#14845}
    510 => {#14846}
    511 => {#14847}
    512 => {#14848}
    513 => {#14849}
    514 => {#14850}
    515 => {#14851}
    516 => {#14852}
    517 => {#14853}
    518 => {#14854}
    519 => {#14855}
    520 => {#14856}
    521 => {#14857}
    522 => {#14858}
    523 => {#14859}
    524 => {#14860}
    525 => {#14861}
    526 => {#14862}
    527 => {#14863}
    528 => {#14864}
    529 => {#14865}
    530 => {#14866}
    531 => {#14867}
    532 => {#14868}
    533 => {#14869}
    534 => {#14870}
    535 => {#14871}
    536 => {#14872}
    537 => {#14873}
    538 => {#14874}
    539 => {#14875}
    540 => {#14876}
    541 => {#14877}
    542 => {#14878}
    543 => {#14879}
    544 => {#14880}
    545 => {#14881}
    546 => {#14882}
    547 => {#14883}
    548 => {#14884}
    549 => {#14885}
    550 => {#14886}
    551 => {#14887}
    552 => {#14888}
    553 => {#14889}
    554 => {#14890}
    555 => {#14891}
    556 => {#14892}
    557 => {#14893}
    558 => {#14894}
    559 => {#14895}
    560 => {#14896}
    561 => {#14897}
    562 => {#14898}
    563 => {#14899}
    564 => {#14900}
    565 => {#14901}
    566 => {#14902}
    567 => {#14903}
    568 => {#14904}
    569 => {#14905}
    570 => {#14906}
    571 => {#14907}
    572 => {#14908}
    573 => {#14909}
    574 => {#14910}
    575 => {#14911}
    576 => {#14912}
    577 => {#14913}
    578 => {#14914}
    579 => {#14915}
    580 => {#14916}
    581 => {#14917}
    582 => {#14918}
    583 => {#14919}
    584 => {#14920}
    585 => {#14921}
    586 => {#14922}
    587 => {#14923}
    588 => {#14924}
    589 => {#14925}
    590 => {#14926}
    591 => {#14927}
    592 => {#14928}
    593 => {#14929}
    594 => {#14930}
    595 => {#14931}
    596 => {#14932}
    597 => {#14933}
    598 => {#14934}
    599 => {#14935}
    600 => {#14936}
    601 => {#14937}
    602 => {#14938}
    603 => {#14939}
    604 => {#14940}
    605 => {#14941}
    606 => {#14942}
    607 => {#14943}
    608 => {#14944}
    609 => {#14945}
    610 => {#14946}
    611 => {#14947}
    612 => {#14948}
    613 => {#14949}
    614 => {#14950}
    615 => {#14951}
    616 => {#14952}
    617 => {#14953}
    618 => {#14954}
    619 => {#14955}
    620 => {#14956}
    621 => {#14957}
    622 => {#14958}
    623 => {#14959}
    624 => {#14960}
    625 => {#14961}
    626 => {#14962}
    627 => {#14963}
    628 => {#14964}
    629 => {#14965}
    630 => {#14966}
    631 => {#14967}
    632 => {#14968}
    633 => {#14969}
    634 => {#14970}
    635 => {#14971}
    636 => {#14972}
    637 => {#14973}
    638 => {#14974}
    639 => {#14975}
    640 => {#14976}
    641 => {#14977}
    642 => {#14978}
    643 => {#14979}
    644 => {#14980}
    645 => {#14981}
    646 => {#14982}
    647 => {#14983}
    648 => {#14984}
    649 => {#14985}
    650 => {#14986}
    651 => {#14987}
    652 => {#14988}
    653 => {#14989}
    654 => {#14990}
    655 => {#14991}
    656 => {#14992}
    657 => {#14993}
    658 => {#14994}
    659 => {#14995}
    660 => {#14996}
    661 => {#14997}
    662 => {#14998}
    663 => {#14999}
    664 => {#15000}
    665 => {#15001}
    666 => {#15002}
    667 => {#15003}
    668 => {#15004}
    669 => {#15005}
    670 => {#15006}
    671 => {#15007}
    672 => {#15008}
    673 => {#15009}
    674 => {#15010}
    675 => {#15011}
    676 => {#15012}
    677 => {#15013}
    678 => {#15014}
    679 => {#15015}
    680 => {#15016}
    681 => {#15017}
    682 => {#15018}
    ]
    
/home/redboxmediaprod/public_html/wp-content/plugins/gappointments/gf-fields/ga-calendar.php
        return (string) get_post_meta( $this->service_id, 'ga_service_available_times_mode', true );
}
private function service_capacity() {
return (int) get_post_meta( $this->service_id, 'ga_service_capacity', true );
}
private function custom_slots() {
return get_post_meta( $this->service_id, 'ga_service_custom_slots', true );
}
private function service_price() {
return get_post_meta( $this->service_id, 'ga_service_price', true );
}
private function two_way_sync() {
$sync = new ga_gcal_sync( null, $this->provider_id );
if( $sync->is_sync_enabled() ) {
$sync->sync_events();
} else {
return;
}
}
private function get_translation( $form_lang, $count ) {
return $count == 1 ? ga_get_form_translated_space($form_lang, $count) : ga_get_form_translated_spaces($form_lang, $count);
}
private function get_availability_option() {
if( $this->provider_id === 0 ) {
$global_availability = get_option( 'ga_appointments_appointment_availability' );
$availability = $global_availability !== false ? $global_availability : 'non-global';
} else {
$provider_availability = get_post_meta( $this->provider_id, 'ga_provider_appointment_availability', true );
$availability = !empty( $provider_availability ) ? $provider_availability : 'non-global';
}
return $availability;
}
} // end class
/home/redboxmediaprod/public_html/wp-content/plugins/gappointments/gf-fields/ga-calendar.php
        $date = new DateTime();
$date->setTimezone( new DateTimeZone( $this->time_zone ) );
$this->date_info = $date->setDate( (int) $this->year, (int) $this->month, 1 );
$this->num_days = $date->format('t');
$this->day_of_week = $this->date_info->format('w');
// Form translations
$this->form_lang = get_form_translations( null, $form_id );
// Days of week translated
$this->days_of_week = ga_get_form_translated_data($this->form_lang, 'weeks');
// Week starts on
$calendar = get_option('ga_appointments_calendar');
$this->week_starts = isset( $calendar['week_starts'] ) ? $calendar['week_starts'] : 'sunday';
//Maybe pull in appointments from google calendar
if ($execute_sync) {
$this->two_way_sync();
}
$this->provider_availability = $this->get_availability_option();
$this->get_appointments_query();
}
/**
* Get Available Days from Schedule
*/
private function get_available_days($array, $timestamp) {
// SERVICE PERIOD TYPE
$period_type = (string) get_post_meta($this->service_id, 'ga_service_period_type', true);
if( $period_type == 'date_range' ) {
$range = (array) get_post_meta($this->service_id, 'ga_service_date_range', true);
$dates = array();
if( isset($range['from']) && ga_valid_date_format($range['from']) && isset($range['to']) && ga_valid_date_format($range['to']) ) {
$period = new DatePeriod(
new DateTime($range['from']),
/home/redboxmediaprod/public_html/wp-content/plugins/gappointments/gf-fields/gf-booking-calendar.php
                            while( $custom_date < $current_date ) {
next($custom_dates);
$custom_date = new DateTime( current( $custom_dates ), new DateTimeZone( ga_time_zone() ) );
}
$current_date = $custom_date;
}
}
// Form submited date & time
$selected_date      = false;
$selected_slot      = $time_val;
if( ga_valid_date_format($date_val) ) {
$current_date   = new DateTime( $date_val, new DateTimeZone(ga_time_zone()) );
$selected_date  = clone $current_date;
}
// Form submited date & time
// Calendar HTML
$calendar   .= '<div id="ga_appointments_calendar" form_id="'.$form_id.'"><div class="ga_monthly_schedule_wrapper">' . PHP_EOL;
$ga_calendar = new GA_Calendar( $form_id, $current_date->format('m'), $current_date->format('Y'), $service_id, $provider_id, $selected_date, $selected_slot );
$calendar   .= $ga_calendar->show();
$calendar   .= '</div></div>' . PHP_EOL; // end #ga_appointments_calendar
// End Calendar HTML
// Multiple Slots Selection
$calendar .= '<div id="ga_selected_bookings">' . PHP_EOL;
$calendar .= $this->multiple_bookings_markup($form_id, $value, $service_id, $provider_id, $form_lang);
$calendar .= '</div>' . PHP_EOL; // end #ga_selected_bookings
// Multiple Slots Selection
}
else{
return '<p>' .ga_get_form_translated_data($form_lang, 'error_no_services'). '</p>';
}
$calendar .= '</div></div>' . PHP_EOL; // end grid-row
$calendar .= "<input type='hidden' name='input_{$id}[date]' id='{$field_id}' class='{$class} ginput_{$this->type}_input appointment_booking_date' value='{$date_val}'/>";
$calendar .= "<input type='hidden' name='input_{$id}[time]' id='{$field_id}_time' class='{$class} ginput_{$this->type}_input appointment_booking_time' value='{$time_val}'/>";
// Appointment cost hidden field just in case
Arguments
  1. 66
    
  2. "06"
    
  3. "2024"
    
  4. 7221
    
  5. 7225
    
  6. false
    
  7. ""
    
/home/redboxmediaprod/public_html/wp-content/plugins/gravityforms/common.php
                }
return $fields;
break;
default :
if ( ! empty( $post_link ) ) {
return $post_link;
}
if ( $form === null ) {
$form = array( 'id' => 0 );
}
if ( ! isset( $lead ) ) {
$lead = null;
}
return $field->get_field_input( $form, $value, $lead );
break;
}
}
public static function is_ssl() {
global $wordpress_https;
$is_ssl = false;
$has_https_plugin  = class_exists( 'WordPressHTTPS' ) && isset( $wordpress_https );
$has_is_ssl_method = $has_https_plugin && method_exists( 'WordPressHTTPS', 'is_ssl' );
$has_isSsl_method  = $has_https_plugin && method_exists( 'WordPressHTTPS', 'isSsl' );
//Use the WordPress HTTPs plugin if installed
if ( $has_https_plugin && $has_is_ssl_method ) {
$is_ssl = $wordpress_https->is_ssl();
} else if ( $has_https_plugin && $has_isSsl_method ) {
$is_ssl = $wordpress_https->isSsl();
} else {
Arguments
  1. array:56 [
    "fields" => array:23 [
    0 => GF_Field_HTML {#14226}
    1 => GF_Field_Radio {#14233}
    2 => GF_Field_HTML {#14229}
    3 => GF_Field_Text {#14149}
    4 => GF_Field_Page {#14231}
    5 => GF_Field_HTML {#14228}
    6 => GF_Field_Radio {#14230}
    7 => GF_Field_HTML {#14234}
    8 => GF_Field_Textarea {#14235}
    9 => GF_Field_FileUpload {#14236}
    10 => GF_Field_Page {#14237}
    11 => GF_Field_HTML {#14238}
    12 => GF_Appointment_Booking_Services {#14239}
    13 => GF_Appointment_Booking_Providers {#14240}
    14 => GF_Appointment_Booking_Calendar {#14241}
    15 => GF_Field_Page {#14242}
    16 => GF_Field_HTML {#14243}
    17 => GF_Field_Name {#14244}
    18 => GF_Field_Email {#14245}
    19 => GF_Field_Phone {#14246}
    20 => GF_Field_Text {#14247}
    21 => GF_Field_Text {#14248}
    22 => GF_Field_Textarea {#14249}
    ]
    "button" => array:7 [
    "type" => "text"
    "text" => "Envoyer"
    "imageUrl" => ""
    "width" => "auto"
    "location" => "bottom"
    "layoutGridColumnSpan" => 12
    "id" => "submit"
    ]
    "title" => "consultation gratuite"
    "description" => ""
    "version" => "2.7.5"
    "id" => "66"
    "markupVersion" => 2
    "nextFieldId" => 37
    "useCurrentUserAsAuthor" => true
    "postContentTemplateEnabled" => false
    "postTitleTemplateEnabled" => false
    "postTitleTemplate" => ""
    "postContentTemplate" => ""
    "lastPageButton" => array:3 [
    "type" => "text"
    "text" => "Précédent"
    "imageUrl" => ""
    ]
    "pagination" => array:7 [
    "type" => "percentage"
    "pages" => array:4 [
    0 => ""
    1 => ""
    2 => ""
    3 => ""
    ]
    "style" => "blue"
    "backgroundColor" => null
    "color" => null
    "display_progressbar_on_confirmation" => false
    "progressbar_completion_text" => null
    ]
    "firstPageCssClass" => ""
    "labelPlacement" => "top_label"
    "descriptionPlacement" => "below"
    "subLabelPlacement" => "below"
    "requiredIndicator" => "text"
    "customRequiredIndicator" => "(Nécessaire)"
    "cssClass" => "form_conception"
    "saveButtonText" => "Enregistrer et continuer"
    "limitEntries" => false
    "limitEntriesCount" => ""
    "limitEntriesPeriod" => ""
    "limitEntriesMessage" => ""
    "scheduleForm" => false
    "scheduleStart" => ""
    "scheduleEnd" => ""
    "schedulePendingMessage" => ""
    "scheduleMessage" => ""
    "requireLogin" => false
    "requireLoginMessage" => ""
    "honeypotAction" => "abort"
    "validationSummary" => false
    "deprecated" => ""
    "saveEnabled" => ""
    "enableHoneypot" => false
    "enableAnimation" => false
    "save" => array:2 [
    "enabled" => false
    "button" => array:2 [
    "type" => "link"
    "text" => "Enregistrer et continuer"
    ]
    ]
    "scheduleStartHour" => ""
    "scheduleStartMinute" => ""
    "scheduleStartAmpm" => ""
    "scheduleEndHour" => ""
    "scheduleEndMinute" => ""
    "scheduleEndAmpm" => ""
    "is_active" => "1"
    "date_created" => "2023-11-06 20:21:09"
    "is_trash" => "0"
    "gappointments_translation" => array:59 [
    "weeks" => array:7 [
    "sun" => "Dim"
    "mon" => "Lun"
    "tue" => "Mar"
    "wed" => "Mer"
    "thu" => "Jeu"
    "fri" => "Ven"
    "sat" => "Sam"
    ]
    "long_weeks" => array:7 [
    "sunday" => "Dimanche"
    "monday" => "Lundi"
    "tuesday" => "Mardi"
    "wednesday" => "Mercredi"
    "thursday" => "Jeudi"
    "friday" => "Vendredi"
    "saturday" => "Samedi"
    ]
    "january" => "Janvier [year]"
    "february" => "Février [year]"
    "march" => "Mars [year]"
    "april" => "Avril [year]"
    "may" => "Mai [year]"
    "june" => "Juin [year]"
    "july" => "Juillet [year]"
    "august" => "Août [year]"
    "september" => "Septembre [year]"
    "october" => "Octobre [year]"
    "november" => "Novembre [year]"
    "december" => "Décembre [year]"
    "slots_january" => "[day] Janvier, [year]"
    "slots_february" => "[day] Février, [year]"
    "slots_march" => "[day] Mars, [year]"
    "slots_april" => "[day] Avril, [year]"
    "slots_may" => "[day] Mai, [year]"
    "slots_june" => "[day] Juin, [year]"
    "slots_july" => "[day] Juillet, [year]"
    "slots_august" => "[day] Août, [year]"
    "slots_september" => "[day] Septembre, [year]"
    "slots_october" => "[day] Octobre [year]"
    "slots_november" => "[day] Novembre, [year]"
    "slots_december" => "[day] Décembre, [year]"
    "date_time_january" => "[week_long],[day] Janvier [year] at [time_start] - [time_end]"
    "date_time_february" => "[week_long],[day] Février [year] at [time_start] - [time_end]"
    "date_time_march" => "[week_long],[day] Mars [year] at [time_start] - [time_end]"
    "date_time_april" => "[week_long],[day] Avril [year] at [time_start] - [time_end]"
    "date_time_may" => "[week_long],[day] Mai [year] at [time_start] - [time_end]"
    "date_time_june" => "[week_long],[day] Juin [year] at [time_start] - [time_end]"
    "date_time_july" => "[week_long],[day] Juillet [year] at [time_start] - [time_end]"
    "date_time_august" => "[week_long],[day] Août [year] at [time_start] - [time_end]"
    "date_time_september" => "[week_long],[day] Septembre [year] at [time_start] - [time_end]"
    "date_time_october" => "[week_long],[day] Octobre [year] at [time_start] - [time_end]"
    "date_time_november" => "[week_long],[day] Novembre [year] at [time_start] - [time_end]"
    "date_time_december" => "[week_long],[day] Décembre [year] at [time_start] - [time_end]"
    "am" => "AM"
    "pm" => "PM"
    "space" => "[total] place disponible"
    "spaces" => "[total] places disponibles"
    "client_service" => "[service_name] with [provider_name]"
    "provider_service" => "[service_name] with [client_name]"
    "app_cost_text" => "Appointment Cost"
    "error_required" => "This field is required"
    "error_reached_max" => "You have reached the maximum number of booking allowed for [date]"
    "error_required_date" => "Date was not selected"
    "error_max_bookings" => "Maximum of [total] bookings allowed for [date]"
    "error_required_service" => "Service was not selected"
    "error_booked_date" => "You already booked [date]"
    "error_date_valid" => "Date [date] is not available."
    "error_slot_valid" => "Time slot on [date] is not available"
    "error_required_slot" => "Time was not selected"
    "error_services_form" => "Add booking services field to form"
    "error_service_valid" => "Service not found"
    "error_required_provider" => "Provider not selected."
    "error_providers_service" => "Providers service not found."
    "error_no_services" => "No service found."
    ]
    "ga_service_category" => "alex"
    "ga_form_review_page" => "0"
    "notifications" => array:1 [
    "6525ab978e245" => array:22 [
    "id" => "6525ab978e245"
    "isActive" => true
    "to" => "nader@redboxmedia.ca, alexb@redboxmedia.ca"
    "name" => "Notification administrateur"
    "event" => "form_submission"
    "toType" => "email"
    "subject" => "Nouveau message de {form_title}"
    "message" => "{all_fields}"
    "service" => "wordpress"
    "toEmail" => "nader@redboxmedia.ca, alexb@redboxmedia.ca"
    "toField" => ""
    "routing" => null
    "fromName" => ""
    "from" => "{admin_email}"
    "replyTo" => ""
    "bcc" => ""
    "disableAutoformat" => false
    "enableAttachments" => false
    "notification_conditional_logic_object" => ""
    "notification_conditional_logic" => "0"
    "conditionalLogic" => null
    "cc" => ""
    ]
    ]
    "confirmations" => array:1 [
    "6525ab978e355" => array:12 [
    "id" => "6525ab978e355"
    "name" => "Confirmation par défaut"
    "isDefault" => true
    "type" => "page"
    "message" => "Merci de nous avoir contactés ! Nous vous répondrons sous peu."
    "url" => ""
    "pageId" => "7190"
    "queryString" => ""
    "event" => ""
    "disableAutoformat" => false
    "page" => "7190"
    "conditionalLogic" => []
    ]
    ]
    "page_instance" => 0
    ]
    
  2. ""
    
  3. null
    
/home/redboxmediaprod/public_html/wp-content/plugins/gravityforms/form_display.php
    public static function get_field_content( $field, $value = '', $force_frontend_label = false, $form_id = 0, $form = null ) {
$field_label   = $field->get_field_label( $force_frontend_label, $value );
$admin_buttons = $field->get_admin_buttons();
$input_type = GFFormsModel::get_input_type( $field );
$is_form_editor  = GFCommon::is_form_editor();
$is_entry_detail = GFCommon::is_entry_detail();
$is_admin        = $is_form_editor || $is_entry_detail;
if ( $input_type == 'adminonly_hidden' ) {
$field_content = ! $is_admin ? '{FIELD}' : sprintf( "%s<label class='gfield_label gform-field-label' >%s</label>{FIELD}", $admin_buttons, esc_html( $field_label ) );
} else {
$field_content = $field->get_field_content( $value, $force_frontend_label, $form );
}
$value = $field->get_value_default_if_empty( $value );
$field_content = str_replace( '{FIELD}', GFCommon::get_field_input( $field, $value, 0, $form_id, $form ), $field_content );
$field_content = gf_apply_filters( array( 'gform_field_content', $form_id, $field->id ), $field_content, $field, $value, 0, $form_id );
return $field_content;
}
public static function get_progress_bar( $form, $page, $confirmation_message = '' ) {
$form_id           = $form['id'];
$progress_complete = false;
$progress_bar      = '';
$page_count        = self::get_max_page_number( $form );
$current_page      = $page;
$page_name         = rgars( $form['pagination'], sprintf( 'pages/%d', $current_page - 1 ) );
$page_name         = ! empty( $page_name ) ? ' - ' . $page_name : '';
$style             = $form['pagination']['style'];
$color             = $style == 'custom' ? " color:{$form['pagination']['color']};" : '';
$bgcolor           = $style == 'custom' ? " background-color:{$form['pagination']['backgroundColor']};" : '';
if ( ! empty( $confirmation_message ) ) {
Arguments
  1. GF_Appointment_Booking_Calendar {#14241}
    
  2. ""
    
  3. 0
    
  4. 66
    
  5. array:56 [
    "fields" => array:23 [
    0 => GF_Field_HTML {#14226}
    1 => GF_Field_Radio {#14233}
    2 => GF_Field_HTML {#14229}
    3 => GF_Field_Text {#14149}
    4 => GF_Field_Page {#14231}
    5 => GF_Field_HTML {#14228}
    6 => GF_Field_Radio {#14230}
    7 => GF_Field_HTML {#14234}
    8 => GF_Field_Textarea {#14235}
    9 => GF_Field_FileUpload {#14236}
    10 => GF_Field_Page {#14237}
    11 => GF_Field_HTML {#14238}
    12 => GF_Appointment_Booking_Services {#14239}
    13 => GF_Appointment_Booking_Providers {#14240}
    14 => GF_Appointment_Booking_Calendar {#14241}
    15 => GF_Field_Page {#14242}
    16 => GF_Field_HTML {#14243}
    17 => GF_Field_Name {#14244}
    18 => GF_Field_Email {#14245}
    19 => GF_Field_Phone {#14246}
    20 => GF_Field_Text {#14247}
    21 => GF_Field_Text {#14248}
    22 => GF_Field_Textarea {#14249}
    ]
    "button" => array:7 [
    "type" => "text"
    "text" => "Envoyer"
    "imageUrl" => ""
    "width" => "auto"
    "location" => "bottom"
    "layoutGridColumnSpan" => 12
    "id" => "submit"
    ]
    "title" => "consultation gratuite"
    "description" => ""
    "version" => "2.7.5"
    "id" => "66"
    "markupVersion" => 2
    "nextFieldId" => 37
    "useCurrentUserAsAuthor" => true
    "postContentTemplateEnabled" => false
    "postTitleTemplateEnabled" => false
    "postTitleTemplate" => ""
    "postContentTemplate" => ""
    "lastPageButton" => array:3 [
    "type" => "text"
    "text" => "Précédent"
    "imageUrl" => ""
    ]
    "pagination" => array:7 [
    "type" => "percentage"
    "pages" => array:4 [
    0 => ""
    1 => ""
    2 => ""
    3 => ""
    ]
    "style" => "blue"
    "backgroundColor" => null
    "color" => null
    "display_progressbar_on_confirmation" => false
    "progressbar_completion_text" => null
    ]
    "firstPageCssClass" => ""
    "labelPlacement" => "top_label"
    "descriptionPlacement" => "below"
    "subLabelPlacement" => "below"
    "requiredIndicator" => "text"
    "customRequiredIndicator" => "(Nécessaire)"
    "cssClass" => "form_conception"
    "saveButtonText" => "Enregistrer et continuer"
    "limitEntries" => false
    "limitEntriesCount" => ""
    "limitEntriesPeriod" => ""
    "limitEntriesMessage" => ""
    "scheduleForm" => false
    "scheduleStart" => ""
    "scheduleEnd" => ""
    "schedulePendingMessage" => ""
    "scheduleMessage" => ""
    "requireLogin" => false
    "requireLoginMessage" => ""
    "honeypotAction" => "abort"
    "validationSummary" => false
    "deprecated" => ""
    "saveEnabled" => ""
    "enableHoneypot" => false
    "enableAnimation" => false
    "save" => array:2 [
    "enabled" => false
    "button" => array:2 [
    "type" => "link"
    "text" => "Enregistrer et continuer"
    ]
    ]
    "scheduleStartHour" => ""
    "scheduleStartMinute" => ""
    "scheduleStartAmpm" => ""
    "scheduleEndHour" => ""
    "scheduleEndMinute" => ""
    "scheduleEndAmpm" => ""
    "is_active" => "1"
    "date_created" => "2023-11-06 20:21:09"
    "is_trash" => "0"
    "gappointments_translation" => array:59 [
    "weeks" => array:7 [
    "sun" => "Dim"
    "mon" => "Lun"
    "tue" => "Mar"
    "wed" => "Mer"
    "thu" => "Jeu"
    "fri" => "Ven"
    "sat" => "Sam"
    ]
    "long_weeks" => array:7 [
    "sunday" => "Dimanche"
    "monday" => "Lundi"
    "tuesday" => "Mardi"
    "wednesday" => "Mercredi"
    "thursday" => "Jeudi"
    "friday" => "Vendredi"
    "saturday" => "Samedi"
    ]
    "january" => "Janvier [year]"
    "february" => "Février [year]"
    "march" => "Mars [year]"
    "april" => "Avril [year]"
    "may" => "Mai [year]"
    "june" => "Juin [year]"
    "july" => "Juillet [year]"
    "august" => "Août [year]"
    "september" => "Septembre [year]"
    "october" => "Octobre [year]"
    "november" => "Novembre [year]"
    "december" => "Décembre [year]"
    "slots_january" => "[day] Janvier, [year]"
    "slots_february" => "[day] Février, [year]"
    "slots_march" => "[day] Mars, [year]"
    "slots_april" => "[day] Avril, [year]"
    "slots_may" => "[day] Mai, [year]"
    "slots_june" => "[day] Juin, [year]"
    "slots_july" => "[day] Juillet, [year]"
    "slots_august" => "[day] Août, [year]"
    "slots_september" => "[day] Septembre, [year]"
    "slots_october" => "[day] Octobre [year]"
    "slots_november" => "[day] Novembre, [year]"
    "slots_december" => "[day] Décembre, [year]"
    "date_time_january" => "[week_long],[day] Janvier [year] at [time_start] - [time_end]"
    "date_time_february" => "[week_long],[day] Février [year] at [time_start] - [time_end]"
    "date_time_march" => "[week_long],[day] Mars [year] at [time_start] - [time_end]"
    "date_time_april" => "[week_long],[day] Avril [year] at [time_start] - [time_end]"
    "date_time_may" => "[week_long],[day] Mai [year] at [time_start] - [time_end]"
    "date_time_june" => "[week_long],[day] Juin [year] at [time_start] - [time_end]"
    "date_time_july" => "[week_long],[day] Juillet [year] at [time_start] - [time_end]"
    "date_time_august" => "[week_long],[day] Août [year] at [time_start] - [time_end]"
    "date_time_september" => "[week_long],[day] Septembre [year] at [time_start] - [time_end]"
    "date_time_october" => "[week_long],[day] Octobre [year] at [time_start] - [time_end]"
    "date_time_november" => "[week_long],[day] Novembre [year] at [time_start] - [time_end]"
    "date_time_december" => "[week_long],[day] Décembre [year] at [time_start] - [time_end]"
    "am" => "AM"
    "pm" => "PM"
    "space" => "[total] place disponible"
    "spaces" => "[total] places disponibles"
    "client_service" => "[service_name] with [provider_name]"
    "provider_service" => "[service_name] with [client_name]"
    "app_cost_text" => "Appointment Cost"
    "error_required" => "This field is required"
    "error_reached_max" => "You have reached the maximum number of booking allowed for [date]"
    "error_required_date" => "Date was not selected"
    "error_max_bookings" => "Maximum of [total] bookings allowed for [date]"
    "error_required_service" => "Service was not selected"
    "error_booked_date" => "You already booked [date]"
    "error_date_valid" => "Date [date] is not available."
    "error_slot_valid" => "Time slot on [date] is not available"
    "error_required_slot" => "Time was not selected"
    "error_services_form" => "Add booking services field to form"
    "error_service_valid" => "Service not found"
    "error_required_provider" => "Provider not selected."
    "error_providers_service" => "Providers service not found."
    "error_no_services" => "No service found."
    ]
    "ga_service_category" => "alex"
    "ga_form_review_page" => "0"
    "notifications" => array:1 [
    "6525ab978e245" => array:22 [
    "id" => "6525ab978e245"
    "isActive" => true
    "to" => "nader@redboxmedia.ca, alexb@redboxmedia.ca"
    "name" => "Notification administrateur"
    "event" => "form_submission"
    "toType" => "email"
    "subject" => "Nouveau message de {form_title}"
    "message" => "{all_fields}"
    "service" => "wordpress"
    "toEmail" => "nader@redboxmedia.ca, alexb@redboxmedia.ca"
    "toField" => ""
    "routing" => null
    "fromName" => ""
    "from" => "{admin_email}"
    "replyTo" => ""
    "bcc" => ""
    "disableAutoformat" => false
    "enableAttachments" => false
    "notification_conditional_logic_object" => ""
    "notification_conditional_logic" => "0"
    "conditionalLogic" => null
    "cc" => ""
    ]
    ]
    "confirmations" => array:1 [
    "6525ab978e355" => array:12 [
    "id" => "6525ab978e355"
    "name" => "Confirmation par défaut"
    "isDefault" => true
    "type" => "page"
    "message" => "Merci de nous avoir contactés ! Nous vous répondrons sous peu."
    "url" => ""
    "pageId" => "7190"
    "queryString" => ""
    "event" => ""
    "disableAutoformat" => false
    "page" => "7190"
    "conditionalLogic" => []
    ]
    ]
    "page_instance" => 0
    ]
    
/home/redboxmediaprod/public_html/wp-content/plugins/gravityforms/form_display.php
        $span_class = $field->get_css_grid_class( $form );
$css_class = "gfield gfield--type-{$field->type} $choice_input_type_class $field_input_type_class $field_specific_class $selectable_class $span_class $error_class $section_class $admin_only_class $custom_class $hidden_class $html_block_class $html_formatted_class $html_no_follows_desc_class $option_class $quantity_class $product_class $total_class $donation_class $shipping_class $page_class $required_class $hidden_product_class $creditcard_warning_class $submit_width_class $calculation_class $sublabel_class $has_description_class $description_class $label_placement $visibility_class $admin_hidden_class";
$css_class = preg_replace( '/\s+/', ' ', $css_class ); // removing extra spaces
/*
* This filter is applied twice because fields may either be using it to modify the collection of HTML classes
* by removing elements, or by providing their own custom HTML classes, as well. We want to capture any
* custom classes which are provided, but cannot guarantee that the $css_class string has been manipulated
* in a reliable way. As of 2.5, the $field_classes value is used by the Settings API to apply those classes
* to the settings sidebar panel while a field is active.
*/
$field_classes = gf_apply_filters( array( 'gform_field_css_class', $form_id ), '', $field, $form );
$css_class    = gf_apply_filters( array( 'gform_field_css_class', $form_id ), trim( $css_class ), $field, $form );
$style = '';
$field_id = $is_admin || empty( $form ) ? "field_$id" : 'field_' . $form_id . "_$id";
$field_content = self::get_field_content( $field, $value, $force_frontend_label, $form_id, $form );
$css_class = esc_attr( $css_class );
$field_container = $field->get_field_container(
array(
'id'              => $field_id,
'class'           => $css_class,
'style'           => $style,
'data-field-class' => trim( $field_classes ),
),
$form
);
/**
* Modify the markup used for the field container.
*
* @since 1.8.9
*
* @param string   $field_container The field container markup. {FIELD_CONTENT} placeholder indicates where the markup for the field content should be located.
Arguments
  1. GF_Appointment_Booking_Calendar {#14241}
    
  2. ""
    
  3. false
    
  4. 66
    
  5. array:56 [
    "fields" => array:23 [
    0 => GF_Field_HTML {#14226}
    1 => GF_Field_Radio {#14233}
    2 => GF_Field_HTML {#14229}
    3 => GF_Field_Text {#14149}
    4 => GF_Field_Page {#14231}
    5 => GF_Field_HTML {#14228}
    6 => GF_Field_Radio {#14230}
    7 => GF_Field_HTML {#14234}
    8 => GF_Field_Textarea {#14235}
    9 => GF_Field_FileUpload {#14236}
    10 => GF_Field_Page {#14237}
    11 => GF_Field_HTML {#14238}
    12 => GF_Appointment_Booking_Services {#14239}
    13 => GF_Appointment_Booking_Providers {#14240}
    14 => GF_Appointment_Booking_Calendar {#14241}
    15 => GF_Field_Page {#14242}
    16 => GF_Field_HTML {#14243}
    17 => GF_Field_Name {#14244}
    18 => GF_Field_Email {#14245}
    19 => GF_Field_Phone {#14246}
    20 => GF_Field_Text {#14247}
    21 => GF_Field_Text {#14248}
    22 => GF_Field_Textarea {#14249}
    ]
    "button" => array:7 [
    "type" => "text"
    "text" => "Envoyer"
    "imageUrl" => ""
    "width" => "auto"
    "location" => "bottom"
    "layoutGridColumnSpan" => 12
    "id" => "submit"
    ]
    "title" => "consultation gratuite"
    "description" => ""
    "version" => "2.7.5"
    "id" => "66"
    "markupVersion" => 2
    "nextFieldId" => 37
    "useCurrentUserAsAuthor" => true
    "postContentTemplateEnabled" => false
    "postTitleTemplateEnabled" => false
    "postTitleTemplate" => ""
    "postContentTemplate" => ""
    "lastPageButton" => array:3 [
    "type" => "text"
    "text" => "Précédent"
    "imageUrl" => ""
    ]
    "pagination" => array:7 [
    "type" => "percentage"
    "pages" => array:4 [
    0 => ""
    1 => ""
    2 => ""
    3 => ""
    ]
    "style" => "blue"
    "backgroundColor" => null
    "color" => null
    "display_progressbar_on_confirmation" => false
    "progressbar_completion_text" => null
    ]
    "firstPageCssClass" => ""
    "labelPlacement" => "top_label"
    "descriptionPlacement" => "below"
    "subLabelPlacement" => "below"
    "requiredIndicator" => "text"
    "customRequiredIndicator" => "(Nécessaire)"
    "cssClass" => "form_conception"
    "saveButtonText" => "Enregistrer et continuer"
    "limitEntries" => false
    "limitEntriesCount" => ""
    "limitEntriesPeriod" => ""
    "limitEntriesMessage" => ""
    "scheduleForm" => false
    "scheduleStart" => ""
    "scheduleEnd" => ""
    "schedulePendingMessage" => ""
    "scheduleMessage" => ""
    "requireLogin" => false
    "requireLoginMessage" => ""
    "honeypotAction" => "abort"
    "validationSummary" => false
    "deprecated" => ""
    "saveEnabled" => ""
    "enableHoneypot" => false
    "enableAnimation" => false
    "save" => array:2 [
    "enabled" => false
    "button" => array:2 [
    "type" => "link"
    "text" => "Enregistrer et continuer"
    ]
    ]
    "scheduleStartHour" => ""
    "scheduleStartMinute" => ""
    "scheduleStartAmpm" => ""
    "scheduleEndHour" => ""
    "scheduleEndMinute" => ""
    "scheduleEndAmpm" => ""
    "is_active" => "1"
    "date_created" => "2023-11-06 20:21:09"
    "is_trash" => "0"
    "gappointments_translation" => array:59 [
    "weeks" => array:7 [
    "sun" => "Dim"
    "mon" => "Lun"
    "tue" => "Mar"
    "wed" => "Mer"
    "thu" => "Jeu"
    "fri" => "Ven"
    "sat" => "Sam"
    ]
    "long_weeks" => array:7 [
    "sunday" => "Dimanche"
    "monday" => "Lundi"
    "tuesday" => "Mardi"
    "wednesday" => "Mercredi"
    "thursday" => "Jeudi"
    "friday" => "Vendredi"
    "saturday" => "Samedi"
    ]
    "january" => "Janvier [year]"
    "february" => "Février [year]"
    "march" => "Mars [year]"
    "april" => "Avril [year]"
    "may" => "Mai [year]"
    "june" => "Juin [year]"
    "july" => "Juillet [year]"
    "august" => "Août [year]"
    "september" => "Septembre [year]"
    "october" => "Octobre [year]"
    "november" => "Novembre [year]"
    "december" => "Décembre [year]"
    "slots_january" => "[day] Janvier, [year]"
    "slots_february" => "[day] Février, [year]"
    "slots_march" => "[day] Mars, [year]"
    "slots_april" => "[day] Avril, [year]"
    "slots_may" => "[day] Mai, [year]"
    "slots_june" => "[day] Juin, [year]"
    "slots_july" => "[day] Juillet, [year]"
    "slots_august" => "[day] Août, [year]"
    "slots_september" => "[day] Septembre, [year]"
    "slots_october" => "[day] Octobre [year]"
    "slots_november" => "[day] Novembre, [year]"
    "slots_december" => "[day] Décembre, [year]"
    "date_time_january" => "[week_long],[day] Janvier [year] at [time_start] - [time_end]"
    "date_time_february" => "[week_long],[day] Février [year] at [time_start] - [time_end]"
    "date_time_march" => "[week_long],[day] Mars [year] at [time_start] - [time_end]"
    "date_time_april" => "[week_long],[day] Avril [year] at [time_start] - [time_end]"
    "date_time_may" => "[week_long],[day] Mai [year] at [time_start] - [time_end]"
    "date_time_june" => "[week_long],[day] Juin [year] at [time_start] - [time_end]"
    "date_time_july" => "[week_long],[day] Juillet [year] at [time_start] - [time_end]"
    "date_time_august" => "[week_long],[day] Août [year] at [time_start] - [time_end]"
    "date_time_september" => "[week_long],[day] Septembre [year] at [time_start] - [time_end]"
    "date_time_october" => "[week_long],[day] Octobre [year] at [time_start] - [time_end]"
    "date_time_november" => "[week_long],[day] Novembre [year] at [time_start] - [time_end]"
    "date_time_december" => "[week_long],[day] Décembre [year] at [time_start] - [time_end]"
    "am" => "AM"
    "pm" => "PM"
    "space" => "[total] place disponible"
    "spaces" => "[total] places disponibles"
    "client_service" => "[service_name] with [provider_name]"
    "provider_service" => "[service_name] with [client_name]"
    "app_cost_text" => "Appointment Cost"
    "error_required" => "This field is required"
    "error_reached_max" => "You have reached the maximum number of booking allowed for [date]"
    "error_required_date" => "Date was not selected"
    "error_max_bookings" => "Maximum of [total] bookings allowed for [date]"
    "error_required_service" => "Service was not selected"
    "error_booked_date" => "You already booked [date]"
    "error_date_valid" => "Date [date] is not available."
    "error_slot_valid" => "Time slot on [date] is not available"
    "error_required_slot" => "Time was not selected"
    "error_services_form" => "Add booking services field to form"
    "error_service_valid" => "Service not found"
    "error_required_provider" => "Provider not selected."
    "error_providers_service" => "Providers service not found."
    "error_no_services" => "No service found."
    ]
    "ga_service_category" => "alex"
    "ga_form_review_page" => "0"
    "notifications" => array:1 [
    "6525ab978e245" => array:22 [
    "id" => "6525ab978e245"
    "isActive" => true
    "to" => "nader@redboxmedia.ca, alexb@redboxmedia.ca"
    "name" => "Notification administrateur"
    "event" => "form_submission"
    "toType" => "email"
    "subject" => "Nouveau message de {form_title}"
    "message" => "{all_fields}"
    "service" => "wordpress"
    "toEmail" => "nader@redboxmedia.ca, alexb@redboxmedia.ca"
    "toField" => ""
    "routing" => null
    "fromName" => ""
    "from" => "{admin_email}"
    "replyTo" => ""
    "bcc" => ""
    "disableAutoformat" => false
    "enableAttachments" => false
    "notification_conditional_logic_object" => ""
    "notification_conditional_logic" => "0"
    "conditionalLogic" => null
    "cc" => ""
    ]
    ]
    "confirmations" => array:1 [
    "6525ab978e355" => array:12 [
    "id" => "6525ab978e355"
    "name" => "Confirmation par défaut"
    "isDefault" => true
    "type" => "page"
    "message" => "Merci de nous avoir contactés ! Nous vous répondrons sous peu."
    "url" => ""
    "pageId" => "7190"
    "queryString" => ""
    "event" => ""
    "disableAutoformat" => false
    "page" => "7190"
    "conditionalLogic" => []
    ]
    ]
    "page_instance" => 0
    ]
    
/home/redboxmediaprod/public_html/wp-content/plugins/gravityforms/form_display.php
                $form             = $honeypot_handler->maybe_add_honeypot_field( $form );
foreach ( $form['fields'] as $field ) {
$field->set_context_property( 'rendering_form', true );
/* @var GF_Field $field */
$field->conditionalLogicFields = self::get_conditional_logic_fields( $form, $field->id );
if ( is_array( $submitted_values ) ) {
$field_value = rgar( $submitted_values, $field->id );
if ( $field->type === 'consent'
&& ( $field_value[ $field->id . '.3' ] != GFFormsModel::get_latest_form_revisions_id( $form['id'] )
|| $field_value[ $field->id . '.2' ] != $field->checkboxLabel ) ) {
$field_value = GFFormsModel::get_field_value( $field, $field_values );
}
} else {
$field_value = GFFormsModel::get_field_value( $field, $field_values );
}
$form_string .= self::get_field( $field, $field_value, false, $form, $field_values );
if ( $field->layoutSpacerGridColumnSpan && ! GFCommon::is_legacy_markup_enabled( $form ) ) {
$form_string .= sprintf( '<div class="spacer gfield" style="grid-column: span %d;"></div>', $field->layoutSpacerGridColumnSpan );
}
}
}
$form_string .= "</{$tag}>";
if ( $has_pages ) {
$last_page_button = rgar( $form, 'lastPageButton', array() );
$previous_button_alt = rgar( $last_page_button, 'imageAlt', __( 'Previous Page', 'gravityforms' ) );
$previous_button = self::get_form_button( $form['id'], "gform_previous_button_{$form['id']}", $last_page_button, __( 'Previous', 'gravityforms' ), 'gform_previous_button gform-theme-button gform-theme-button--secondary', $previous_button_alt, self::get_current_page( $form_id ) - 1 );
/**
* Filter through the form previous button when paged
*
* @param int $form_id The Form ID to filter through
* @param string $previous_button The HTML rendered button (rendered with the form ID and the function get_form_button)
* @param array $form The Form object to filter through
Arguments
  1. GF_Appointment_Booking_Calendar {#14241}
    
  2. null
    
  3. false
    
  4. array:56 [
    "fields" => array:23 [
    0 => GF_Field_HTML {#14226}
    1 => GF_Field_Radio {#14233}
    2 => GF_Field_HTML {#14229}
    3 => GF_Field_Text {#14149}
    4 => GF_Field_Page {#14231}
    5 => GF_Field_HTML {#14228}
    6 => GF_Field_Radio {#14230}
    7 => GF_Field_HTML {#14234}
    8 => GF_Field_Textarea {#14235}
    9 => GF_Field_FileUpload {#14236}
    10 => GF_Field_Page {#14237}
    11 => GF_Field_HTML {#14238}
    12 => GF_Appointment_Booking_Services {#14239}
    13 => GF_Appointment_Booking_Providers {#14240}
    14 => GF_Appointment_Booking_Calendar {#14241}
    15 => GF_Field_Page {#14242}
    16 => GF_Field_HTML {#14243}
    17 => GF_Field_Name {#14244}
    18 => GF_Field_Email {#14245}
    19 => GF_Field_Phone {#14246}
    20 => GF_Field_Text {#14247}
    21 => GF_Field_Text {#14248}
    22 => GF_Field_Textarea {#14249}
    ]
    "button" => array:7 [
    "type" => "text"
    "text" => "Envoyer"
    "imageUrl" => ""
    "width" => "auto"
    "location" => "bottom"
    "layoutGridColumnSpan" => 12
    "id" => "submit"
    ]
    "title" => "consultation gratuite"
    "description" => ""
    "version" => "2.7.5"
    "id" => "66"
    "markupVersion" => 2
    "nextFieldId" => 37
    "useCurrentUserAsAuthor" => true
    "postContentTemplateEnabled" => false
    "postTitleTemplateEnabled" => false
    "postTitleTemplate" => ""
    "postContentTemplate" => ""
    "lastPageButton" => array:3 [
    "type" => "text"
    "text" => "Précédent"
    "imageUrl" => ""
    ]
    "pagination" => array:7 [
    "type" => "percentage"
    "pages" => array:4 [
    0 => ""
    1 => ""
    2 => ""
    3 => ""
    ]
    "style" => "blue"
    "backgroundColor" => null
    "color" => null
    "display_progressbar_on_confirmation" => false
    "progressbar_completion_text" => null
    ]
    "firstPageCssClass" => ""
    "labelPlacement" => "top_label"
    "descriptionPlacement" => "below"
    "subLabelPlacement" => "below"
    "requiredIndicator" => "text"
    "customRequiredIndicator" => "(Nécessaire)"
    "cssClass" => "form_conception"
    "saveButtonText" => "Enregistrer et continuer"
    "limitEntries" => false
    "limitEntriesCount" => ""
    "limitEntriesPeriod" => ""
    "limitEntriesMessage" => ""
    "scheduleForm" => false
    "scheduleStart" => ""
    "scheduleEnd" => ""
    "schedulePendingMessage" => ""
    "scheduleMessage" => ""
    "requireLogin" => false
    "requireLoginMessage" => ""
    "honeypotAction" => "abort"
    "validationSummary" => false
    "deprecated" => ""
    "saveEnabled" => ""
    "enableHoneypot" => false
    "enableAnimation" => false
    "save" => array:2 [
    "enabled" => false
    "button" => array:2 [
    "type" => "link"
    "text" => "Enregistrer et continuer"
    ]
    ]
    "scheduleStartHour" => ""
    "scheduleStartMinute" => ""
    "scheduleStartAmpm" => ""
    "scheduleEndHour" => ""
    "scheduleEndMinute" => ""
    "scheduleEndAmpm" => ""
    "is_active" => "1"
    "date_created" => "2023-11-06 20:21:09"
    "is_trash" => "0"
    "gappointments_translation" => array:59 [
    "weeks" => array:7 [
    "sun" => "Dim"
    "mon" => "Lun"
    "tue" => "Mar"
    "wed" => "Mer"
    "thu" => "Jeu"
    "fri" => "Ven"
    "sat" => "Sam"
    ]
    "long_weeks" => array:7 [
    "sunday" => "Dimanche"
    "monday" => "Lundi"
    "tuesday" => "Mardi"
    "wednesday" => "Mercredi"
    "thursday" => "Jeudi"
    "friday" => "Vendredi"
    "saturday" => "Samedi"
    ]
    "january" => "Janvier [year]"
    "february" => "Février [year]"
    "march" => "Mars [year]"
    "april" => "Avril [year]"
    "may" => "Mai [year]"
    "june" => "Juin [year]"
    "july" => "Juillet [year]"
    "august" => "Août [year]"
    "september" => "Septembre [year]"
    "october" => "Octobre [year]"
    "november" => "Novembre [year]"
    "december" => "Décembre [year]"
    "slots_january" => "[day] Janvier, [year]"
    "slots_february" => "[day] Février, [year]"
    "slots_march" => "[day] Mars, [year]"
    "slots_april" => "[day] Avril, [year]"
    "slots_may" => "[day] Mai, [year]"
    "slots_june" => "[day] Juin, [year]"
    "slots_july" => "[day] Juillet, [year]"
    "slots_august" => "[day] Août, [year]"
    "slots_september" => "[day] Septembre, [year]"
    "slots_october" => "[day] Octobre [year]"
    "slots_november" => "[day] Novembre, [year]"
    "slots_december" => "[day] Décembre, [year]"
    "date_time_january" => "[week_long],[day] Janvier [year] at [time_start] - [time_end]"
    "date_time_february" => "[week_long],[day] Février [year] at [time_start] - [time_end]"
    "date_time_march" => "[week_long],[day] Mars [year] at [time_start] - [time_end]"
    "date_time_april" => "[week_long],[day] Avril [year] at [time_start] - [time_end]"
    "date_time_may" => "[week_long],[day] Mai [year] at [time_start] - [time_end]"
    "date_time_june" => "[week_long],[day] Juin [year] at [time_start] - [time_end]"
    "date_time_july" => "[week_long],[day] Juillet [year] at [time_start] - [time_end]"
    "date_time_august" => "[week_long],[day] Août [year] at [time_start] - [time_end]"
    "date_time_september" => "[week_long],[day] Septembre [year] at [time_start] - [time_end]"
    "date_time_october" => "[week_long],[day] Octobre [year] at [time_start] - [time_end]"
    "date_time_november" => "[week_long],[day] Novembre [year] at [time_start] - [time_end]"
    "date_time_december" => "[week_long],[day] Décembre [year] at [time_start] - [time_end]"
    "am" => "AM"
    "pm" => "PM"
    "space" => "[total] place disponible"
    "spaces" => "[total] places disponibles"
    "client_service" => "[service_name] with [provider_name]"
    "provider_service" => "[service_name] with [client_name]"
    "app_cost_text" => "Appointment Cost"
    "error_required" => "This field is required"
    "error_reached_max" => "You have reached the maximum number of booking allowed for [date]"
    "error_required_date" => "Date was not selected"
    "error_max_bookings" => "Maximum of [total] bookings allowed for [date]"
    "error_required_service" => "Service was not selected"
    "error_booked_date" => "You already booked [date]"
    "error_date_valid" => "Date [date] is not available."
    "error_slot_valid" => "Time slot on [date] is not available"
    "error_required_slot" => "Time was not selected"
    "error_services_form" => "Add booking services field to form"
    "error_service_valid" => "Service not found"
    "error_required_provider" => "Provider not selected."
    "error_providers_service" => "Providers service not found."
    "error_no_services" => "No service found."
    ]
    "ga_service_category" => "alex"
    "ga_form_review_page" => "0"
    "notifications" => array:1 [
    "6525ab978e245" => array:22 [
    "id" => "6525ab978e245"
    "isActive" => true
    "to" => "nader@redboxmedia.ca, alexb@redboxmedia.ca"
    "name" => "Notification administrateur"
    "event" => "form_submission"
    "toType" => "email"
    "subject" => "Nouveau message de {form_title}"
    "message" => "{all_fields}"
    "service" => "wordpress"
    "toEmail" => "nader@redboxmedia.ca, alexb@redboxmedia.ca"
    "toField" => ""
    "routing" => null
    "fromName" => ""
    "from" => "{admin_email}"
    "replyTo" => ""
    "bcc" => ""
    "disableAutoformat" => false
    "enableAttachments" => false
    "notification_conditional_logic_object" => ""
    "notification_conditional_logic" => "0"
    "conditionalLogic" => null
    "cc" => ""
    ]
    ]
    "confirmations" => array:1 [
    "6525ab978e355" => array:12 [
    "id" => "6525ab978e355"
    "name" => "Confirmation par défaut"
    "isDefault" => true
    "type" => "page"
    "message" => "Merci de nous avoir contactés ! Nous vous répondrons sous peu."
    "url" => ""
    "pageId" => "7190"
    "queryString" => ""
    "event" => ""
    "disableAutoformat" => false
    "page" => "7190"
    "conditionalLogic" => []
    ]
    ]
    "page_instance" => 0
    ]
    
  5. []
    
/home/redboxmediaprod/public_html/wp-content/plugins/gravityforms/gravityforms.php
        if ( defined( 'DOING_AJAX' ) && DOING_AJAX && ( ( isset( $_POST['form_id'] ) && rgpost( 'action' ) === 'rg_select_export_form' ) || ( isset( $_POST['export_form'] ) && rgpost( 'action' ) === 'gf_process_export' ) ) ) {
return 'export_entry_ajax';
}
return false;
}
/**
* Gets the form.
*
* @since  Unknown
* @access public
*
* @uses   GFFormDisplay::get_form()
* @uses   GFCommon::get_base_path()
*/
public static function get_form( $form_id, $display_title = true, $display_description = true, $force_display = false, $field_values = null, $ajax = false, $tabindex = 0 ) {
require_once( GFCommon::get_base_path() . '/form_display.php' );
return GFFormDisplay::get_form( $form_id, $display_title, $display_description, $force_display, $field_values, $ajax, $tabindex );
}
/**
* Runs when the Forms menu item is clicked.
*
* Checks to see if the installation wizard should be displayed instead.
*
* @since  Unknown
* @access public
*/
public static function new_form() {
if ( self::maybe_display_wizard() ) {
return;
};
self::form_list_page();
}
/**
Arguments
  1. "66"
    
  2. false
    
  3. false
    
  4. false
    
  5. []
    
  6. true
    
  7. 0
    
/home/redboxmediaprod/public_html/wp-content/plugins/gravityforms/gravityforms.php
                    break;
}
//displaying form
$title        = strtolower( $title ) == 'false' ? false : true;
$description  = strtolower( $description ) == 'false' ? false : true;
$field_values = htmlspecialchars_decode( $field_values );
$field_values = str_replace( array( '&#038;', '&#091;', '&#093;' ), array( '&', '[', ']' ), $field_values );
$ajax = strtolower( $ajax ) == 'true' ? true : false;
//using name to lookup form if id is not specified
if ( empty( $id ) ) {
$id = $name;
}
parse_str( $field_values, $field_value_array ); //parsing query string like string for field values and placing them into an associative array
$field_value_array = stripslashes_deep( $field_value_array );
$shortcode_string = self::get_form( $id, $title, $description, false, $field_value_array, $ajax, $tabindex );
}
/**
* Filters the shortcode.
*
* @since Unknown
*
* @param string $shortcode_string The full shortcode string.
* @param array  $attributes       The attributes within the shortcode.
* @param string $content          The content of the shortcode, if available.
*/
$shortcode_string = apply_filters( "gform_shortcode_{$action}", $shortcode_string, $attributes, $content );
return $shortcode_string;
}
/**
* Includes the add-on framework.
*
Arguments
  1. "66"
    
  2. false
    
  3. false
    
  4. false
    
  5. []
    
  6. true
    
  7. 0
    
/home/redboxmediaprod/public_html/wp-includes/shortcodes.php
     * Filters whether to call a shortcode callback.
*
* Returning a non-false value from filter will short-circuit the
* shortcode generation process, returning that value instead.
*
* @since 4.7.0
*
* @param false|string $output Short-circuit return value. Either false or the value to replace the shortcode with.
* @param string       $tag    Shortcode name.
* @param array|string $attr   Shortcode attributes array or the original arguments string if it cannot be parsed.
* @param array        $m      Regular expression match array.
*/
$return = apply_filters( 'pre_do_shortcode_tag', false, $tag, $attr, $m );
if ( false !== $return ) {
return $return;
}
$content = isset( $m[5] ) ? $m[5] : null;
$output = $m[1] . call_user_func( $shortcode_tags[ $tag ], $attr, $content, $tag ) . $m[6];
/**
* Filters the output created by a shortcode callback.
*
* @since 4.7.0
*
* @param string       $output Shortcode output.
* @param string       $tag    Shortcode name.
* @param array|string $attr   Shortcode attributes array or the original arguments string if it cannot be parsed.
* @param array        $m      Regular expression match array.
*/
return apply_filters( 'do_shortcode_tag', $output, $tag, $attr, $m );
}
/**
* Searches only inside HTML elements for shortcodes and process them.
*
* Any [ or ] characters remaining inside elements will be HTML encoded
* to prevent interference with shortcodes that are outside the elements.
* Assumes $content processed by KSES already.  Users with unfiltered_html
Arguments
  1. array:4 [
    "id" => "66"
    "title" => "false"
    "description" => "false"
    "ajax" => "true"
    ]
    
  2. ""
    
  3. "gravityform"
    
[internal]
Arguments
  1. array:7 [
    0 => "[gravityform id="66" title="false" description="false" ajax="true"]"
    1 => ""
    2 => "gravityform"
    3 => " id="66" title="false" description="false" ajax="true""
    4 => ""
    5 => ""
    6 => ""
    ]
    
/home/redboxmediaprod/public_html/wp-includes/shortcodes.php
    // Find all registered tag names in $content.
preg_match_all( '@\[([^<>&/\[\]\x00-\x20=]++)@', $content, $matches );
$tagnames = array_intersect( array_keys( $shortcode_tags ), $matches[1] );
if ( empty( $tagnames ) ) {
return $content;
}
// Ensure this context is only added once if shortcodes are nested.
$has_filter   = has_filter( 'wp_get_attachment_image_context', '_filter_do_shortcode_context' );
$filter_added = false;
if ( ! $has_filter ) {
$filter_added = add_filter( 'wp_get_attachment_image_context', '_filter_do_shortcode_context' );
}
$content = do_shortcodes_in_html_tags( $content, $ignore_html, $tagnames );
$pattern = get_shortcode_regex( $tagnames );
$content = preg_replace_callback( "/$pattern/", 'do_shortcode_tag', $content );
// Always restore square braces so we don't break things like <!--[if IE ]>.
$content = unescape_invalid_shortcodes( $content );
// Only remove the filter if it was added in this scope.
if ( $filter_added ) {
remove_filter( 'wp_get_attachment_image_context', '_filter_do_shortcode_context' );
}
return $content;
}
/**
* Filter the `wp_get_attachment_image_context` hook during shortcode rendering.
*
* When wp_get_attachment_image() is called during shortcode rendering, we need to make clear
* that the context is a shortcode and not part of the theme's template rendering logic.
*
* @since 6.3.0
* @access private
Arguments
  1. "/\[(\[?)(gravityform)(?![\w-])([^\]\/]*(?:\/(?!\])[^\]\/]*)*?)(?:(\/)\]|\](?:([^\[]*+(?:\[(?!\/\2\])[^\[]*+)*+)\[\/\2\])?)(\]?)/"
    
  2. "do_shortcode_tag"
    
  3. "[gravityform id="66" title="false" description="false" ajax="true"]"
    
/home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/storage/framework/views/4bcd0f46ce24110dd9dbee6402b1fea00fdbc66b.php
        <?php the_row(); ?>
<?php if(get_row_layout() == 'calculator-price-hero'): ?>
<?php if(have_rows('content')): ?>
<?php while(have_rows('content')): ?>
<?php
the_row();
$formId = get_sub_field('hero_calc_cta')['form_id'] ?? 66;
?>
<?php endwhile; ?>
<?php endif; ?>
<?php endif; ?>
<?php endwhile; ?>
<?php endif; ?>
<div class="module-consultation" style="pointer-events:none;">
<div class="popup_consultation" style="">
<div class="wrap_popup">
<div class="close"></div>
<div class="popup_content" data-formId="<?php echo e($formId); ?>">
<?php echo do_shortcode('[gravityform id="' . $formId . '" title="false" description="false" ajax="true"]'); ?>
</div>
<div class="logo_3d_consultation"></div>
</div>
</div>
</div>
<?php /**PATH /home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/resources/views/partials/module-popup-consultation.blade.php ENDPATH**/ ?>
Arguments
  1. "[gravityform id="66" title="false" description="false" ajax="true"]"
    
/home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/vendor/illuminate/filesystem/Filesystem.php
 
/**
* Get the returned value of a file.
*
* @param  string  $path
* @param  array  $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function getRequire($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
/**
* Require the given file once.
*
* @param  string  $path
* @param  array  $data
* @return mixed
*/
public function requireOnce($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
return (static function () use ($__path, $__data) {
Arguments
  1. "/home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/storage/framework/views/4bcd0f46ce24110dd9dbee6402b1fea00fdbc66b.php"
    
/home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/vendor/illuminate/filesystem/Filesystem.php
    /**
* Get the returned value of a file.
*
* @param  string  $path
* @param  array  $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function getRequire($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
/**
* Require the given file once.
*
* @param  string  $path
* @param  array  $data
* @return mixed
*/
public function requireOnce($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
/home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/vendor/illuminate/view/Engines/PhpEngine.php
    }
/**
* Get the evaluated contents of the view at the given path.
*
* @param  string  $path
* @param  array  $data
* @return string
*/
protected function evaluatePath($path, $data)
{
$obLevel = ob_get_level();
ob_start();
// We'll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
$this->files->getRequire($path, $data);
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
}
/**
* Handle a view exception.
*
* @param  \Throwable  $e
* @param  int  $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
while (ob_get_level() > $obLevel) {
ob_end_clean();
Arguments
  1. "/home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/storage/framework/views/4bcd0f46ce24110dd9dbee6402b1fea00fdbc66b.php"
    
  2. array:4 [
    "__env" => Illuminate\View\Factory {#12089}
    "app" => Roots\Acorn\Application {#12016}
    "post" => WP_Post {#13757}
    "siteName" => "Redbox Media &#8211; Agence de stratégie numérique, conception web et marketing web à Montréal"
    ]
    
/home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/vendor/illuminate/view/Engines/CompilerEngine.php
     *
* @param  string  $path
* @param  array  $data
* @return string
*/
public function get($path, array $data = [])
{
$this->lastCompiled[] = $path;
// If this given view has expired, which means it has simply been edited since
// it was last compiled, we will re-compile the views so we can evaluate a
// fresh copy of the view. We'll pass the compiler the path of the view.
if ($this->compiler->isExpired($path)) {
$this->compiler->compile($path);
}
// Once we have the path to the compiled file, we will evaluate the paths with
// typical PHP just like any other templates. We also keep a stack of views
// which have been rendered for right exception messages to be generated.
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
array_pop($this->lastCompiled);
return $results;
}
/**
* Handle a view exception.
*
* @param  \Throwable  $e
* @param  int  $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
$e = new ErrorException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
parent::handleViewException($e, $obLevel);
Arguments
  1. "/home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/storage/framework/views/4bcd0f46ce24110dd9dbee6402b1fea00fdbc66b.php"
    
  2. array:4 [
    "__env" => Illuminate\View\Factory {#12089}
    "app" => Roots\Acorn\Application {#12016}
    "post" => WP_Post {#13757}
    "siteName" => "Redbox Media &#8211; Agence de stratégie numérique, conception web et marketing web à Montréal"
    ]
    
/home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/vendor/illuminate/view/View.php
        $this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each sections get flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
return $contents;
}
/**
* Get the evaluated contents of the view.
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
* @return array
*/
public function gatherData()
{
$data = array_merge($this->factory->getShared(), $this->data);
foreach ($data as $key => $value) {
if ($value instanceof Renderable) {
$data[$key] = $value->render();
}
}
return $data;
}
Arguments
  1. "/home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/resources/views/partials/module-popup-consultation.blade.php"
    
  2. array:4 [
    "__env" => Illuminate\View\Factory {#12089}
    "app" => Roots\Acorn\Application {#12016}
    "post" => WP_Post {#13757}
    "siteName" => "Redbox Media &#8211; Agence de stratégie numérique, conception web et marketing web à Montréal"
    ]
    
/home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/vendor/illuminate/view/View.php
 
throw $e;
}
}
/**
* Get the contents of the view instance.
*
* @return string
*/
protected function renderContents()
{
// We will keep track of the amount of views being rendered so we can flush
// the section after the complete rendering operation is done. This will
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each sections get flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
return $contents;
}
/**
* Get the evaluated contents of the view.
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
/home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/vendor/illuminate/view/View.php
        $this->view = $view;
$this->path = $path;
$this->engine = $engine;
$this->factory = $factory;
$this->data = $data instanceof Arrayable ? $data->toArray() : (array) $data;
}
/**
* Get the string contents of the view.
*
* @param  callable|null  $callback
* @return array|string
*
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
// another view gets rendered in the future by the application developer.
$this->factory->flushStateIfDoneRendering();
return ! is_null($response) ? $response : $contents;
} catch (Throwable $e) {
$this->factory->flushState();
throw $e;
}
}
/**
* Get the contents of the view instance.
*
* @return string
/home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/storage/framework/views/8ccb056c45ee966eaa67b7d36a8274cbeae87a67.php
                        </div>
<div class="col-12 col-lg-8 col-md-8 col-sm-12 form_loading_page">
<?php if(ICL_LANGUAGE_CODE == 'fr'): ?>
<?php echo do_shortcode('[gravityform id="45" title="false" description="true" ajax="true" tabindex="49"]'); ?>
<?php else: ?>
<?php echo do_shortcode('[gravityform id="46" title="false" description="true" ajax="true" tabindex="49"]'); ?>
<?php endif; ?>
</div>
</div>
</div>
<?php endif; ?>
<?php endwhile; ?>
</div>
<?php if ($__env->exists('partials.module-popup-evenement')) echo $__env->make('partials.module-popup-evenement', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php if ($__env->exists('partials.module-popup-ecommerce')) echo $__env->make('partials.module-popup-ecommerce', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php if ($__env->exists('partials.module-popup-rh')) echo $__env->make('partials.module-popup-rh', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php if ($__env->exists('partials.module-popup-conception-web')) echo $__env->make('partials.module-popup-conception-web', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php if ($__env->exists('partials.module-popup-strategie-web')) echo $__env->make('partials.module-popup-strategie-web', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php if ($__env->exists('partials.module-popup-video')) echo $__env->make('partials.module-popup-video', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php if ($__env->exists('partials.module-popup-consultation')) echo $__env->make('partials.module-popup-consultation', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.loading', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/resources/views/template-calculateur-de-prix.blade.php ENDPATH**/ ?>
/home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/vendor/illuminate/filesystem/Filesystem.php
 
/**
* Get the returned value of a file.
*
* @param  string  $path
* @param  array  $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function getRequire($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
/**
* Require the given file once.
*
* @param  string  $path
* @param  array  $data
* @return mixed
*/
public function requireOnce($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
return (static function () use ($__path, $__data) {
Arguments
  1. "/home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/storage/framework/views/8ccb056c45ee966eaa67b7d36a8274cbeae87a67.php"
    
/home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/vendor/illuminate/filesystem/Filesystem.php
    /**
* Get the returned value of a file.
*
* @param  string  $path
* @param  array  $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function getRequire($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
/**
* Require the given file once.
*
* @param  string  $path
* @param  array  $data
* @return mixed
*/
public function requireOnce($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
/home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/vendor/illuminate/view/Engines/PhpEngine.php
    }
/**
* Get the evaluated contents of the view at the given path.
*
* @param  string  $path
* @param  array  $data
* @return string
*/
protected function evaluatePath($path, $data)
{
$obLevel = ob_get_level();
ob_start();
// We'll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
$this->files->getRequire($path, $data);
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
}
/**
* Handle a view exception.
*
* @param  \Throwable  $e
* @param  int  $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
while (ob_get_level() > $obLevel) {
ob_end_clean();
Arguments
  1. "/home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/storage/framework/views/8ccb056c45ee966eaa67b7d36a8274cbeae87a67.php"
    
  2. array:4 [
    "__env" => Illuminate\View\Factory {#12089}
    "app" => Roots\Acorn\Application {#12016}
    "post" => WP_Post {#13757}
    "siteName" => "Redbox Media &#8211; Agence de stratégie numérique, conception web et marketing web à Montréal"
    ]
    
/home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/vendor/illuminate/view/Engines/CompilerEngine.php
     *
* @param  string  $path
* @param  array  $data
* @return string
*/
public function get($path, array $data = [])
{
$this->lastCompiled[] = $path;
// If this given view has expired, which means it has simply been edited since
// it was last compiled, we will re-compile the views so we can evaluate a
// fresh copy of the view. We'll pass the compiler the path of the view.
if ($this->compiler->isExpired($path)) {
$this->compiler->compile($path);
}
// Once we have the path to the compiled file, we will evaluate the paths with
// typical PHP just like any other templates. We also keep a stack of views
// which have been rendered for right exception messages to be generated.
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
array_pop($this->lastCompiled);
return $results;
}
/**
* Handle a view exception.
*
* @param  \Throwable  $e
* @param  int  $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
$e = new ErrorException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
parent::handleViewException($e, $obLevel);
Arguments
  1. "/home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/storage/framework/views/8ccb056c45ee966eaa67b7d36a8274cbeae87a67.php"
    
  2. array:4 [
    "__env" => Illuminate\View\Factory {#12089}
    "app" => Roots\Acorn\Application {#12016}
    "post" => WP_Post {#13757}
    "siteName" => "Redbox Media &#8211; Agence de stratégie numérique, conception web et marketing web à Montréal"
    ]
    
/home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/vendor/illuminate/view/View.php
        $this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each sections get flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
return $contents;
}
/**
* Get the evaluated contents of the view.
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
* @return array
*/
public function gatherData()
{
$data = array_merge($this->factory->getShared(), $this->data);
foreach ($data as $key => $value) {
if ($value instanceof Renderable) {
$data[$key] = $value->render();
}
}
return $data;
}
Arguments
  1. "/home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/resources/views/template-calculateur-de-prix.blade.php"
    
  2. array:4 [
    "__env" => Illuminate\View\Factory {#12089}
    "app" => Roots\Acorn\Application {#12016}
    "post" => WP_Post {#13757}
    "siteName" => "Redbox Media &#8211; Agence de stratégie numérique, conception web et marketing web à Montréal"
    ]
    
/home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/vendor/illuminate/view/View.php
 
throw $e;
}
}
/**
* Get the contents of the view instance.
*
* @return string
*/
protected function renderContents()
{
// We will keep track of the amount of views being rendered so we can flush
// the section after the complete rendering operation is done. This will
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each sections get flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
return $contents;
}
/**
* Get the evaluated contents of the view.
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
/home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/vendor/illuminate/view/View.php
        $this->view = $view;
$this->path = $path;
$this->engine = $engine;
$this->factory = $factory;
$this->data = $data instanceof Arrayable ? $data->toArray() : (array) $data;
}
/**
* Get the string contents of the view.
*
* @param  callable|null  $callback
* @return array|string
*
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
// another view gets rendered in the future by the application developer.
$this->factory->flushStateIfDoneRendering();
return ! is_null($response) ? $response : $contents;
} catch (Throwable $e) {
$this->factory->flushState();
throw $e;
}
}
/**
* Get the contents of the view instance.
*
* @return string
/home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/index.php
<!doctype html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>
<?php do_action( 'get_header' ); ?>
<div id="app">
<?php echo \Roots\view( \Roots\app( 'sage.view' ), \Roots\app( 'sage.data' ) )->render(); ?>
</div>
<?php do_action( 'get_footer' ); ?>
<?php wp_footer(); ?>
</body>
</html>
/home/redboxmediaprod/public_html/wp-includes/template-loader.php
            }
break;
}
}
if ( ! $template ) {
$template = get_index_template();
}
/**
* Filters the path of the current template before including it.
*
* @since 3.0.0
*
* @param string $template The path of the template to include.
*/
$template = apply_filters( 'template_include', $template );
if ( $template ) {
include $template;
} elseif ( current_user_can( 'switch_themes' ) ) {
$theme = wp_get_theme();
if ( $theme->errors() ) {
wp_die( $theme->errors() );
}
}
return;
}
Arguments
  1. "/home/redboxmediaprod/public_html/wp-content/themes/redboxmediarefonte2022/index.php"
    
/home/redboxmediaprod/public_html/wp-blog-header.php
<?php
/**
* Loads the WordPress environment and template.
*
* @package WordPress
*/
if ( ! isset( $wp_did_header ) ) {
$wp_did_header = true;
// Load the WordPress library.
require_once __DIR__ . '/wp-load.php';
// Set up the WordPress query.
wp();
// Load the theme template.
require_once ABSPATH . WPINC . '/template-loader.php';
}
Arguments
  1. "/home/redboxmediaprod/public_html/wp-includes/template-loader.php"
    
/home/redboxmediaprod/public_html/index.php
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define( 'WP_USE_THEMES', true );
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
Arguments
  1. "/home/redboxmediaprod/public_html/wp-blog-header.php"
    

Environment & details:

empty
empty
empty
Key Value
wp-wpml_current_language
"fr"
empty
Key Value
SERVER_SOFTWARE
"Apache"
REQUEST_URI
"/analyse-gratuite-site-web/"
USER
"redboxmediaprod"
HOME
"/home/redboxmediaprod"
SCRIPT_NAME
"/index.php"
QUERY_STRING
""
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/1.1"
GATEWAY_INTERFACE
"CGI/1.1"
REDIRECT_URL
"/analyse-gratuite-site-web/"
REMOTE_PORT
"56870"
SCRIPT_FILENAME
"/home/redboxmediaprod/public_html/index.php"
SERVER_ADMIN
"webmaster@redboxmedia.ca"
CONTEXT_DOCUMENT_ROOT
"/home/redboxmediaprod/public_html"
CONTEXT_PREFIX
""
REQUEST_SCHEME
"https"
DOCUMENT_ROOT
"/home/redboxmediaprod/public_html"
REMOTE_ADDR
"44.192.48.196"
SERVER_PORT
"443"
SERVER_ADDR
"51.222.121.213"
SERVER_NAME
"redboxmedia.ca"
SERVER_SIGNATURE
""
PATH
"/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin"
HTTP_CONNECTION
"Keep-Alive"
HTTP_HOST
"redboxmedia.ca"
HTTP_ACCEPT_ENCODING
"br,gzip"
HTTP_IF_MODIFIED_SINCE
"Sat, 24 Feb 2024 16:24:07 GMT"
HTTP_ACCEPT_LANGUAGE
"en-US,en;q=0.5"
HTTP_ACCEPT
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
HTTP_USER_AGENT
"CCBot/2.0 (https://commoncrawl.org/faq/)"
proxy-nokeepalive
"1"
SSL_TLS_SNI
"redboxmedia.ca"
HTTPS
"on"
HTTP_AUTHORIZATION
""
UNIQUE_ID
"ZnUGrkFiBpLBGI2sGn_UlgAAAYM"
REDIRECT_STATUS
"200"
REDIRECT_SSL_TLS_SNI
"redboxmedia.ca"
REDIRECT_HTTPS
"on"
REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_UNIQUE_ID
"ZnUGrkFiBpLBGI2sGn_UlgAAAYM"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1718945454.8219
REQUEST_TIME
1718945454
argv
[]
argc
0
empty
0. Whoops\Handler\PrettyPageHandler