WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Debug Objects] get_class expects parameter 1 to be object

[Plugin: Debug Objects] get_class expects parameter 1 to be object

  • Works great with one exception..

    Warning: get_class() expects parameter 1 to be object, string given in debug_objects.php

    $func = $sub['function'];
    if ( is_array($func) ) {
    $echo .= '<code><em>' .get_class($func[0]) . '-></em>' . $func[1] . '()</code>';

    Using PHP version: 5.3.1
    WP Version: 2.9.2
    xampp local dev

    http://wordpress.org/extend/plugins/debug-objects/

  • The topic ‘[Plugin: Debug Objects] get_class expects parameter 1 to be object’ is closed to new replies.