A PHP Error was encountered

Severity: Notice

Message: Undefined index: country_ports

Filename: controllers/Country_controller.php

Line Number: 42

Backtrace:

File: /var/www/vhosts/dev.rivervoyages.com/public/application/controllers/Country_controller.php
Line: 42
Function: _error_handler

File: /var/www/vhosts/dev.rivervoyages.com/public/index.php
Line: 319
Function: require_once

Array
(
    [kiev] => Array
        (
            [_id] => MongoId Object
                (
                    [objectID:MongoId:private] => MongoDB\BSON\ObjectId Object
                        (
                            [oid] => 5bc893a06aa60a6d9b527f3a
                        )

                )

            [name] => kiev.jpg
            [category] => port
            [assoc] => 725
            [assoc_name] => kiev
            [tags] => Array
                (
                    [0] => Kiev
                    [1] => Ukraine
                    [2] => Dnieper
                    [3] => Europe
                    [4] => river_gallery
                    [5] => country_gallery
                )

            [filename] => kiev.jpg
            [size] => Array
                (
                    [big] => kiev_1280_413.jpg
                    [medium] => kiev_1024_330.jpg
                    [small] => kiev_768_248.jpg
                    [mobile] => kiev_480_200.jpg
                    [square] => kiev_580_620.jpg
                )

            [alt] => Kiev
            [title] => Kiev
            [created] => 18/10/2018, 15:07:28
        )

    [odessa] => Array
        (
            [_id] => MongoId Object
                (
                    [objectID:MongoId:private] => MongoDB\BSON\ObjectId Object
                        (
                            [oid] => 5bc892406aa60a6d9b527977
                        )

                )

            [name] => odessa.jpg
            [category] => port
            [assoc] => 462
            [assoc_name] => odessa
            [tags] => Array
                (
                    [0] => Odessa
                    [1] => Ukraine
                    [2] => Dnieper
                    [3] => Europe
                    [4] => river_gallery
                    [5] => country_gallery
                )

            [filename] => odessa.jpg
            [size] => Array
                (
                    [big] => odessa_1280_413.jpg
                    [medium] => odessa_1024_330.jpg
                    [small] => odessa_768_248.jpg
                    [mobile] => odessa_480_200.jpg
                    [square] => odessa_580_620.jpg
                )

            [alt] => Odessa
            [title] => Odessa
            [created] => 18/10/2018, 15:01:36
        )

    [yalta] => 
)