WordPress.org

Ready to get started?Download WordPress

Forums

Custom Meta Widget
[resolved] Error in Custom Meta Widget v1.1 (2 posts)

  1. rmburkhead
    Member
    Posted 2 years ago #

    On my test server, with error messages displayed, I receive the following:

    Notice: Undefined index: wordpresslink in J:\wamp\www\local.example.com\public_html\wordpress\wp-content\plugins\custom-meta-widget\customMeta.php on line 77

    The error appears to stem from an invalid index in the $instance variable within the widget function. It appears that line 77, which in part reads:

    if(esc_attr($instance['wordpresslink'])) echo...

    should read:

    if(esc_attr($instance['wordpress'])) echo...

    Note that the widget was configured to not display the wordpress.org link.

    http://wordpress.org/extend/plugins/custom-meta-widget/

  2. Luke Mlsna
    Member
    Plugin Author

    Posted 2 years ago #

    I've fixed this error and pushed out a new version 1.2. Thanks for this report!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic