• Resolved bizangodan

    (@bizangodan)


    After updating to the latest update 2.5.2 the site fails to update the DB.

    When I go to the ‘Upgrade’ page and try to run the DB Update I get a 500 internal server error from admin-ajax.php which seems to stem from trying to call a wp_get_current_user() function which comes back undefined, probably b/c it’s trying to call it before it should be.

    Stack trace:
    #0 /nas/content/live/sibcr1/wp-content/plugins/ultimate-member/includes/admin/core/class-admin-upgrade.php(70): current_user_can('manage_options')
    #1 /nas/content/live/sibcr1/wp-content/plugins/ultimate-member/includes/admin/core/class-admin-upgrade.php(53): um\admin\core\Admin_Upgrade->__construct()
    #2 /nas/content/live/sibcr1/wp-content/plugins/ultimate-member/includes/class-init.php(810): um\admin\core\Admin_Upgrade::instance()
    #3 /nas/content/live/sibcr1/wp-content/plugins/ultimate-member/includes/class-init.php(551): UM->admin_upgrade()
    #4 /nas/content/live/sibcr1/wp-content/plugins/ultimate-member/includes/class-init.php(204): UM->includes()
    #5 /nas/content/live/sibcr1/wp-content/plugins/ultimate-member/includes/class-init.php(88): UM->_um_construct()
    #6 /nas/content/live/sibcr1/wp-content/plugins/ultimate-member/includes/class-init.php(1526): UM::instance()
    #7 /nas/ in /nas/content/live/sibcr1/wp-includes/capabilities.php on line 873
    [15-Dec-2022 22:12:58 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wp_get_current_user() in /nas/content/live/sibcr1/wp-includes/capabilities.php:873

    I’ve tried running the update with all other plugins disabled and it still hits the error.

    I recently updated the WP version to 6.1.1, but the plugin says it’s compatible so didn’t think anything there was causing it.

    Any help would be appreciated.

    Below is my install info

    ### Begin Install Info ###
    
    ## Please include this information when posting support requests ##
    
    
    --- Site Info ---
    
    Site URL:					https://sibcr1.wpengine.com
    Home URL:					https://sibcr1.wpengine.com
    Multisite:					No
    
    --- Hosting Provider ---
    
    Host:						WP Engine
    
    --- User Browser ---
    
    Platform:                 Apple 
    Browser Name:             Firefox  
    Browser Version:          107.0 
    User Agent String:        Mozilla/5.0 (Macintosh; Intel Ma 
    			  c OS X 10.15; rv:107.0) Gecko/20
                              100101 Firefox/107.0
                              
    ---- Current User Details --
    
    Role: administrator
    
    
    --- WordPress Configurations ---
    
    Version:						6.1.1
    Language:					en_US
    Permalink Structure:			/%postname%/
    Active Theme:				SIBCR 1.0.4
    Page On Front:				Home (#140)
    Page For Posts:				 (#0)
    ABSPATH:					/nas/content/live/sibcr1/
    All Posts/Pages:				11
    WP Remote Post:           		wp_remote_post() works
    WP_DEBUG:                 			Enabled
    WP Table Prefix:          			Length: 3, Status: Acceptable
    Memory Limit:   				40MB
    
    
    --- UM Configurations ---
    
    Version:						2.3.1
    Upgraded From:            		2.3.1
    Current URL Method:			
    Cache User Profile:			Yes
    Generate Slugs on Directories:	Yes
    Force UTF-8 Encoding: 		No
    JS/CSS Compression: 			No
    Port Forwarding in URL: 		No
    Exclude CSS/JS on Home: 		No
    
    
    --- UM Pages Configuration ---
    
    User:						https://sibcr1.wpengine.com/users/
    Account:						https://sibcr1.wpengine.com/account/
    Members:					https://sibcr1.wpengine.com/users/
    Register:						https://sibcr1.wpengine.com/register/
    Login:						https://sibcr1.wpengine.com/log-in/
    Logout:						https://sibcr1.wpengine.com/log-out/
    Password Reset:				https://sibcr1.wpengine.com/password-reset/
    
    
    --- UM Users Configuration ---
    
    Default New User Role: 		subscriber
    Profile Permalink Base:		user_login
    User Display Name:			full_name
    Force Name to Uppercase:		No
    Redirect author to profile: 		Yes
    Enable Members Directory:	Yes
    Use Gravatars: 				No
    Require a strong password: 	On
    
    
    --- UM Access Configuration ---
    
    Panic Key: 								
    Global Site Access:						Site accessible to Everyone
    Backend Login Screen for Guests:			No
    Redirect to alternative login page:			
    Backend Register Screen for Guests:		No
    Redirect to alternative register page:		
    Access Control widget for Admins only: 		No
    Enable the Reset Password Limit:			Yes
    Reset Password Limit: 3Disable Reset Password Limit for Admins: No
    Blacklist Words: 							5
    
    
    --- UM Email Configurations ---
    
    Mail appears from:  			SIBCR
    Mail appears from address:  	[email protected]
    Use HTML for E-mails:   		Yes
    Account Welcome Email:  		Yes
    Account Activation Email:   	No
    Pending Review Email:   		Yes
    Account Approved Email: 		Yes
    Account Rejected Email: 		Yes
    Account Deactivated Email:  	Yes
    Account Deleted Email:  		Yes
    Password Reset Email:   		Yes
    Password Changed Email: 		Yes
    
    
    --- UM Total Users ---
    
    				All Users(204)
    administrator(5)
    subscriber(199)
    none(0)
    
    
    --- UM Roles ---
    
    				Administrator (administrator)
    Editor (editor)
    Author (author)
    Contributor (contributor)
    Subscriber (subscriber)
    
    
    --- UM Custom Templates ---
    
    				N/A
    
    
    --- UM Email HTML Templates ---
    
    				N/A
    
    
    --- Web Server Configurations ---
    
    PHP Version:              			7.4.33
    MySQL Version:            			5.7.39
    Web Server Info:          			Apache
    
    
    --- PHP Configurations ---
    
    PHP Memory Limit:         			512M
    PHP Upload Max Size:      			50M
    PHP Post Max Size:        			100M
    PHP Upload Max Filesize:  			50M
    PHP Time Limit:           			3600
    PHP Max Input Vars:       			10000
    PHP Arg Separator:        			&
    PHP Allow URL File Open:  			Yes
    
    
    --- Web Server Extensions/Modules ---
    
    DISPLAY ERRORS:           			N/A
    FSOCKOPEN:                			Your server supports fsockopen.
    cURL:                     			Your server supports cURL.
    SOAP Client:              			Your server has the SOAP Client enabled.
    SUHOSIN:                  			Your server does not have SUHOSIN installed.
    GD Library:               			PHP GD library is installed on your web server.
    Mail:                     			PHP mail function exist on your web server.
    Exif:				          PHP Exif library is installed on your web server.
    
    
    --- Session Configurations ---
    
    Session:                  			Disabled
    Session Name:             			PHPSESSID
    Cookie Path:              			/
    Save Path:                			/var/lib/php/sessions
    Use Cookies:              			On
    Use Only Cookies:         			On
    
    
    --- WordPress Active Plugins ---
    
    				ACF: Better Search: 4.0.1
    Advanced Custom Fields: Extended: 0.8.8.7
    Advanced Custom Fields PRO: 5.12
    Post Types Order: 1.9.8
    Scheduled Post Trigger: 3.0
    Stop WP Emails Going to Spam: 2.0.5
    Ultimate Member: 2.3.1
    WP-PageNavi: 2.94.0
    WP Fulltext Search: 1.48.156
    WS Form LITE: 1.8.183
    Yoast Duplicate Post: 4.4
    
    ### End Install Info ###
    					

    • This topic was modified 1 year, 11 months ago by bizangodan.
    • This topic was modified 1 year, 11 months ago by bizangodan.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Latest Update (2.5.2) Fatal Error’ is closed to new replies.