1

Тема: NextGEN Gallery генерит Invalid display type

Привет,
В WP 4.2 я использую NextGEN Gallery by Photocrati Version 2.1.0
В страницу вставляю шорткод

[ngg_images gallery_ids="1" display_type="photocrati-nextgen_basic_slideshow" exclusions="4,6" ]

gallery_id = 1 в базе существует
как и описано тут http://www.nextgen-gallery.com/nextgen- … hortcodes/  и получаю ошибку
что не может вывести галлерея
Установив режим отладки м вижу ссобщение Invalid display type'

Я порылся в коде и нашел вывод валидацииC_Displayed_Gallery Object :

$this->object->display_type::C_Displayed_Gallery Object
(
    [_mapper_interface] => I_Displayed_Gallery_Mapper
    [_mapper] => C_Displayed_Gallery_Mapper Object
        (
            [_query_args] => Array
                (
                )

            [_primary_key_column] => ID
            [_use_cache] => 1
            [_object_name] => displayed_gallery
            [_model_factory_method] => displayed_gallery
            [_columns] => Array
                (
                )

            [_table_columns] => Array
                (
                    [0] => ID
                    [1] => post_author
                    [2] => post_date
                    [3] => post_date_gmt
                    [4] => post_content
                    [5] => post_title
                    [6] => post_excerpt
                    [7] => post_status
                    [8] => comment_status
                    [9] => ping_status
                    [10] => post_password
                    [11] => post_name
                    [12] => to_ping
                    [13] => pinged
                    [14] => post_modified
                    [15] => post_modified_gmt
                    [16] => post_content_filtered
                    [17] => post_parent
                    [18] => guid
                    [19] => menu_order
                    [20] => post_type
                    [21] => post_mime_type
                    [22] => comment_count
                )

            [_serialized_columns] => Array
                (
                )

            [context] => Array
                (
                    [0] => 
                    [1] => displayed_gallery
                    [2] => display_gallery
                )

            [adapted] => 1
            [_mixins] => Array
                (
                    [Mixin_DataMapper_Driver_Base] => Mixin_DataMapper_Driver_Base Object
                        (
                            [object] => C_Displayed_Gallery_Mapper Object
 *RECURSION*
                            [method_called] => 
                        )

                    [Mixin_CustomPost_DataMapper_Driver] => 
                    [Mixin_Displayed_Gallery_Defaults] => Mixin_Displayed_Gallery_Defaults Object
                        (
                            [object] => C_Displayed_Gallery_Mapper Object
 *RECURSION*
                            [method_called] => 
                        )

                )

            [_mixin_priorities] => Array
                (
                    [0] => Mixin_Displayed_Gallery_Defaults
                    [1] => Mixin_CustomPost_DataMapper_Driver
                    [2] => Mixin_DataMapper_Driver_Base
                )

            [_method_map_cache] => Array
                (
                    [set_defaults] => Mixin_Displayed_Gallery_Defaults
                    [get_display_type] => Mixin_Displayed_Gallery_Defaults
                    [_set_default_value] => Mixin_DataMapper_Driver_Base
                )

            [_disabled_map] => Array
                (
                )

            [_interfaces] => Array
                (
                    [0] => I_Component
                    [1] => I_DataMapper_Driver
                    [2] => I_CustomPost_DataMapper
                    [3] => I_Displayed_Gallery_Mapper
                )

            [_throw_error] => 1
            [_wrapped_instance] => 
            [object] => C_Displayed_Gallery_Mapper Object
 *RECURSION*
            [_cache] => Array
                (
                )

        )

    [_stdObject] => stdClass Object
        (
            [id] => 
            [source] => 
            [container_ids] => Array
                (
                )

            [gallery_ids] => 
            [album_ids] => Array
                (
                )

            [tag_ids] => Array
                (
                )

            [display_type] => 
            [exclusions] => Array
                (
                )

            [order_by] => sortorder
            [order_direction] => ASC
            [image_ids] => Array
                (
                )

            [entity_ids] => Array
                (
                )

            [tagcloud] => 
            [inner_content] => 
            [returns] => included
            [slug] => 
            [display_settings] => Array
                (
                )

            [excluded_container_ids] => Array
                (
                )

            [sortorder] => Array
                (
                )

            [maximum_entity_count] => 500
            [__defaults_set] => 1
            [_errors] => Array
                (
                    [source] => Array
                        (
                            [0] => source should be present
                        )

                    [display_type] => Array
                        (
                            [0] => display_type should be present
                        )

                )

        )

    [context] => 
    [adapted] => 1
    [_mixins] => Array
        (
            [Mixin_Validation] => Mixin_Validation Object
                (
                    [_default_msgs] => Array
                        (
                            [validates_presence_of] => %s should be present
                            [validates_presence_with] => %s should be present with %s
                            [validates_uniqueness_of] => %s should be unique
                            [validates_confirmation_of] => %s should match confirmation
                            [validates_exclusion_of] => %s is reserved
                            [validates_format_of] => %s is invalid
                            [validates_inclusion_of] => %s is not included in the list
                            [validates_numericality_of] => %s is not numeric
                            [validates_less_than] => %s is too small
                            [validates_greater_than] => %s is too large
                            [validates_equals] => %s is invalid
                        )

                    [_default_patterns] => Array
                        (
                            [email_address] => //
                        )

                    [object] => C_Displayed_Gallery Object
 *RECURSION*
                    [method_called] => 
                )

            [Mixin_DataMapper_Model_Instance_Methods] => 
            [Mixin_DataMapper_Model_Validation] => 
            [Mixin_Displayed_Gallery_Validation] => Mixin_Displayed_Gallery_Validation Object
                (
                    [object] => C_Displayed_Gallery Object
 *RECURSION*
                    [method_called] => 
                )

            [Mixin_Displayed_Gallery_Instance_Methods] => Mixin_Displayed_Gallery_Instance_Methods Object
                (
                    [object] => C_Displayed_Gallery Object
 *RECURSION*
                    [method_called] => 
                )

            [Mixin_Displayed_Gallery_Queries] => Mixin_Displayed_Gallery_Queries Object
                (
                    [object] => C_Displayed_Gallery Object
 *RECURSION*
                    [method_called] => 
                )

            [A_I18N_Displayed_Gallery_Translation] => 
        )

    [_mixin_priorities] => Array
        (
            [0] => A_I18N_Displayed_Gallery_Translation
            [1] => Mixin_Displayed_Gallery_Queries
            [2] => Mixin_Displayed_Gallery_Instance_Methods
            [3] => Mixin_Displayed_Gallery_Validation
            [4] => Mixin_DataMapper_Model_Validation
            [5] => Mixin_DataMapper_Model_Instance_Methods
            [6] => Mixin_Validation
        )

    [_method_map_cache] => Array
        (
            [select_random_variation] => Mixin_Displayed_Gallery_Queries
            [get_source] => Mixin_Displayed_Gallery_Instance_Methods
            [validate] => Mixin_Validation
            [validation] => Mixin_Displayed_Gallery_Validation
            [validates_presence_of] => Mixin_Validation
            [get_display_type] => Mixin_Displayed_Gallery_Instance_Methods
        )

    [_disabled_map] => Array
        (
        )

    [_interfaces] => Array
        (
            [0] => I_Component
            [1] => I_DataMapper_Model
            [2] => I_Displayed_Gallery
        )

    [_throw_error] => 1
    [_wrapped_instance] => 
    [object] => C_Displayed_Gallery Object
 *RECURSION*
)
 

Видно что display_type имеет пустое значение
Не подскажите это ошибка в определении галлереи ? - но я делал как в доке...