Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1407158

    capodanno
    Participant

    Hello!

    I did an extensive update of our site today. And now, I notice that all the forum pages are blank. What can I do to fix?

    Please let me know if you need additional info about what versions I updated (WordPress, X Theme, plugins).

    Thank you!
    Angela

    #1407161

    capodanno
    Participant
    This reply has been marked as private.
    #1407404

    Darshana
    Moderator

    Hi Angela,

    A white screen usually means there is a fatal PHP error. Can you please enable WP_DEBUG mode? You can do this by opening wp-config.php and adding
    define( 'WP_DEBUG' , true ); just above /* That's all, stop editing! Happy blogging. */ For example:

    define('WP_DEBUG', true);
    
    /* That's all, stop editing! Happy blogging. */

    When you revisit the page with the white screen, you should have some error output describing the issue in more detail.

    Let us know how it goes.
    Thanks!

    #1408372

    capodanno
    Participant

    Thank you for helping me! Here’s the error output:

    Warning: ksort() expects parameter 1 to be array, object given in /home/dogwriters/public_html/wp-content/plugins/bbpress/includes/core/template-functions.php on line 316

    Notice: Undefined index: function in /home/dogwriters/public_html/wp-content/plugins/bbpress/includes/core/template-functions.php on line 326

    Notice: Undefined index: function in /home/dogwriters/public_html/wp-content/plugins/bbpress/includes/core/template-functions.php on line 326

    Notice: Undefined index: function in /home/dogwriters/public_html/wp-content/plugins/bbpress/includes/core/template-functions.php on line 326

    Notice: Undefined property: stdClass::$pages in /home/dogwriters/public_html/wp-content/plugins/search-engine-visibility/classes/plugin.php on line 128

    Notice: Undefined index: function in /home/dogwriters/public_html/wp-content/plugins/bbpress/includes/core/template-functions.php on line 326

    Notice: Undefined index: function in /home/dogwriters/public_html/wp-content/plugins/bbpress/includes/core/template-functions.php on line 326

    Notice: Undefined index: function in /home/dogwriters/public_html/wp-content/plugins/bbpress/includes/core/template-functions.php on line 326

    Notice: Undefined index: function in /home/dogwriters/public_html/wp-content/plugins/bbpress/includes/core/template-functions.php on line 326

    Notice: Undefined index: function in /home/dogwriters/public_html/wp-content/plugins/bbpress/includes/core/template-functions.php on line 326

    Notice: Undefined index: function in /home/dogwriters/public_html/wp-content/plugins/bbpress/includes/core/template-functions.php on line 326

    I don’t claim to know what I’m doing, but I tried to replace the template-functions.php file with the one in my backup (before updating everything) and that was not a solution. I look forward to your advice!

    #1408768

    Darshana
    Moderator

    Hi there,

    Could you please try updating your bbPress plugin manually and see if that works for you. You can check the X compatible version from here (https://community.theme.co/kb/version-compatibility/).

    Let us know how it goes.
    Thanks!

    #1408791

    capodanno
    Participant

    I am running version 2.5.7. The compatible version is 2.5.8. But that version is not available for download, only 2.5.12.

    So, I think I’m stuck with the version I have, unless you want me to upgrade to 2.5.12? Please let me know what to do, as we are now 24 hours with the forums being completely unavailable. I want to make sure we are doing everything we can to resolve this issue.

    Thank you!

    #1409214

    Rad
    Moderator

    Hi there,

    Would you mind providing your FTP login credentials as well? Those notices and warning are just standard debug messages, they aren’t error.

    Thanks!

    #1409804

    capodanno
    Participant
    This reply has been marked as private.
    #1410318

    Rad
    Moderator

    Hi there,

    I’m not sure why, but the global $wp_filter['bbp_template_stack'] is currently NULL instead of an empty array.

    I added this fix with no luck,

    add_action('init', 'fix_wp_filter', -999);
    
    function fix_wp_filter ( ) {
      $wp_filter['bbp_template_stack'] = array();
    }

    Perhaps, it’s not actually NULL on load, but something removes it filter while on the run. I checked and this is the only function that could remove it bbp_deregister_template_stack()

    I checked my installation and there is no plugin or theme calling it, but since your installation is different, then is it okay if I disable all the plugin and features from your site? I can’t do it since it’s live. It may break other setup so please backup your site first.

    Thanks!

    #1411450

    capodanno
    Participant

    I have made a full backup, so please continue.

    I should mention that I didn’t understand much of what you said (I’m not a code genius) but I appreciate your help!

    #1412014

    Rad
    Moderator

    Hi there,

    There is quite weird, the bbPress is active but not registered to the system. You can’t even find it from admin menus. I re-installed and the same, perhaps, this is related to cache (especially the object cache). Would you mind cloning your site to staging? Just for comparison.

    The warning about $wp_filter[‘bbp_template_stack’] being NULL is because bbPress isn’t running at all.

    Thanks.

    #1414105

    capodanno
    Participant

    I am not on a hosting plan that easily creates a staging site. I can accomplish this on a subdomain, say test.dogwriters.org if that will work for you. This is not a small task, so I’m also double checking this really needs to be done.

    Obviously, I’m here to help in whatever way I can to get our forum up and running again! Just don’t want to waste time and money, if there’s a better way.

    Thank you,
    Angela

    #1414803

    Paul R
    Moderator

    Hi Angela,

    Yes a subdomain will work.

    You can try this third party plugin to create a staging.

    https://wordpress.org/plugins/wp-staging/

    Hope that helps

    #1415595

    capodanno
    Participant

    I have cloned a test site for your use at testing.dogwriters.org (FYI — I tried to use the plugin you recommended, but got a bunch of errors, so I cloned the site using Installatron in CPanel.)

    All login credentials are the same as the main site.

    Let me know what you find out, thanks!

    #1416533

    capodanno
    Participant

    I am hoping to resolve this issue today, if at all possible. My client has been patient, but it’s over a week now that their forum has disappeared…

    Please let me know if there’s anything else I can be doing to assist.

    Thank you!
    Angela