WordPress.org

Forums

Jetpack by WordPress.com
[resolved] Undefined index: subscribe_logged_in (3 posts)

  1. Dean Taylor
    Member
    Posted 2 years ago #

    Jetpack 2.0.4

    Yes, this is only a notice - but is the subscribe_logged_in value even used?

    I can find references to other variables in the array but not subscribe_logged_in.

    The notice Undefined index: subscribe_logged_in occurs when editing blog subscription widget.

    Date: 2013-01-02 03:41:07
    URL: http://example.co.uk/wp-admin/admin-ajax.php
    Referrer: http://example.co.uk/wp-admin/widgets.php
    Error(E_NOTICE): Undefined index: subscribe_logged_in
    Source: /var/sites/g/example.co.uk/public_html/wp-content/plugins/jetpack/modules/subscriptions.php [662]

    Trace:

    #1 /var/sites/g/example.co.uk/public_html/wp-admin/admin-ajax.php:66 - do_action('wp_ajax...')
    #2 /var/sites/g/example.co.uk/public_html/wp-includes/plugin.php:403 - call_user_func_array('wp_ajax...', Array)
    #3 [internal call] - wp_ajax_save_widget('')
    #4 /var/sites/g/example.co.uk/public_html/wp-admin/includes/ajax-actions.php:1572 - call_user_func_array(Array, Array)
    #5 [internal call] - WP_Widget->update_callback(Array)
    #6 Jetpack_Subscriptions_Widget->update(Array, Array)

    POST:

    array (
      'widget-blog_subscription' =>
      array (
        2 =>
        array (
          'title' => 'Subscribe to Blog via Email',
          'subscribe_text' => 'Enter your email address to subscribe to this blog and receive notifications of new posts by email.',
          'subscribe_button' => 'Subscribe',
          'show_subscribers_total' => '1',
        ),
      ),
      'widget-id' =>
      array (
        0 => 'search-2',
        1 => 'recent-posts-2',
        2 => 'archives-2',
        3 => 'categories-2',
      ),
      'id_base' => 'blog_subscription',
      'widget-width' => '300',
      'widget-height' => '200',
      'widget_number' => '-1',
      'multi_number' => '2',
      'add_new' => 'multi',
      'sidebar' => 'sidebar1',
    )

    GET:

    array (
    )

    http://wordpress.org/extend/plugins/jetpack/

  2. Christopher Finke
    Design Engineer at Automattic
    Plugin Contributor

    Posted 2 years ago #

    Thanks for the report; I've made a note to look into this.

  3. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 2 years ago #

    We have fixed the issue in r666993. The fix will be included in the next Jetpack release.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Jetpack by WordPress.com
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic