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
(
    [yangon] => Array
        (
            [_id] => MongoId Object
                (
                    [objectID:MongoId:private] => MongoDB\BSON\ObjectId Object
                        (
                            [oid] => 5bc753426aa60a6d9b4e3673
                        )

                )

            [name] => yangon.jpg
            [category] => port
            [assoc] => 94327
            [assoc_name] => yangon
            [tags] => Array
                (
                    [0] => Yangon
                    [1] => Myanmar
                    [2] => Irrawaddy
                    [3] => Asia
                    [4] => river_gallery
                    [5] => country_gallery
                )

            [filename] => yangon.jpg
            [size] => Array
                (
                    [big] => yangon_1280_413.jpg
                    [medium] => yangon_1024_330.jpg
                    [small] => yangon_768_248.jpg
                    [mobile] => yangon_480_200.jpg
                    [square] => yangon_580_620.jpg
                )

            [alt] => Yangon
            [title] => Yangon
            [created] => 17/10/2018, 16:20:34
        )

)