• Resolved idmxdj

    (@idmxdj)


    Hi

    I’ve found a bug :
    on a fresh install wordpress with buddypress & youzify

    when I change the profile picture or cover I’m getting an empty attachment
    https://prnt.sc/18sxz01
    I found out that if I create the required folder manually
    /wp-content/uploads/youzify/temp/ it’s work fine without any problem

    also if I post a photo activity it creates the required dir and solves the problem too.
    https://prnt.sc/18szcbg
    https://prnt.sc/18szvnh

    Looks like it can’t create the /youzify/temp/ dir when changing cover or picture
    while it can when posting activity please fix it.
    Regards,

    `2021-07-05 19:46:58.534859 [NOTICE] [1555] [108.162.229.110:12988#***.com] [STDERR] PHP Warning: copy(/home/***.com/public_html/wp-content/uploads/youzify/temp/60e345927cf98-bpfull.jpg): Failed to open stream: No such file or directory in /home/***.com/public_html/wp-content/plugins/youzify/includes/public/core/class-youzify-attachments.php on line 920
    2021-07-05 19:46:58.535952 [NOTICE] [1555] [108.162.229.110:12988#***.com] [STDERR] PHP Fatal error: Uncaught TypeError: Illegal offset type in /home/***.com/public_html/wp-content/plugins/youzify/includes/public/core/class-youzify-attachments.php:289
    Stack trace:
    #0 /home/***.com/public_html/wp-content/plugins/youzify/includes/public/core/class-youzify-attachments.php(928): Youzify_Attachments->save_media_attachments()
    #1 /home/***.com/public_html/wp-includes/class-wp-hook.php(292): Youzify_Attachments->set_new_avatar_activity()
    #2 /home/***.com/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
    #3 /home/***.com/public_html/wp-includes/plugin.php(551): WP_Hook->do_action()
    #4 /home/***.com/public_html/wp-content/plugins/buddypress/bp-activity/classes/class-bp-activity-activity.php(331): do_action_ref_array()
    #5 /home/***.com/public_html/wp-content/plugins/buddypress/bp-activity/bp-activity-functions.php(1930): BP_Activity_Activity->save()
    #6 /home/***.com/public_html/wp-content/plugins/buddypress/bp-members/bp-members-activity.php(200): bp_activity_add()
    #7 /home/***.com/public_html/wp-includes/class-wp-hook.php(294): bp_members_new_avatar_activity()
    #8 /home/***.com/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
    #9 /home/***.com/public_html/wp-includes/plugin.php(484): WP_Hook->do_action()
    #10 /home/***.com/public_html/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php(1412): do_action()
    #11 /home/***.com/public_html/wp-includes/class-wp-hook.php(292): bp_avatar_ajax_set()
    #12 /home/***.com/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
    #13 /home/***.com/public_html/wp-includes/plugin.php(484): WP_Hook->do_action()
    #14 /home/***.com/public_html/wp-admin/admin-ajax.php(187): do_action()
    #15 {main}
    thrown in /home/***.com/public_html/wp-content/plugins/youzify/includes/public/core/class-youzify-attachments.php on line 289`

    • This topic was modified 4 years, 10 months ago by idmxdj.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Youzify

    (@kainelabsteam)

    Hello @idmxdj

    Thanks for contacting us

    Please try disable “Lazy Load” settings on Youzify Panel. And then try again and see if it can fix the issue or not. 🙂

    Best Regards, KaineLabs Team.

    Thread Starter idmxdj

    (@idmxdj)

    Hi @kainelabsteam

    Nothing happens, still the same error

    2021-07-06 03:17:03.959859 [NOTICE] [12122] [***:46849-Q:85801582F8AFAD67-1328#***.com] [STDERR] PHP Warning:  copy(/home/***.com/public_html/wp-content/uploads/youzify/temp/60e3af0fe06b3-bpfull.png): failed to open stream: No such file or directory in /home/***.com/public_html/wp-content/plugins/youzify/includes/public/core/class-youzify-attachments.php on line 920
    2021-07-06 03:17:03.960783 [NOTICE] [12122] [***:46849-Q:85801582F8AFAD67-1328#***.com] [STDERR] PHP Warning:  Illegal offset type in /home/***.com/public_html/wp-content/plugins/youzify/includes/public/core/class-youzify-attachments.php on line 289
    2021-07-06 03:17:03.964425 [NOTICE] [12122] [***:46849-Q:85801582F8AFAD67-1328#***.com] [STDERR] PHP Warning:  Illegal offset type in /home/***.com/public_html/wp-content/plugins/youzify/includes/public/core/class-youzify-attachments.php on line 931
    • This reply was modified 4 years, 10 months ago by idmxdj.
    • This reply was modified 4 years, 10 months ago by idmxdj.
    Thread Starter idmxdj

    (@idmxdj)

    I tried it on a local and LSWS both have the same problem

    Plugin Support Youzify

    (@kainelabsteam)

    Hello @idmxdj

    I will forward this to our developer team. They will fix this issue in the next update. 🙂

    Best Regards, KaineLabs Team.

    Plugin Support Youzify

    (@kainelabsteam)

    Hello @idmxdj

    I Hope you are doing good.

    I will mark this ticket as resolved as i didn’t hear from you for more than 24 hours.

    But no worries we are still here to help, feel free to reply back on this ticket whenever you are available and we will get back to you 🙂

    Have a wonderful day.

    Best Regards, KaineLabs Team.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘media attachment bug’ is closed to new replies.