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

                )

            [name] => angkor-wat.jpg
            [category] => port
            [assoc] => angkor
            [assoc_name] => 
            [tags] => Array
                (
                    [0] => Angkor
                    [1] => Cambodia
                    [2] => Mekong
                    [3] => Asia
                    [4] => country_gallery
                    [5] => Asia & Indian Ocean
                )

            [filename] => angkor-wat.jpg
            [size] => Array
                (
                    [big] => angkor-wat_1280_413.jpg
                    [medium] => angkor-wat_1024_330.jpg
                    [small] => angkor-wat_768_248.jpg
                    [mobile] => angkor-wat_480_200.jpg
                    [square] => angkor-wat_580_620.jpg
                )

            [alt] => Angkor Wat
            [title] => Angkor Wat
            [created] => 24/05/2019, 16:17:49
        )

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

                )

            [name] => phnom-penh.jpg
            [category] => port
            [assoc] => 93709
            [assoc_name] => phnom_penh
            [tags] => Array
                (
                    [0] => Phnom Penh
                    [1] => Cambodia
                    [2] => Mekong
                    [3] => Asia
                    [4] => country_gallery
                )

            [filename] => phnom-penh.jpg
            [size] => Array
                (
                    [big] => phnom-penh_1280_413.jpg
                    [medium] => phnom-penh_1024_330.jpg
                    [small] => phnom-penh_768_248.jpg
                    [mobile] => phnom-penh_480_200.jpg
                    [square] => phnom-penh_580_620.jpg
                )

            [alt] => Phnom Penh
            [title] => Phnom Penh
            [created] => 17/10/2018, 11:57:22
        )

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

                )

            [name] => siem-reap.jpg
            [category] => port
            [assoc] => 97303
            [assoc_name] => siem_reap
            [tags] => Array
                (
                    [0] => Siem Reap
                    [1] => Cambodia
                    [2] => Mekong
                    [3] => Asia
                    [4] => country_gallery
                    [5] => Asia & Indian Ocean
                )

            [filename] => siem-reap.jpg
            [size] => Array
                (
                    [big] => siem-reap_1280_413.jpg
                    [medium] => siem-reap_1024_330.jpg
                    [small] => siem-reap_768_248.jpg
                    [mobile] => siem-reap_480_200.jpg
                    [square] => siem-reap_580_620.jpg
                )

            [alt] => Siem Reap
            [title] => Siem Reap
            [created] => 16/10/2018, 15:13:03
        )

)