Best practice for keeping sites updated and secure?
- This topic has 14 replies, 6 voices, and was last updated 5 years, 2 months ago by
Boone Gorges.
-
AuthorPosts
-
August 14, 2020 at 4:34 pm #8468
Mary
ParticipantI’m trying to follow the instructions in my network dashboard to get rid of an alert for BuddyPress Group Email Subscription migration, but the process is not completing. I’ve attached screenshots. As far as I can tell, there are no messages in the queue. Any suggestions on how to complete this process?
Thank you!
Mary
Attachments:
You must be logged in to view attached files.August 14, 2020 at 5:13 pm #8471
RayKeymasterHi Mary,
We’ve had a few people encounter this issue.
Some have had success with the following guide:
https://github.com/boonebgorges/buddypress-group-email-subscription/wiki/Migrating-to-3.9.0In particular, the “If WP-CLI is unavailable” section will probably apply to you if you do not have access to the WP-CLI command-line tool.
Let us know if you have any other questions.
August 15, 2020 at 1:55 pm #8472Mary
ParticipantThank you! I wound up manually restarting the process multiple times and it finally completed.
-Mary
August 20, 2020 at 1:53 pm #8477Mary
ParticipantI need help! I was just updating plugins on my OpenLab installation and received the attached notice. The link takes me to this page, which is overwhelming to a non programmer! https://wordpress.org/support/article/debugging-in-wordpress/
Do you have any advice on how to solve this?!
-Mary
Attachments:
You must be logged in to view attached files.August 20, 2020 at 2:13 pm #8479
Sally EversonParticipantHI – I also seem to have a problem after the recent updates — where my landing page is not showing the Top Slidedeck or Courses, Projects, Clubs etc. (Screenshot attached)
Otherwise it seems to be working OK as far as I can tell, but the active project using the site hasn’t launched yet so I am not sure…
Any suggestions?
Attachments:
You must be logged in to view attached files.August 20, 2020 at 2:22 pm #8481Ed Beck
ParticipantHi Mary,
I just had this problem. Are you on a hosting plan where you can access the files on your server?
You might want to turn debugging on, because it might give you a clue of what plugin is breaking everything.
You will need to copy and paste this into your WordPress config file.
define( 'WP_DEBUG', true );
—
Once you have figured out what plugin is breaking your website, you will have to disable it. Since you can’t disable it the normal WordPress way, you are going to need to go into the file strucutre, find the plugin folder, and rename the plugin.
So my website broke because of the PostSMTP plugin. To disable it I just renamed the folder from “postsmtp” to “nopostsmtp.”
Any new name will disable the plugin.
August 20, 2020 at 2:37 pm #8482Mary
ParticipantThank you very much, Ed! I changed false to true in my config file and then opened the error log. I’ve not interpreted a document like this before, but it looks to me like this is repeated often:
PHP Fatal error: Cannot redeclare openlab_get_clone_source_group_id() (previously declared in /home/unewhave/public_html/wp-content/plugins/cbox-openlab-core/includes/clone.php:155) in /home/unewhave/public_html/wp-content/themes/openlab-theme/lib/course-clone.php on line 189
But there are many errors logged there! Do you think it’s okay to attach the entire error log here to get help on what to do next?
August 20, 2020 at 2:45 pm #8483Ed Beck
ParticipantI think you should share the errors, especially because some of them are coming from open-lab core.
I was assuming the errors were coming from 3rd party plugins, but if they are coming from openlab, I’m sure the developers will want to know.
Ed
August 20, 2020 at 3:14 pm #8484Charlie Edwards
MemberHi all – just a quick note to say thanks so much for reporting these issues. The team will obviously need to look into this, so please do provide as much info as you can!
– Charlie (Edwards; CBOX OpenLab Co-Project Director, in case we haven’t met before)
August 20, 2020 at 3:14 pm #8485Boone Gorges
KeymasterMary – Thanks for sharing the content of this debug message.
The fatal error is being triggered because of the order in which libraries are loaded during the CBOX update process. I’ll be issuing a plugin update shortly that will fix it. In the meantime, you may have to do some manual work so that you can continue the installation process. Open up the file wp-content/themes/openlab-theme/lib-course-clone.php, and look around line 187, where you should see the following:
function openlab_get_clone_source_group_id( $group_id ) { return (int) groups_get_groupmeta( $group_id, 'clone_source_group_id' ); }You should change it to the following:
if ( ! function_exists( 'openlab_get_clone_source_group_id' ) ) : function openlab_get_clone_source_group_id( $group_id ) { return (int) groups_get_groupmeta( $group_id, 'clone_source_group_id' ); } endif;Note that I’ve added the first line
if ( ! function_exists( 'openlab_get_clone_source_group_id' ) ) :and the last lineendif;; the bit in the middle is changed. Save your changes, and then return to the CBOX upgrade routine in the Dashboard. The upgrader should then continue as expected, installing the updated version of openlab-theme.Sally, if you’re able to enable
WP_DEBUGas described above, please share any ‘Fatal error’ you may see.
August 20, 2020 at 3:22 pm #8486Boone Gorges
KeymasterEd, if you have details as to why PostSMTP was breaking with the CBOX upgrade, it would be helpful. (Perhaps you upgraded WP at the same time, and that’s where the incompatibility was?)
August 20, 2020 at 3:32 pm #8487Ed Beck
Participant@Boone, The PostSMTP plugin had an incompatibility with WordPress 5.5, and the breaking was not related to Commons in a Box.
August 20, 2020 at 3:33 pm #8488Boone Gorges
KeymasterThanks for confirming that, Ed!
August 20, 2020 at 6:37 pm #8489Mary
Participant@Boone
Thank you!! I did what you suggested and all seems to be fine. The dashboard for my openlab site loaded and I was able to complete the upgrade.
Attachments:
You must be logged in to view attached files.August 21, 2020 at 10:34 am #8492Boone Gorges
KeymasterThanks for confirming, Mary!
For everyone’s information, version 1.2.1 of Commons In A Box contains a fix for this (and no other changes).
-
AuthorPosts
- You must be logged in to reply to this topic.