• Resolved Jorge Carlos

    (@jorge-carlos)


    I am getting this error in the log file from the server

    [27-Jan-2014 00:14:51 UTC] PHP Warning: in_array() expects parameter 2 to be array, boolean given in /home/simstjco/public_html/downloads/wp-content/plugins/buddypress-who-clicked-at-my-profile/buddypress-who-clicked-at-my-profile.php on line 44

    [27-Jan-2014 00:14:51 UTC] PH
    P Warning: Invalid argument supplied for foreach() in /home/simstjco/public_html/downloads/wp-content/plugins/buddypress-who-clicked-at-my-profile/buddypress-who-clicked-at-my-profile.php on line 56

    https://www.ads-software.com/plugins/buddypress-who-clicked-at-my-profile/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author quan_flo

    (@quan_flo)

    Error should be solved in version 1.2. This version was just published.
    Please rate and review the plugin if you like it!

    actually you did not correct that bug, as you are not testing the script… here is the fix:

    line 43:

    if(!isset($meta) || !isset($trackingList) || !(count($trackingList) > 0)) {

    replace with:

    if (!is_array($trackingList)) {

    Plugin Author quan_flo

    (@quan_flo)

    thanks for the feedback. corrected and commited

    just to make you understand… you pass your variable in a unserialize process… the only result is 1- ARRAY, 2- FALSE… no need to check anything else… php is handling it for you

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Erro’ is closed to new replies.