Activity Media Post Error
-
Hello, @buddypress
When I try to post media in the activity, it displays an empty error message. In debug mode, it shows this error message.
Screenshot by Lightshot (prnt.sc)
[09-Mar-2024 19:28:52 UTC] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in ***\wp-content\plugins\bp-attachments\bp-attachments\bp-attachments-activity.php:134
Stack trace: 0 ***\wp-includes\class-wp-hook.php(324): bp_attachments_activity_attach_media(Array) 1 ***\wp-includes\plugin.php(205): WP_Hook->apply_filters(Array, Array) 2 ***\wp-content\plugins\buddypress\bp-core\bp-core-functions.php(381): apply_filters(‘bp_before_activ…’, Array) 3 ***\wp-content\plugins\buddypress\bp-activity\bp-activity-functions.php(2155): bp_parse_args(Array, Array, ‘activity_post_u…’) 4 ***\wp-content\plugins\buddypress\bp-templates\bp-nouveau\includes\activity\ajax.php(535): bp_activity_post_update(Array) 5 ***\wp-includes\class-wp-hook.php(324): bp_nouveau_ajax_post_update(”) 6 ***\wp-includes\class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) 7 ***\wp-includes\plugin.php(517): WP_Hook->do_action(Array) 8 ***\wp-admin\admin-ajax.php(188): do_action(‘wp_ajax_post_up…’) 9 {main}thrown in ***\wp-content\plugins\bp-attachments\bp-attachments\bp-attachments-activity.php on line 134
- The topic ‘Activity Media Post Error’ is closed to new replies.