Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

test

TypeError Object
(
    [message:protected] => Peer_Content::getByModule(): Argument #1 ($module) must be of type Model_Module, Model_Site given, called in /shared/httpd/horizoncms/modules/news/controllers/backend.php on line 17
    [string:Error:private] => 
    [code:protected] => 0
    [file:protected] => /shared/httpd/horizoncms/modules/content/models/peer/content.php
    [line:protected] => 14
    [trace:Error:private] => Array
        (
            [0] => Array
                (
                    [file] => /shared/httpd/horizoncms/modules/news/controllers/backend.php
                    [line] => 17
                    [function] => getByModule
                    [class] => Peer_Content
                    [type] => ::
                    [args] => Array
                        (
                            [0] => Model_Site Object
                                (
                                    [id:protected] => 1
                                    [name:protected] => Default
                                    [alias:protected] => default
                                    [domain:protected] => horizoncms.loc
                                    [default:protected] => 1
                                    [use_sitemap:protected] => 1
                                )

                            [1] => Model_Language Object
                                (
                                    [id:protected] => 1
                                    [name:protected] => Nederlands
                                    [alias:protected] => dutch
                                    [code:protected] => nl
                                    [domain:protected] => 
                                    [active:protected] => 1
                                    [default:protected] => 1
                                    [use_sitemap:protected] => 1
                                )

                            [2] => 
                            [3] => added
                            [4] => DESC
                        )

                )

            [1] => Array
                (
                    [file] => /shared/httpd/horizoncms/app/router/admin.php
                    [line] => 39
                    [function] => actionDefault
                    [class] => Module_Backend_News
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [2] => Array
                (
                    [file] => /shared/httpd/horizoncms/public/index.php
                    [line] => 36
                    [function] => run
                    [class] => Router_Admin
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

        )

    [previous:Error:private] => 
)
Source by horizoncms.loc #
 
PREVIOUS NEXT
Tagged: #test
ADD COMMENT
Topic
Name
5+2 =