PHP Error Report
Date:2024-11-27 11:41:41 (NZDT)
Error Number:2
Error Type:Warning
Error Message:Declaration of Module::render($view) should be compatible with Controller::render($view = '', $modehint = 0)
Location:/home/michael/www/core3/library/module.php, line 0
URL:/Blog/ThreeWeeksToGo
Request Params:
Array
(
)
Variable Trace:
Array
(
    [file] => library/module.php
    [inc] => 
    [page] => 
    [paths] => Array
        (
            [0] => library/core/library/module.php
            [1] => library/module.php
        )

    [use_paths] => Array
        (
            [0] => library/core/library/module.php
        )

    [path] => library/module.php
)
Stack Trace:
Array
(
    [2] => Array
        (
            [file] => /home/michael/www/core3/library/kernel.php
            [line] => 115
            [function] => require_once
        )

    [3] => Array
        (
            [file] => /home/michael/www/core3/library/models/CMS.php
            [line] => 104
            [function] => load
            [args] => Array
                (
                    [0] => library/module.php
                )
                
        )

    [4] => Array
        (
            [file] => /home/michael/www/core3/library/models/CMS.php
            [line] => 43
            [function] => _extract_modules
            [class] => CMS
            [object] => CMS Object
                (
                    [table] => test
                    [always_where] => Array
                        (
                        )
                
                    [order_by] => Array
                        (
                        )
                
                    [list_id] => id
                    [list_name] => name
                    [single_dummy] => 1
                    [uses] => Array
                        (
                            [0] => DummyClass
                        )
                
                    [key] => id
                    [before] => 
                    [after] => 
                    [fetchall_inc] => Array
                        (
                        )
                
                    [fetch_inc] => Array
                        (
                        )
                
                    [put_inc] => Array
                        (
                        )
                
                    [items_per_page] => 
                    [cache] => 
                    [put_cache] => 86400
                    [pre_fetchall] => 
                    [prefetch] => Array
                        (
                        )
                
                    [cud_cb] => 
                    [use_md] => 
                    [include] => Array
                        (
                        )
                
                    [dsn] => default
                )
                
            [type] => ->
            [args] => Array
                (
                    [0] => [Module CountDown ts=1251693000, size=big]
                )
                
        )

    [5] => Array
        (
            [function] => _parse_wiki_module_cb
            [class] => CMS
            [object] => CMS Object
                (
                    [table] => test
                    [always_where] => Array
                        (
                        )
                
                    [order_by] => Array
                        (
                        )
                
                    [list_id] => id
                    [list_name] => name
                    [single_dummy] => 1
                    [uses] => Array
                        (
                            [0] => DummyClass
                        )
                
                    [key] => id
                    [before] => 
                    [after] => 
                    [fetchall_inc] => Array
                        (
                        )
                
                    [fetch_inc] => Array
                        (
                        )
                
                    [put_inc] => Array
                        (
                        )
                
                    [items_per_page] => 
                    [cache] => 
                    [put_cache] => 86400
                    [pre_fetchall] => 
                    [prefetch] => Array
                        (
                        )
                
                    [cud_cb] => 
                    [use_md] => 
                    [include] => Array
                        (
                        )
                
                    [dsn] => default
                )
                
            [type] => ->
            [args] => Array
                (
                    [0] => Array
                        (
                            [0] => [Module CountDown ts=1251693000, size=big]
                            [1] => CountDown ts=1251693000, size=big
                        )
                
                )
                
        )

    [6] => Array
        (
            [file] => /home/michael/www/core3/library/models/CMS.php
            [line] => 11
            [function] => preg_replace_callback
            [args] => Array
                (
                    [0] => #\[Module (.+)\]#
                    [1] => Array
                        (
                            [0] => CMS Object
                                (
                                    [table] => test
                                    [always_where] => Array
                                        (
                                        )
                
                                    [order_by] => Array
                                        (
                                        )
                
                                    [list_id] => id
                                    [list_name] => name
                                    [single_dummy] => 1
                                    [uses] => Array
                                        (
                                            [0] => DummyClass
                                        )
                
                                    [key] => id
                                    [before] => 
                                    [after] => 
                                    [fetchall_inc] => Array
                                        (
                                        )
                
                                    [fetch_inc] => Array
                                        (
                                        )
                
                                    [put_inc] => Array
                                        (
                                        )
                
                                    [items_per_ [...SNIP...]
        )

    [7] => Array
        (
            [file] => /home/michael/www/www.michael.net.nz/cms/Views/ViewPost.php
            [line] => 2
            [function] => parse_wiki
            [class] => CMS
            [object] => CMS Object
                (
                    [table] => test
                    [always_where] => Array
                        (
                        )
                
                    [order_by] => Array
                        (
                        )
                
                    [list_id] => id
                    [list_name] => name
                    [single_dummy] => 1
                    [uses] => Array
                        (
                            [0] => DummyClass
                        )
                
                    [key] => id
                    [before] => 
                    [after] => 
                    [fetchall_inc] => Array
                        (
                        )
                
                    [fetch_inc] => Array
                        (
                        )
                
                    [put_inc] => Array
                        (
                        )
                
                    [items_per_page] => 
                    [cache] => 
                    [put_cache] => 86400
                    [pre_fetchall] => 
                    [prefetch] => Array
                        (
                        )
                
                    [cud_cb] => 
                    [use_md] => 
                    [include] => Array
                        (
                        )
                
                    [dsn] => default
                )
                
            [type] => ->
            [args] => Array
                (
                    [0] => 
                <p>[Module CountDown ts=1251693000, size=big]</p> 
                <p>There once lived a boy &#x2014; named Michael Adams oddly enough &#x2014; who dreamed of a land where the trains roam large, free, and frequently. The scenery
                is massive, the towns are named Isolation, Dogfart, &amp; Jackpot, and the people all speak with funny voices. Every second station plays <em>good</em> country, Mary Lou&#x2019;s, Chuck&#x2019;s, and Ed&#x2019;s wander the street, and entire animals are served for dinner.</p> 
                <p>And&#x2026; in less than 3 weeks I&#x2019;ll be there!!</p> 
                <h3>Itinerary</h3> 
                <p>The plan is purposely very vague. Places on the hit list are:</p> 
                <ul> 
                  <li>San Francisco. 
                  <ul> 
                    <li>Touchdown</li> 
                    <li>Clear customs</li> 
                    <li>Visit SanFran zoo, aquarium.</li> 
                    <li>Alcatraz</li> 
                    <li>Hire a car.</li> 
                    <li>Holy crap everyone drives on the wrong side of the road!</li> 
                    <li>Stock up on car snacks, water, anti-venom, etc.</li> 
                    <li>Cross the Sier [...SNIP...]
        )

    [8] => Array
        (
            [file] => /home/michael/www/core3/library/core.php
            [line] => 77
            [args] => Array
                (
                    [0] => /home/michael/www/www.michael.net.nz/cms/Views/ViewPost.php
                )
                
            [function] => include
        )

    [9] => Array
        (
            [file] => /home/michael/www/core3/library/controller.php
            [line] => 175
            [function] => load
            [class] => Core
            [object] => CMSController Object
                (
                    [defaultView] => ListCategory
                    [content] => 
                    [Pages] => Pages Object
                        (
                            [table] => pages
                            [list_name] => title
                            [single_dummy] => 
                            [before] => validate
                            [after] => embellish
                            [order_by] => Array
                                (
                                    [0] => ORDER BY date_added DESC
                                )
                
                            [always_where] => Array
                                (
                                )
                
                            [list_id] => id
                            [uses] => Array
                                (
                                    [0] => DummyClass
                                )
                
                            [key] => id
                            [fetchall_inc] => Array
                                (
                                )
                
                            [fetch_inc] => Array
                                (
                                )
                
                            [put_inc] => Array
                                (
                                )
                
                            [items_per_page] => 
                            [cache] => 
                            [put_cache] => 86400
                            [pre_fetchall] => 
                            [prefetch] => Array
                                [...SNIP...]
            [type] => ->
            [args] => Array
                (
                    [0] => ViewPost.php
                    [1] => 1
                    [2] => 
                )
                
        )

    [10] => Array
        (
            [file] => /tmp/cache/home/michael/www/www.michael.net.nz/library/core/cms/Controller.php
            [line] => 111
            [function] => render
            [class] => Controller
            [object] => CMSController Object
                (
                    [defaultView] => ListCategory
                    [content] => 
                    [Pages] => Pages Object
                        (
                            [table] => pages
                            [list_name] => title
                            [single_dummy] => 
                            [before] => validate
                            [after] => embellish
                            [order_by] => Array
                                (
                                    [0] => ORDER BY date_added DESC
                                )
                
                            [always_where] => Array
                                (
                                )
                
                            [list_id] => id
                            [uses] => Array
                                (
                                    [0] => DummyClass
                                )
                
                            [key] => id
                            [fetchall_inc] => Array
                                (
                                )
                
                            [fetch_inc] => Array
                                (
                                )
                
                            [put_inc] => Array
                                (
                                )
                
                            [items_per_page] => 
                            [cache] => 
                            [put_cache] => 86400
                            [pre_fetchall] => 
                            [prefetch] => Array
                                [...SNIP...]
            [type] => ->
            [args] => Array
                (
                    [0] => ViewPost
                )
                
        )

    [11] => Array
        (
            [file] => /tmp/cache/home/michael/www/www.michael.net.nz/library/core/library/dispatcher.php
            [line] => 131
            [function] => ViewPage
            [class] => CoreCMSController
            [object] => CMSController Object
                (
                    [defaultView] => ListCategory
                    [content] => 
                    [Pages] => Pages Object
                        (
                            [table] => pages
                            [list_name] => title
                            [single_dummy] => 
                            [before] => validate
                            [after] => embellish
                            [order_by] => Array
                                (
                                    [0] => ORDER BY date_added DESC
                                )
                
                            [always_where] => Array
                                (
                                )
                
                            [list_id] => id
                            [uses] => Array
                                (
                                    [0] => DummyClass
                                )
                
                            [key] => id
                            [fetchall_inc] => Array
                                (
                                )
                
                            [fetch_inc] => Array
                                (
                                )
                
                            [put_inc] => Array
                                (
                                )
                
                            [items_per_page] => 
                            [cache] => 
                            [put_cache] => 86400
                            [pre_fetchall] => 
                            [prefetch] => Array
                                [...SNIP...]
            [type] => ->
            [args] => Array
                (
                )
                
        )

    [12] => Array
        (
            [file] => /tmp/cache/home/michael/www/www.michael.net.nz/library/core/library/dispatcher.php
            [line] => 73
            [function] => render_CMS
            [class] => CoreDispatcher
            [object] => dispatcher Object
                (
                    [content] => 
                    [q] => Array
                        (
                            [mysql:host=localhost;dbname=ma2] => PDO Object
                                (
                                )
                
                        )
                
                    [class] => CMSController Object
                        (
                            [defaultView] => ListCategory
                            [content] => 
                            [Pages] => Pages Object
                                (
                                    [table] => pages
                                    [list_name] => title
                                    [single_dummy] => 
                                    [before] => validate
                                    [after] => embellish
                                    [order_by] => Array
                                        (
                                            [0] => ORDER BY date_added DESC
                                        )
                
                                    [always_where] => Array
                                        (
                                        )
                
                                    [list_id] => id
                                    [uses] => Array
                                        (
                                            [0] => DummyClass
                                        )
                
                                    [key] => id
                        [...SNIP...]
            [type] => ->
            [args] => Array
                (
                )
                
        )

    [13] => Array
        (
            [file] => /home/michael/www/core3/library/kernel.php
            [line] => 30
            [function] => init
            [class] => CoreDispatcher
            [object] => dispatcher Object
                (
                    [content] => 
                    [q] => Array
                        (
                            [mysql:host=localhost;dbname=ma2] => PDO Object
                                (
                                )
                
                        )
                
                    [class] => CMSController Object
                        (
                            [defaultView] => ListCategory
                            [content] => 
                            [Pages] => Pages Object
                                (
                                    [table] => pages
                                    [list_name] => title
                                    [single_dummy] => 
                                    [before] => validate
                                    [after] => embellish
                                    [order_by] => Array
                                        (
                                            [0] => ORDER BY date_added DESC
                                        )
                
                                    [always_where] => Array
                                        (
                                        )
                
                                    [list_id] => id
                                    [uses] => Array
                                        (
                                            [0] => DummyClass
                                        )
                
                                    [key] => id
                        [...SNIP...]
            [type] => ->
            [args] => Array
                (
                )
                
        )

)