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

                )

            [name] => bratislava.jpg
            [category] => port
            [assoc] => 93998
            [assoc_name] => bratislava_slovakia
            [tags] => Array
                (
                    [0] => Bratislava
                    [1] => Slovakia
                    [2] => Danube
                    [3] => Europe
                    [4] => Bratislava, Slovakia
                    [5] => country_gallery
                )

            [filename] => bratislava.jpg
            [size] => Array
                (
                    [big] => bratislava_1280_413.jpg
                    [medium] => bratislava_1024_330.jpg
                    [small] => bratislava_768_248.jpg
                    [mobile] => bratislava_480_200.jpg
                    [square] => bratislava_580_620.jpg
                )

            [alt] => Bratislava
            [title] => Bratislava
            [created] => 16/10/2018, 15:16:01
        )

)