Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Dric

    (@dric1107)

    Hi,
    Could you try to deinstall/reinstall the plugin ?
    There is no query() function at line 616, so you may have corrupted files.

    Thread Starter hmcnally

    (@hmcnally)

    I did that, no good. And I do see a query statement on line 616, it’s the last line of this fragment:

    case 'POST_ADD':
          if (is_numeric($act_raw->act_params)){
            $act_post=get_post($act_raw->act_params);
            if ($act_raw->id != $act_post->post_author and !$strict_logs) { //this is a check if post author has been changed in admin post edition.
              $sql = "UPDATE ".$wpdb->prefix."activity SET user_id = '".$act_post->post_author."' WHERE id = '".$act_raw->id."'";
              $wpdb->query( $sql);
    Plugin Author Dric

    (@dric1107)

    Ok, sorry.
    I looked at a development version of my plugin, so the line has moved.

    did it worked in v1.9 ? The only thing I changed in v1.9.1 was a bug with timezones, nothing related to your problem.

    Edit : I think I found what’s wrong. I’m suprised that I didn’t saw it before…

    Please try the v1.9.2 version : http://downloads.wordpress.org/plugin/wp-activity.1.9.2.zip

    Thread Starter hmcnally

    (@hmcnally)

    I think this bug was noticed co-incidetally to the 1.9.1 update too. 1.9.2 fixes the issue though… thanks!

    Thanks Dric.
    Will 1.9.2 be available for installing through WP admin?
    Thank you.
    Natalie

    Plugin Author Dric

    (@dric1107)

    V1.9.2 is available !

    Thanks heaps, Dric!
    I’ve updated and it worked. Thanks a lot!

    Cheers,
    Natalie

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: WP-Activity] New PHP issue in 1.9.1 ?’ is closed to new replies.