Robert Lang
Member
Posted 2 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?
http://wordpress.org/extend/plugins/register-plus/
Robert Lang
Member
Posted 2 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!
Saladowine
Member
Posted 2 years ago #
Thanks! I had the same error and had no idea what it meant. Thanks for posting the fix.
bluedemon
Member
Posted 1 year ago #
Thank you. I had the same problem but the code fixed the issue.
Yeah. Fixed it for me too! thx
Yoav1987
Member
Posted 1 year 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.