[resolved] [Plugin: Register Plus] Error Message on Dashboard Panel Display (7 posts)

  1. Robert Lang
    Posted 5 years ago #

    Using Version 2.8.5 WordPress. in dash_widget.php line 24 : extract( $args, EXTR_SKIP );
    There is an error echoed on the dashboard panel of WordPress:

    Warning: extract() [function.extract]: First argument should be an array in /home/myname/public_html/mydomain/blog/wp-content/plugins/register-plus/dash_widget.php on line 24

    Can you please code your script to comply please?


  2. Robert Lang
    Posted 5 years ago #

    Well, not too bad for someone who has yet after ten years to open up a php book of any kind. Here is the new code to comply with WP V. 2.8.5:

    Line 24 should look like this: extract (array($this, 'EXTR_SKIP') );

    Now it's nice and neat!

  3. Saladowine
    Posted 5 years ago #

    Thanks! I had the same error and had no idea what it meant. Thanks for posting the fix.

  4. bluedemon
    Posted 5 years ago #

    Thank you. I had the same problem but the code fixed the issue.

  5. acy
    Posted 5 years ago #

    Yeah. Fixed it for me too! thx

  6. Yoav1987
    Posted 5 years ago #

    Don't work for WP 3 ...

  7. scanID
    Posted 4 years ago #

    Thanks Robert,

    Works for me on WP 3.0.1, the only thing I have different from the sample provided is:

    extract (array($args, 'EXTR_SKIP') );

    instead of

    extract (array($this, 'EXTR_SKIP') );

    Hope this helps others.

Topic Closed

This topic has been closed to new replies.

About this Topic