Title: Open Graph Bug Report
Last modified: August 13, 2024

---

# Open Graph Bug Report

 *  Resolved [hernan2022](https://wordpress.org/support/users/hernan2022/)
 * (@hernan2022)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/open-graph-bug-report/)
 * Hi, I found a bug related to Open Graph
 * I disabled all extensions locally to be completely sure it’s not an extension,
   I only have the Youzify plugin installed. All pages have residual Open Graph 
   information in code, the bug looks something like this:
 *     ```wp-block-code
       <!-- Youzify Open Graph Tags -->
   
       <meta property="twitter:card" content="summary_large_image">
       <meta property="og:type" content="profile">
   
   
       <meta property="og:url" content="">
   
   
               <meta property="og:description" content="description on wodpress dashboard">
           <meta property="twitter:description" content="description on wodpress dashboard">
   
       <!-- End of Youzify Open Graph Tags -->
       ```
   
 * If I’m not mistaken, this is on all installations for all users. It’s not a serious
   bug, but it can interfere with the Open Graph information that we really want
   to display
 * To fix the bug you have to modify the following file:
 * \wp-content\plugins\youzify\includes\public\core\class-youzify-profile.php
 * In my case, I have emptied the open_graph() function. It’s near line 368
 * Reviewing the code it looks fine, maybe in some sense it’s more of a BuddyPress
   problem than Youzify. Or maybe BuddyPress no longer works with bp_is_single_activity()
 * In any case, by tweaking the open_graph() function in the class-youzify-profile.
   php file the bug can be fixed
 * I’ve tested the bug and the solution in different versions of the plugin (including
   the current one)
 * It would be great if you could consider this in future patches
 * Best regards

Viewing 1 replies (of 1 total)

 *  Thread Starter [hernan2022](https://wordpress.org/support/users/hernan2022/)
 * (@hernan2022)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/open-graph-bug-report/#post-17951526)
 * Youzify 3.5.4
   BuddyPress 14.0.0
 * For now I just put this (around line 367) in class-youzify-profile.php
 * function open_graph() {
   // Disable the function functionalityreturn false;}
 * This does not print the Open Graph on the pages. This is a bug that surely happens
   to all those who have BuddyPress updated

Viewing 1 replies (of 1 total)

The topic ‘Open Graph Bug Report’ is closed to new replies.

 * ![](https://ps.w.org/youzify/assets/icon-256x256.png?rev=2487434)
 * [Youzify – BuddyPress Community, User Profile, Social Network & Membership Plugin for WordPress](https://wordpress.org/plugins/youzify/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/youzify/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/youzify/)
 * [Active Topics](https://wordpress.org/support/plugin/youzify/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/youzify/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/youzify/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [hernan2022](https://wordpress.org/support/users/hernan2022/)
 * Last activity: [1 year, 10 months ago](https://wordpress.org/support/topic/open-graph-bug-report/#post-17951526)
 * Status: resolved