Tagged: x
-
AuthorPosts
-
March 14, 2017 at 4:42 pm #1407158
capodannoParticipantHello!
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!
AngelaMarch 14, 2017 at 4:44 pm #1407161
capodannoParticipantThis reply has been marked as private.March 14, 2017 at 8:13 pm #1407404
DarshanaModeratorHi 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.phpand 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!March 15, 2017 at 12:44 pm #1408372
capodannoParticipantThank 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!
March 15, 2017 at 6:52 pm #1408768
DarshanaModeratorHi 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!March 15, 2017 at 7:22 pm #1408791
capodannoParticipantI 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!
March 16, 2017 at 2:12 am #1409214
RadModeratorHi 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!
March 16, 2017 at 11:11 am #1409804
capodannoParticipantThis reply has been marked as private.March 16, 2017 at 7:25 pm #1410318
RadModeratorHi 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!
March 17, 2017 at 3:39 pm #1411450
capodannoParticipantI 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!
March 18, 2017 at 5:42 am #1412014
RadModeratorHi 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.
March 20, 2017 at 2:48 pm #1414105
capodannoParticipantI 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,
AngelaMarch 21, 2017 at 6:49 am #1414803
Paul RModeratorHi Angela,
Yes a subdomain will work.
You can try this third party plugin to create a staging.
WP STAGING WordPress Backup Plugin – Migration Backup Restore
Hope that helps
March 21, 2017 at 7:37 pm #1415595
capodannoParticipantI 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!
March 22, 2017 at 12:47 pm #1416533
capodannoParticipantI 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 -
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1407158 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
