Okay
  Public Ticket #2082371
Buddypress members page with no header
Open

Comments

  •  1
    Harlock_ started the conversation

    Hi,

      my member page appears with no header (the space with advanced filters, map, tabs...).

    Can you please check?

    Thanks,

    Francesco

  •  1
    Harlock_ replied

    Screenshot attached

    Attached files:  Immagine del 16-07-19 alle 10.37.jpg

  •  620
    François replied

    Hello, 

    Couple of things, you can copy this in your child theme: 

    function woffice_remove_fa_scripts()
        {
            wp_dequeue_style('font-awesome');
            wp_dequeue_style('fontawesome');
            wp_dequeue_style('font-awesome-original');
            wp_dequeue_style('uagb-fontawesome-css');
            wp_dequeue_style('bupr-font-awesome-css');
            wp_dequeue_style('bupr-font-awesome');
            wp_dequeue_style('bgr-font-awesome-css');
            wp_dequeue_style('bgr-font-awesome');
            wp_dequeue_style('sabai-font-awesome-css');
            wp_dequeue_style('sabai-font-awesome');
        }

    To fix the missing icons on your sitesmile.png

    For the BuddyPress header, it's all managed by the plugin here so hard to tell. Could you enable your debug mode please: https://alkaweb.atlassian.net/wiki/spaces/WOF/pages/131304/Debugging 

    That'll very likely display an error with more details on this page. As it's not something that can be removed it must be broken at some point. 

    Kind Regards,

    François 

    Want feedback on your awesome site? Get yourself a beta access on our new product Feedier.com here: https://feedier.com/

  •  1
    Harlock_ replied

    Hi,

      this is what I get from work debug:

     [10-Aug-2019 07:30:33 UTC] PHP Notice:  Trying to get property 'ID' of non-object in /var/www/vhosts/tacticalpedia.com/httpdocs/wp-content/plugins/woffice-core/extensions/woffice-event/class-fw-extension-woffice-event.php on line 1119
    [10-Aug-2019 07:30:41 UTC] PHP Notice:  Trying to get property 'ID' of non-object in /var/www/vhosts/tacticalpedia.com/httpdocs/wp-content/plugins/woffice-core/extensions/woffice-event/class-fw-extension-woffice-event.php on line 1119
    [10-Aug-2019 07:30:41 UTC] PHP Notice:  Trying to get property 'member' of non-object in /var/www/vhosts/tacticalpedia.com/httpdocs/wp-content/themes/woffice/inc/buddypress.php on line 1361
    [10-Aug-2019 07:30:41 UTC] PHP Notice:  Trying to get property 'profile_data' of non-object in /var/www/vhosts/tacticalpedia.com/httpdocs/wp-content/themes/woffice/inc/buddypress.php on line 1361
    [10-Aug-2019 07:30:45 UTC] PHP Notice:  Trying to get property 'ID' of non-object in /var/www/vhosts/tacticalpedia.com/httpdocs/wp-content/plugins/woffice-core/extensions/woffice-event/class-fw-extension-woffice-event.php on line 1119
    [10-Aug-2019 07:30:49 UTC] PHP Notice:  Trying to get property 'ID' of non-object in /var/www/vhosts/tacticalpedia.com/httpdocs/wp-content/plugins/woffice-core/extensions/woffice-event/class-fw-extension-woffice-event.php on line 1119

    Hope this can help

  •  620
    François replied

    Hello, 

    Can you make sure you're using Woffice version 2.8.5 please. It should fix that issue. 

    Otherwise, be assured it'll be in the next one. I just checked, we fixed it. 

    Have a nice weekend. 

    Kind Regards,

    François 

    Want feedback on your awesome site? Get yourself a beta access on our new product Feedier.com here: https://feedier.com/

  •  1
    Harlock_ replied

    Yes, woffice version in 2.8.5.

    If you already fixed this, can you please provide me support to fix this with no need to wait for next version? (ETA?)

    This is a very important feature for my website and I need it online.

    Thanks,

    Francesco

  •  620
    François replied

    Sorry, I was talking about the error messages you reported in your last comment. 

    For the missing header. Do you have the same issue if you switch back to the default WordPress theme? 

    And if you only have the problem with Woffice and it works with another theme, please try to deactivate your child theme to see if that makes any difference. 

    Have a nice day

    Kind Regards,

    François 

    Want feedback on your awesome site? Get yourself a beta access on our new product Feedier.com here: https://feedier.com/

  •  1
    Harlock_ replied

    Just to clarify I attached a screenshot of members page how it looks on my website, you can see there is no members map, all members, my friends button.

    This is working with 2019 default we theme but not with woffice parent theme.

    Please take care of wp debug log attached, especially on these lines:

    [10-Aug-2019 07:30:41 UTC] PHP Notice:  Trying to get property 'member' of non-object in /var/www/vhosts/tacticalpedia.com/httpdocs/wp-content/themes/woffice/inc/buddypress.php on line 1361
    [10-Aug-2019 07:30:41 UTC] PHP Notice:  Trying to get property 'profile_data' of non-object in /var/www/vhosts/tacticalpedia.com/httpdocs/wp-content/themes/woffice/inc/buddypress.php on line 1361

    Thanks,

    Francesco

    Attached files:  AD9383CC-B7FC-4E82-88DC-B804220E531B.jpeg

  •  620
    François replied

    Hello Francesco, 

    Yup, both the errors your reported and the missing header navigation are caused by the same issue: 

    global $members_template;

    Isn't defined, it's a BuddyPress constant. No idea why though, as it's the first time I see that error. 

    Is there a way you could send me some FTP details as well please? 

    Kind Regards,

    François 

    Want feedback on your awesome site? Get yourself a beta access on our new product Feedier.com here: https://feedier.com/

  •   Harlock_ replied privately
  •   François replied privately
  •   Harlock_ replied privately
  •  620
    François replied

    Hello, 

    Should be fixed. I changed the template. For your information, this function: 

    bp_nouveau_is_object_nav_in_sidebar()
    

    Isn't working on your site, no idea why. Very very likely a plugin conflict with another BuddyPress plugin. 

    Have a nice day 

    Kind Regards,

    François 

    Want feedback on your awesome site? Get yourself a beta access on our new product Feedier.com here: https://feedier.com/

  •  1
    Harlock_ replied

    ok, thanks François.

    How can I keep this fix when upgrading theme?

    Thanks,

    Francesco

  •  620
    François replied

    You can duplicate: 

    woffice/buddypress/members/home.php in your child theme folder, same path. That'll be update proof. 

    And you can keep a local copy of that file as well.

    Kind Regards,

    François 

    Want feedback on your awesome site? Get yourself a beta access on our new product Feedier.com here: https://feedier.com/