WordPress.org

Forums

WP-Activity
Errors upon activation (4 posts)

  1. gravitylover
    Member
    Posted 1 year ago #

    Notice: Undefined offset: 1 in /home/campers/public_html/wp-admin/includes/upgrade.php on line 1564
    
    Notice: Undefined offset: 1 in /home/campers/public_html/wp-admin/includes/upgrade.php on line 1564
    
    Notice: Undefined offset: 1 in /home/campers/public_html/wp-admin/includes/upgrade.php on line 1564
    
    Notice: Undefined offset: 1 in /home/campers/public_html/wp-admin/includes/upgrade.php on line 1564
    
    Notice: Undefined offset: 1 in /home/campers/public_html/wp-admin/includes/upgrade.php on line 1564
    WordPress database error: [Duplicate key name 'id']
    ALTER TABLE wps_activity ADD UNIQUE KEY <code>id</code> (<code>id</code>)
    
    WordPress database error: [Duplicate key name 'user_id']
    ALTER TABLE wps_activity ADD KEY <code>user_id</code> (<code>user_id</code>)
    
    WordPress database error: [Duplicate key name 'act_date']
    ALTER TABLE wps_activity ADD KEY <code>act_date</code> (<code>act_date</code>)
    
    Notice: get_usermeta is deprecated since version 3.0! Use get_user_meta() instead. in /home/campers/public_html/wp-includes/functions.php on line 2871
    
    Notice: Undefined index: act_logged in /home/campers/public_html/wp-content/plugins/wp-activity/wp-activity.php on line 304

    http://wordpress.org/plugins/wp-activity/

  2. gravitylover
    Member
    Posted 1 year ago #

    Errors while using the plugin (on the front and back end of the site)

    Notice: get_usermeta is deprecated since version 3.0! Use get_user_meta() instead. in /home/campers/public_html/wp-includes/functions.php on line 2871
    
    Notice: Undefined index: act_logged in /home/campers/public_html/wp-content/plugins/wp-activity/wp-activity.php on line 304
  3. gravitylover
    Member
    Posted 1 year ago #

    Fixed:

    Replace all occurrences of the following

    /wp-activity.php

    get_usermeta
    >
    get_user_meta

    !$_COOKIE['act_logged']
    >
    !isset($_COOKIE['act_logged'])

  4. gravitylover
    Member
    Posted 1 year ago #

    /wp-act-admin.php

    Replace:
    <?php echo $act_data_filter; ?>
    >
    <?php if(isset($act_data_filter)){echo $act_data_filter;} ?>

    Replace:
    if ($_GET['act_page']
    >
    if (isset($_GET['act_page'])

    Replace:
    echo ($act_events_tab[$act_tab_type])
    >
    echo (isset($act_events_tab[$act_tab_type]))

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP-Activity
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.