WordPress.org

Ready to get started?Download WordPress

Forums

Hierarchical Documentation
Warning: Creating default object from empty value (3 posts)

  1. BobKinloch
    Member
    Posted 1 year ago #

    I have been using Hierarchical Documentation for some time and it developed a problem so I deleted the whole Wamp area and did a fresh load of everything
    Still the same problem..???

    Warning: Creating default object from empty value in C:\wamp\www\Testing\wp-content\plugins\wp-mvc\core\controllers\mvc_controller.php on line 110

    # Time Memory Function Location
    1 0.0018 183584 {main}( ) ..\admin.php:0
    2 0.5967 13732400 do_action( ) ..\admin.php:151
    3 0.5968 13733368 call_user_func_array ( ) ..\plugin.php:403
    4 0.5968 13733704 MvcDispatcher->__call( ) ..\plugin.php:0
    5 0.5968 13733704 __lambda_func( ) ..\mvc_dispatcher.php:69
    6 0.5968 13734072 MvcDispatcher::dispatch( ) ..\mvc_admin_loader.php(88) : runtime-created function:1
    7 0.6115 13765032 MvcController->init( ) ..\mvc_dispatcher.php:17
    8 0.6135 13777304 MvcController->load_helper( ) ..\mvc_controller.php:46

    http://wordpress.org/extend/plugins/hierarchical-documentation/

  2. CeloRodovalho
    Member
    Posted 1 year ago #

    Look this:
    https://github.com/tombenner/wp-mvc/pull/14
    and this
    https://github.com/bostil/wp-mvc/commit/f08cd0e420312b023cc5f994a4073f17ff2e0290

    Change the line 110 of core/controllers/mvc_controller.php from
    $this->{$helper_method_name}->controller = false;
    to
    $this->{$helper_method_name}->controller = new stdClass();

  3. BobKinloch
    Member
    Posted 1 year ago #

    This is brilliant.!!!!
    I have been using Hierarchical Documentation on my 1&1 account, PHP5, for some time now but when I use the same database on my WAMP Localhost server I have been getting the above error.
    Have just inserted the new code and it runs perfectly.
    Cant thank you enough....

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.