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

                )

            [name] => belgrade.jpg
            [category] => port
            [assoc] => 218
            [assoc_name] => belgrade
            [tags] => Array
                (
                    [0] => Belgrade
                    [1] => Serbia
                    [2] => Danube
                    [3] => Europe
                    [4] => Belgrade, Serbia
                    [5] => country_gallery
                )

            [filename] => belgrade.jpg
            [size] => Array
                (
                    [big] => belgrade_1280_413.jpg
                    [medium] => belgrade_1024_330.jpg
                    [small] => belgrade_768_248.jpg
                    [mobile] => belgrade_480_200.jpg
                    [square] => belgrade_580_620.jpg
                )

            [alt] => Belgrade
            [title] => Belgrade
            [created] => 17/10/2018, 17:07:47
        )

)