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

                )

            [name] => durnstein.jpg
            [category] => port
            [assoc] => 93979
            [assoc_name] => dürnstein_austria
            [tags] => Array
                (
                    [0] => Durnstein
                    [1] => Austria
                    [2] => Danube
                    [3] => Europe
                    [4] => Dürnstein, Austria
                )

            [filename] => durnstein.jpg
            [size] => Array
                (
                    [big] => durnstein_1280_413.jpg
                    [medium] => durnstein_1024_330.jpg
                    [small] => durnstein_768_248.jpg
                    [mobile] => durnstein_480_200.jpg
                    [square] => durnstein_580_620.jpg
                )

            [alt] => Dürnstein
            [title] => Dürnstein
            [created] => 17/10/2018, 17:17:01
        )

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

                )

            [name] => krems.jpg
            [category] => port
            [assoc] => 93775
            [assoc_name] => krems
            [tags] => Array
                (
                    [0] => Krems
                    [1] => Austria
                    [2] => Danube
                    [3] => Europe
                )

            [filename] => krems.jpg
            [size] => Array
                (
                    [big] => krems_1280_413.jpg
                    [medium] => krems_1024_330.jpg
                    [small] => krems_768_248.jpg
                    [mobile] => krems_480_200.jpg
                    [square] => krems_580_620.jpg
                )

            [alt] => Krems
            [title] => Krems
            [created] => 17/10/2018, 16:40:43
        )

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

                )

            [name] => linz.jpg
            [category] => port
            [assoc] => 93673
            [assoc_name] => linz_austria
            [tags] => Array
                (
                    [0] => Linz
                    [1] => Austria
                    [2] => Danube
                    [3] => Europe
                    [4] => Linz, Austria
                    [5] => country_gallery
                )

            [filename] => linz.jpg
            [size] => Array
                (
                    [big] => linz_1280_413.jpg
                    [medium] => linz_1024_330.jpg
                    [small] => linz_768_248.jpg
                    [mobile] => linz_480_200.jpg
                    [square] => linz_580_620.jpg
                )

            [alt] => Linz
            [title] => Linz
            [created] => 16/10/2018, 15:23:11
        )

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

                )

            [name] => melk.jpg
            [category] => port
            [assoc] => 39
            [assoc_name] => melk
            [tags] => Array
                (
                    [0] => Melk
                    [1] => Austria
                    [2] => Danube
                    [3] => Europe
                    [4] => river_gallery
                    [5] => country_gallery
                )

            [filename] => melk.jpg
            [size] => Array
                (
                    [big] => melk_1280_413.jpg
                    [medium] => melk_1024_330.jpg
                    [small] => melk_768_248.jpg
                    [mobile] => melk_480_200.jpg
                    [square] => melk_580_620.jpg
                )

            [alt] => Melk
            [title] => Melk
            [created] => 16/10/2018, 15:19:10
        )

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

                )

            [name] => salzburg.jpg
            [category] => port
            [assoc] => 93695
            [assoc_name] => salzburg
            [tags] => Array
                (
                    [0] => Salzburg
                    [1] => Austria
                    [2] => Danube
                    [3] => Europe
                )

            [filename] => salzburg.jpg
            [size] => Array
                (
                    [big] => salzburg_1280_413.jpg
                    [medium] => salzburg_1024_330.jpg
                    [small] => salzburg_768_248.jpg
                    [mobile] => salzburg_480_200.jpg
                    [square] => salzburg_580_620.jpg
                )

            [alt] => Salzburg
            [title] => Salzburg
            [created] => 17/10/2018, 17:08:43
        )

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

                )

            [name] => vienna1.jpg
            [category] => port
            [assoc] => 97300
            [assoc_name] => vienna
            [tags] => Array
                (
                    [0] => Vienna
                    [1] => Austria
                    [2] => Danube
                    [3] => Europe
                    [4] => river_gallery
                )

            [filename] => vienna1.jpg
            [size] => Array
                (
                    [big] => vienna1_1280_413.jpg
                    [medium] => vienna1_1024_330.jpg
                    [small] => vienna1_768_248.jpg
                    [mobile] => vienna1_480_200.jpg
                    [square] => vienna1_580_620.jpg
                )

            [alt] => Vienna
            [title] => Vienna
            [created] => 15/10/2018, 16:44:14
        )

)