Error Object
(
    [message:protected] => Call to a member function getBoatId() on null
    [string:Error:private] => 
    [code:protected] => 0
    [file:protected] => /home/customer/www/dreamyachtcharter.com/public_html/wp-content/themes/dreamyachtcharter/templates/single-yacht.php
    [line:protected] => 28
    [trace:Error:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/customer/www/dreamyachtcharter.com/public_html/wp-content/themes/dreamyachtcharter/templates/content-single-crewed-charter.php
                    [line] => 2
                    [function] => require_once
                )

            [1] => Array
                (
                    [file] => /home/customer/www/dreamyachtcharter.com/public_html/wp-includes/template.php
                    [line] => 772
                    [args] => Array
                        (
                            [0] => /home/customer/www/dreamyachtcharter.com/public_html/wp-content/themes/dreamyachtcharter/templates/content-single-crewed-charter.php
                        )

                    [function] => require
                )

            [2] => Array
                (
                    [file] => /home/customer/www/dreamyachtcharter.com/public_html/wp-includes/template.php
                    [line] => 716
                    [function] => load_template
                    [args] => Array
                        (
                            [0] => /home/customer/www/dreamyachtcharter.com/public_html/wp-content/themes/dreamyachtcharter/templates/content-single-crewed-charter.php
                            [1] => 
                            [2] => Array
                                (
                                )

                        )

                )

            [3] => Array
                (
                    [file] => /home/customer/www/dreamyachtcharter.com/public_html/wp-includes/general-template.php
                    [line] => 204
                    [function] => locate_template
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [0] => templates/content-single-crewed-charter.php
                                    [1] => templates/content-single.php
                                )

                            [1] => 1
                            [2] => 
                            [3] => Array
                                (
                                )

                        )

                )

            [4] => Array
                (
                    [file] => /home/customer/www/dreamyachtcharter.com/public_html/wp-content/themes/dreamyachtcharter/single.php
                    [line] => 1
                    [function] => get_template_part
                    [args] => Array
                        (
                            [0] => templates/content-single
                            [1] => crewed-charter
                        )

                )

            [5] => Array
                (
                    [file] => /home/customer/www/dreamyachtcharter.com/public_html/wp-content/themes/dreamyachtcharter/base.php
                    [line] => 45
                    [args] => Array
                        (
                            [0] => /home/customer/www/dreamyachtcharter.com/public_html/wp-content/themes/dreamyachtcharter/single.php
                        )

                    [function] => include
                )

            [6] => Array
                (
                    [file] => /home/customer/www/dreamyachtcharter.com/public_html/wp-includes/template-loader.php
                    [line] => 106
                    [args] => Array
                        (
                            [0] => /home/customer/www/dreamyachtcharter.com/public_html/wp-content/themes/dreamyachtcharter/base.php
                        )

                    [function] => include
                )

            [7] => Array
                (
                    [file] => /home/customer/www/dreamyachtcharter.com/public_html/wp-blog-header.php
                    [line] => 19
                    [args] => Array
                        (
                            [0] => /home/customer/www/dreamyachtcharter.com/public_html/wp-includes/template-loader.php
                        )

                    [function] => require_once
                )

            [8] => Array
                (
                    [file] => /home/customer/www/dreamyachtcharter.com/public_html/index.php
                    [line] => 17
                    [args] => Array
                        (
                            [0] => /home/customer/www/dreamyachtcharter.com/public_html/wp-blog-header.php
                        )

                    [function] => require
                )

        )

    [previous:Error:private] => 
)