WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. CaribWave
    Member
    Posted 4 years ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Topic