Show Sidebar Log in
Commons In A Box Logo
  • Home
  • About
    • Project Team
    • Logos and Graphics
  • Showcase
    • CBOX Classic Showcase
    • CBOX OpenLab Showcase
  • Demo
  • Get Started
  • Documentation
    • Technical Guide
    • CBOX Classic Guide
    • CBOX OpenLab Guide
  • Support Forums
    • CBOX Classic
    • CBOX OpenLab
    • Developers Forum
  • News

Group Admins

  • Profile picture of Scott Voth

CBOX OpenLab Support

Public Group active 1 year, 1 month ago

Have a question about Commons In A Box OpenLab, our new platform for open learning? Join the group and post your question here. Register for an account or log in to commonsinabox.org, then join the group and post your question here.

Best practice for keeping sites updated and secure?

  • This topic has 14 replies, 6 voices, and was last updated 4 years, 9 months ago by Boone Gorges.
Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • August 14, 2020 at 4:34 pm #8468
    Mary
    Participant

    I’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
    Ray
    Keymaster

    Hi 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.0

    In 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 #8472
    Mary
    Participant

    Thank you! I wound up manually restarting the process multiple times and it finally completed.

    -Mary

    August 20, 2020 at 1:53 pm #8477
    Mary
    Participant

    I 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 Everson
    Participant

    HI – 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 #8481
    Ed Beck
    Participant

    Hi 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 #8482
    Mary
    Participant

    Thank 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 #8483
    Ed Beck
    Participant

    I 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 #8484
    Charlie Edwards
    Member

    Hi 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 #8485
    Boone Gorges
    Keymaster

    Mary – 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 line endif;; 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_DEBUG as described above, please share any ‘Fatal error’ you may see.
     

    August 20, 2020 at 3:22 pm #8486
    Boone Gorges
    Keymaster

    Ed, 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 #8487
    Ed 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 #8488
    Boone Gorges
    Keymaster

    Thanks for confirming that, Ed!

    August 20, 2020 at 6:37 pm #8489
    Mary
    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 #8492
    Boone Gorges
    Keymaster

    Thanks 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).

  • Author
    Posts
Viewing 15 posts - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.
Log In
Group logo of CBOX OpenLab Support
  • Home
  • Forum
  • Announcements
  • Docs
  • Members 22
  • Send Invites

Groups

Newest | Active | Popular | Alphabetical
  • Group logo of CBOX Classic Support
    CBOX Classic Support
    287 members
  • Group logo of CBOX Pioneers
    CBOX Pioneers
    71 members
  • Group logo of CBOX Developers
    CBOX Developers
    40 members
  • Group logo of CBOX OpenLab Support
    CBOX OpenLab Support
    22 members
  • Group logo of CBOX-OL Testing Partners
    CBOX-OL Testing Partners
    12 members

CBOX has its roots in the CUNY Academic Commons, which in turn was made possible through funding from The City University of New York itself.

CUNY Logo

CUNY Academic Commons Logo

City Tech logo

The Commons In A Box was made possible through the generous support of the Alfred P. Sloan Foundation.

Alfred P. Sloan Foundation Logo

NEH Logo

The CUNY Graduate Center has directly contributed to the CUNY Academic Commons, housing the project since its inception, and has contributed to CBOX through its GC Digital Initiatives.

CUNY Graduate Center Logo

CUNY Graduate Center Digital Initiatives Logo

Powered by Commons In A Box
css.php
Skip to toolbar
  • About WordPress
    • WordPress.org
    • Documentation
    • Learn WordPress
    • Support
    • Feedback
  • Log In
  • Register