Viewing 15 replies - 1 through 15 (of 21 total)
  • Thread Starter ashh115

    (@ashh115)

    Regarding editing user role to ‘BackWPup Admin’ I only have one user which is master admin so I cannot change the role.

    I have used Capability Manager plugin to ensure all BackWPup privileges are checked..but still getting the same Fatal error when I activate.

    I don’t dare try to update any of my other sites as these two have not worked.

    Plugin Author Robert Windisch

    (@nullbyte)

    Hi ashh115,

    please go to the “BackWPup” part of your profile page. You can add BackWPup Admin rights to your current user.

    We will check this issue and will solve it with the next version. But to help you right now please change the following on the class-install.php File:

    foreach ( $users as $user ) {
    				$user->add_role( 'backwpup_admin' );
    			}

    with

    if ( ! empty( $users ) && count( $users ) > 0 ) {
    				foreach ( $users as $user ) {
    					$user->add_role( 'backwpup_admin' );
    				}
    			}

    That should hide the fatal error. But you will need to add the BackWPup rights to every User who should get access.

    Thread Starter ashh115

    (@ashh115)

    Thanks for the quick reply

    I have changed the file in backwpup > inc > class-install.php

    But I still have the Fatal error. The only way to remove the fatal error is to rename/delete the backwpup plugin folder through FTP.

    Because I am unable to activate the Backwpup plugin, I don’t have the Backwpup options in Profile page…so am unable to add Backwpup admin privileges.

    I am happy to wait for a new version release to solve this problem, I will just postpone updates of the plugin on other sites until then.

    Thanks again for looking into this.

    thank you,
    but now this error is line 95 ??

    Plugin Author Robert Windisch

    (@nullbyte)

    Hi ashh115, Hi Agiled,

    your setup seams to be different. I cannot recreate your error. Can you send me the output of the following code ( send it to: r _dot_ windisch :at: inpsyde.com ). Don’t publish it.

    replace
    $users = get_users( array( 'blog_id' => 1, 'role' => 'administrator' ) );
    with
    $users = get_users( array( 'blog_id' => 1, 'role' => 'administrator' ) );var_dump( $users );

    regards,
    Robert

    Thread Starter ashh115

    (@ashh115)

    Email sent,

    Thanks

    Plugin Author Robert Windisch

    (@nullbyte)

    Hi ashh115,

    thank you for your email. Can you tell me your activated plugins? The Problem is that we use a API function from WordPress to get all admins. But this answer is different on your system. Maybe another plugin will change that.

    regards,
    Robert

    Thread Starter ashh115

    (@ashh115)

    Hi Robert

    Below are the plugins which i have on the site. These are the ones that are consistant on both sites that I have tried and get the error on.

    All In One SEO Pack
    BackWPup (not activated as I get Fatal Error)
    Better WP Security
    Broken Link Checker
    Coming Soon Pages [Free]
    Contact Form 7
    Disable Comments
    Duplicate Post
    Google Analyticator
    Google XML Sitemaps
    WordPress Importer

    Other plugins that I have on the site that I sent you details for but not on the other site that I am also getting the error on are:

    Quick Cache
    Contact Form 7 Analytics by Found
    Cookie Control
    Brankic Social Media Widget
    Brankic Twitter Widget

    everything sent by email,
    thanks

    Plugin Author Robert Windisch

    (@nullbyte)

    Hi,

    it seems that you are not using the current version of WordPress. Please replace the following code in the class-install.php:

    get_users( array( 'blog_id' => 1, 'role' => 'administrator' ) );

    with:

    get_users( array( 'blog_id' => 1, 'role' => 'administrator', 'fields' => 'all_with_meta' ) );

    Then WordPress will also load the WP_User class on versions below 3.5.

    regards,
    Robert

    I install the latest version3.0.10 and have the same error.And replace

    get_users( array( 'blog_id' => 1, 'role' => 'administrator' ) );

    with
    `get_users( array( ‘blog_id’ => 1, ‘role’ => ‘administrator’, ‘fields’ => ‘all_with_meta’ ) );’

    then it can work.(wordpress version 3.3.1).
    thanks

    Caspar

    (@friendlyghost)

    @popwin8 +1 for confirming, thanks!

    Change fixed the bug on version 3.4.2 as well! Thank you.

    Swapping –
    get_users( array( 'blog_id' => 1, 'role' => 'administrator' ) );

    with

    get_users( array( 'blog_id' => 1, 'role' => 'administrator', 'fields' => 'all_with_meta' ) );

    @digia

    Thanks a lot.
    I’m also using 3.4.2 as you.
    I have confirmed your solution.
    You saved my day!

    I came over from the other thread. Just encountered this today.

    Sites are now offline as a result of this error so I can’t get into it to update the user.

    https://writermarshastopa.com
    “Symfony” folder is already named with a capital S.
    Current version of WordPress

    This is a client’s site and important I get it back up quickly:
    https://polaritycenter.com

    Thank you!
    Marsha

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘Fatal error 3.0.8 to 3.0.10’ is closed to new replies.