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

  1. rmburkhead
    Posted 4 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.


  2. Luke Mlsna
    Plugin Author

    Posted 4 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

  • Custom Meta Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic