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

                )

            [name] => moscow.jpg
            [category] => port
            [assoc] => 4186
            [assoc_name] => moscow_canal
            [tags] => Array
                (
                    [0] => Moscow
                    [1] => Russia
                    [2] => Volga
                    [3] => Europe
                )

            [filename] => moscow.jpg
            [size] => Array
                (
                    [big] => moscow_1280_413.jpg
                    [medium] => moscow_1024_330.jpg
                    [small] => moscow_768_248.jpg
                    [mobile] => moscow_480_200.jpg
                    [square] => moscow_580_620.jpg
                )

            [alt] => Moscow Canal
            [title] => Moscow Canal
            [created] => 18/10/2018, 15:16:34
        )

    [st._petersburg] => Array
        (
            [_id] => MongoId Object
                (
                    [objectID:MongoId:private] => MongoDB\BSON\ObjectId Object
                        (
                            [oid] => 5bc7504b6aa60a6d9b4e2a18
                        )

                )

            [name] => st-petersburg.jpg
            [category] => port
            [assoc] => 96487
            [assoc_name] => st_petersburg
            [tags] => Array
                (
                    [0] => St. Petersburg
                    [1] => Russia
                    [2] => Volga
                    [3] => Europe
                    [4] => river_gallery
                    [5] => country_gallery
                )

            [filename] => st-petersburg.jpg
            [size] => Array
                (
                    [big] => st-petersburg_1280_413.jpg
                    [medium] => st-petersburg_1024_330.jpg
                    [small] => st-petersburg_768_248.jpg
                    [mobile] => st-petersburg_480_200.jpg
                    [square] => st-petersburg_580_620.jpg
                )

            [alt] => St Petersburg
            [title] => St Petersburg
            [created] => 17/10/2018, 16:07:55
        )

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

                )

            [name] => uglich.jpg
            [category] => port
            [assoc] => uglich
            [assoc_name] => 
            [tags] => Array
                (
                    [0] => Uglich
                    [1] => Russia
                    [2] => Volga
                    [3] => Europe
                    [4] => country_gallery
                )

            [filename] => uglich.jpg
            [size] => Array
                (
                    [big] => uglich_1280_413.jpg
                    [medium] => uglich_1024_330.jpg
                    [small] => uglich_768_248.jpg
                    [mobile] => uglich_480_200.jpg
                    [square] => uglich_580_620.jpg
                )

            [alt] => Uglich
            [title] => Uglich
            [created] => 31/05/2019, 13:47:37
        )

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

                )

            [name] => yaroslavl.jpg
            [category] => port
            [assoc] => 94203
            [assoc_name] => yaroslavl
            [tags] => Array
                (
                    [0] => Yaroslavl
                    [1] => Russia
                    [2] => Volga
                    [3] => Europe
                    [4] => river_gallery
                    [5] => country_gallery
                )

            [filename] => yaroslavl.jpg
            [size] => Array
                (
                    [big] => yaroslavl_1280_413.jpg
                    [medium] => yaroslavl_1024_330.jpg
                    [small] => yaroslavl_768_248.jpg
                    [mobile] => yaroslavl_480_200.jpg
                    [square] => yaroslavl_580_620.jpg
                )

            [alt] => Yaroslavl
            [title] => Yaroslavl
            [created] => 18/10/2018, 12:05:51
        )

)