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
(
    [barca_d'alva] => 
    [bitetos] => 
    [guimaraes] => Array
        (
            [_id] => MongoId Object
                (
                    [objectID:MongoId:private] => MongoDB\BSON\ObjectId Object
                        (
                            [oid] => 5bc8981c6aa60a6d9b5290de
                        )

                )

            [name] => guimaraes.jpg
            [category] => port
            [assoc] => 1829
            [assoc_name] => guimarães
            [tags] => Array
                (
                    [0] => Guimarães
                    [1] => Portugal
                    [2] => Douro
                    [3] => Europe
                    [4] => Guimaraes
                )

            [filename] => guimaraes.jpg
            [size] => Array
                (
                    [big] => guimaraes_1280_413.jpg
                    [medium] => guimaraes_1024_330.jpg
                    [small] => guimaraes_768_248.jpg
                    [mobile] => guimaraes_480_200.jpg
                    [square] => guimaraes_580_620.jpg
                )

            [alt] => Guimarães
            [title] => Guimarães
            [created] => 18/10/2018, 15:26:36
        )

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

                )

            [name] => lisbon.jpg
            [category] => port
            [assoc] => 96415
            [assoc_name] => lisbon_portugal
            [tags] => Array
                (
                    [0] => Lisbon
                    [1] => Portugal
                    [2] => Douro
                    [3] => Europe
                    [4] => Lisbon, Portugal
                    [5] => country_gallery
                )

            [filename] => lisbon.jpg
            [size] => Array
                (
                    [big] => lisbon_1280_413.jpg
                    [medium] => lisbon_1024_330.jpg
                    [small] => lisbon_768_248.jpg
                    [mobile] => lisbon_480_200.jpg
                    [square] => lisbon_580_620.jpg
                )

            [alt] => Lisbon
            [title] => Lisbon
            [created] => 17/10/2018, 15:51:48
        )

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

                )

            [name] => porto.jpg
            [category] => port
            [assoc] => 95025
            [assoc_name] => oporto
            [tags] => Array
                (
                    [0] => Oporto
                    [1] => Portugal
                    [2] => Douro
                    [3] => Europe
                    [4] => river_gallery
                    [5] => country_gallery
                )

            [filename] => porto.jpg
            [size] => Array
                (
                    [big] => porto_1280_413.jpg
                    [medium] => porto_1024_330.jpg
                    [small] => porto_768_248.jpg
                    [mobile] => porto_480_200.jpg
                    [square] => porto_580_620.jpg
                )

            [alt] => Oporto
            [title] => Oporto
            [created] => 17/10/2018, 15:47:23
        )

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

                )

            [name] => pinhao.jpg
            [category] => port
            [assoc] => 2356
            [assoc_name] => pinhao_portugal
            [tags] => Array
                (
                    [0] => Pinhao
                    [1] => Portugal
                    [2] => Douro
                    [3] => Europe
                    [4] => river_gallery
                    [5] => Pinhao, Portugal
                )

            [filename] => pinhao.jpg
            [size] => Array
                (
                    [big] => pinhao_1280_413.jpg
                    [medium] => pinhao_1024_330.jpg
                    [small] => pinhao_768_248.jpg
                    [mobile] => pinhao_480_200.jpg
                    [square] => pinhao_580_620.jpg
                )

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

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

                )

            [name] => regua.jpg
            [category] => port
            [assoc] => 96531
            [assoc_name] => peso_da_régua
            [tags] => Array
                (
                    [0] => Peso Da Régua
                    [1] => Portugal
                    [2] => Douro
                    [3] => Europe
                    [4] => Regua
                )

            [filename] => regua.jpg
            [size] => Array
                (
                    [big] => regua_1280_413.jpg
                    [medium] => regua_1024_330.jpg
                    [small] => regua_768_248.jpg
                    [mobile] => regua_480_200.jpg
                    [square] => regua_580_620.jpg
                )

            [alt] => Peso Da Régua
            [title] => Peso Da Régua
            [created] => 18/10/2018, 12:11:37
        )

)