Support » Plugin: Jetpack by WordPress.com » Undefined index: subscribe_logged_in

  • Resolved Dean Taylor

    (@deanmarktaylor)


    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/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Undefined index: subscribe_logged_in’ is closed to new replies.