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

                )

            [name] => amsterdam.jpg
            [category] => port
            [assoc] => 95775
            [assoc_name] => amsterdam
            [tags] => Array
                (
                    [0] => Amsterdam
                    [1] => Holland
                    [2] => Dutch Waterways
                    [3] => Europe
                    [4] => country_gallery
                )

            [filename] => amsterdam.jpg
            [size] => Array
                (
                    [big] => amsterdam_1280_413.jpg
                    [medium] => amsterdam_1024_330.jpg
                    [small] => amsterdam_768_248.jpg
                    [mobile] => amsterdam_480_200.jpg
                    [square] => amsterdam_580_620.jpg
                )

            [alt] => Amsterdam
            [title] => Amsterdam
            [created] => 17/10/2018, 11:32:15
        )

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

                )

            [name] => arnhem.jpg
            [category] => port
            [assoc] => 96917
            [assoc_name] => arnhem
            [tags] => Array
                (
                    [0] => Arnhem
                    [1] => Holland
                    [2] => Dutch Waterways
                    [3] => Europe
                )

            [filename] => arnhem.jpg
            [size] => Array
                (
                    [big] => arnhem_1280_413.jpg
                    [medium] => arnhem_1024_330.jpg
                    [small] => arnhem_768_248.jpg
                    [mobile] => arnhem_480_200.jpg
                    [square] => arnhem_580_620.jpg
                )

            [alt] => Arnhem
            [title] => Arnhem
            [created] => 18/10/2018, 12:01:35
        )

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

                )

            [name] => hoorn.jpg
            [category] => port
            [assoc] => 88
            [assoc_name] => hoorn
            [tags] => Array
                (
                    [0] => Hoorn
                    [1] => Dutch Waterways
                    [2] => Europe
                )

            [filename] => hoorn.jpg
            [size] => Array
                (
                    [big] => hoorn_1280_413.jpg
                    [medium] => hoorn_1024_330.jpg
                    [small] => hoorn_768_248.jpg
                    [mobile] => hoorn_480_200.jpg
                    [square] => hoorn_580_620.jpg
                )

            [alt] => Hoorn
            [title] => Hoorn
            [created] => 18/10/2018, 11:50:58
        )

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

                )

            [name] => keukenhof.jpg
            [category] => port
            [assoc] => 
            [assoc_name] => keukenhof
            [tags] => Array
                (
                    [0] => Keukenhof
                    [1] => Netherlands
                    [2] => Europe
                )

            [filename] => keukenhof.jpg
            [size] => Array
                (
                    [big] => keukenhof_1280_413.jpg
                    [medium] => keukenhof_1024_330.jpg
                    [small] => keukenhof_768_248.jpg
                    [mobile] => keukenhof_480_200.jpg
                    [square] => keukenhof_580_620.jpg
                )

            [alt] => Keukenhof
            [title] => Keukenhof
            [created] => 05/11/2018, 11:02:48
        )

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

                )

            [name] => kinderdijk.jpg
            [category] => port
            [assoc] => 91
            [assoc_name] => kinderdijk
            [tags] => Array
                (
                    [0] => Kinderdijk
                    [1] => Holland
                    [2] => Dutch Waterways
                    [3] => Europe
                )

            [filename] => kinderdijk.jpg
            [size] => Array
                (
                    [big] => kinderdijk_1280_413.jpg
                    [medium] => kinderdijk_1024_330.jpg
                    [small] => kinderdijk_768_248.jpg
                    [mobile] => kinderdijk_480_200.jpg
                    [square] => kinderdijk_580_620.jpg
                )

            [alt] => Kinderdijk
            [title] => Kinderdijk
            [created] => 18/10/2018, 16:01:47
        )

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

                )

            [name] => middelburg.jpg
            [category] => port
            [assoc] => middelburg
            [assoc_name] => 
            [tags] => Array
                (
                    [0] => Middelburg
                    [1] => Netherlands
                    [2] => Dutch Waterways
                    [3] => country_gallery
                )

            [filename] => middelburg.jpg
            [size] => Array
                (
                    [big] => middelburg_1280_413.jpg
                    [medium] => middelburg_1024_330.jpg
                    [small] => middelburg_768_248.jpg
                    [mobile] => middelburg_480_200.jpg
                    [square] => middelburg_580_620.jpg
                )

            [alt] => Middelburg
            [title] => Middelburg
            [created] => 24/05/2019, 16:57:17
        )

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

                )

            [name] => nijmegen.jpg
            [category] => port
            [assoc] => 95160
            [assoc_name] => nijmegen
            [tags] => Array
                (
                    [0] => Nijmegen
                    [1] => Holland
                    [2] => Dutch Waterways
                    [3] => Europe
                )

            [filename] => nijmegen.jpg
            [size] => Array
                (
                    [big] => nijmegen_1280_413.jpg
                    [medium] => nijmegen_1024_330.jpg
                    [small] => nijmegen_768_248.jpg
                    [mobile] => nijmegen_480_200.jpg
                    [square] => nijmegen_580_620.jpg
                )

            [alt] => Nijmegen
            [title] => Nijmegen
            [created] => 18/10/2018, 12:04:59
        )

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

                )

            [name] => rotterdam.jpg
            [category] => port
            [assoc] => 92
            [assoc_name] => rotterdam
            [tags] => Array
                (
                    [0] => Rotterdam
                    [1] => Holland
                    [2] => Dutch Waterways
                    [3] => Europe
                    [4] => country_gallery
                )

            [filename] => rotterdam.jpg
            [size] => Array
                (
                    [big] => rotterdam_1280_413.jpg
                    [medium] => rotterdam_1024_330.jpg
                    [small] => rotterdam_768_248.jpg
                    [mobile] => rotterdam_480_200.jpg
                    [square] => rotterdam_580_620.jpg
                )

            [alt] => Rotterdam
            [title] => Rotterdam
            [created] => 17/10/2018, 17:11:24
        )

)