• We are the contracting firm working on behalf of our client to update MWBEC.org. We were not apart of the account set up process have never had login information for their WP account. We’ve been able to access the account through GODADDY.

    Now, after accessing and updating our plug-ins and WordPress version, we are receiving this error: Fatal error: Cannot redeclare tgmpa_load_bulk_installer() (previously declared in /home/mwbec/public_html/wp-content/plugins/our-team-enhanced/admin/class/class-tgm-plugin-activation.php:2931) in /home/mwbec/public_html/wp-content/themes/maxflat-core/smart-lib/class-tgm-plugin-activation.php on line 2200

    Because of this, we have been completely restricted from accessing the Word Press control panel from GoDaddy at all. We’ve read through some other forums about restoring versions or going to the code to fix, but how can we do this with no access via WP?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Have you got FTP access ? or any form of access to the files on the server to upload a fix ?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    How were updating their site without logging into WordPress?

    If you have FTP access, try renaming wp-content/plugins/our-team-enhanced/ to wp-content/plugins/our-team-enhanced-broken/

    Thread Starter lidster93

    (@lidster93)

    I am able to download the files / edit the code directly from “File Manager” that I accessed through the GoDaddy control panel.

    From the error message path I’ve been able to locate this: class-tgm-plugin-activation.php file, I’m currently copying the file before I go into it.

    Stay tuned and thank you Jrf & Steve

    Thread Starter lidster93

    (@lidster93)

    In the code, I found a forum” target=”_blank”>forum that advised for

    function tgmpa_load_bulk_installer(){

    }

    to be switched to

    if ( ! function_exists (‘tgmpa_load_bulk_installer’) ) {
    function tgmpa_load_bulk_installer(){

    }
    }

    Which I’ve now realized has already been done, so I’m back to square one! Steve, this might be a simple question but how do I rename that? Is it the path somewhere or an actual folder? Thank you!

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Using FTP or the hosting control panel, rename one of the plugin directories to disable that plugin.

    lidester93,

    Here’s a simple solution:

    1. Download the current version of the library from https://tgmpluginactivation.com/download/
    2. Unzip the file and
    3. Copy/upload (via FTP) just the class-tgm-plugin-activation.php file to the /home/mwbec/public_html/wp-content/themes/maxflat-core/smart-lib/ directory of your website, replacing the existing class-tgm-plugin-activation.php file.

    Once you’ve done that, all should be fine again.

    Oh and please give the author(s) of the theme you use a bollocking as they are using a **very** old, outdated version of that library with known security vulnerabilities. They really should update their theme.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Fatal Error – No Login’ is closed to new replies.