Skip to:
Content
Pages
Categories
Search
Top
Bottom

Receiving a Fatal Error when trying to delete a user


  • torres182
    Participant

    @torres182

    Hello. I was wondering if someone could help me with this error.
    When I try to delete any user, I receive the following:

    Fatal error: Uncaught Error: Call to undefined function ctype_digit() in /wp-content/plugins/buddypress/bp-core/bp-core-avatars.php:760

    
    	760: if ( $item_id && ( ctype_digit( $item_id ) || is_int( $item_id ) ) ) {
    	761: 	$item_id = (int) $item_id;
    	762: } else {
    	763: 	return false;
    	764: }
    

    Everything else seems to work fine. I can add users and modify them.
    I am able to delete the user from the backend using phpmyadmin.

    WordPress Ver: 5.6.2
    BuddyPress Ver: 7.2.0
    BuddyX Theme Ver: 3.7.3
    MySQL Ver: 5.6.32
    PHP Ver: 7.4.10

    Thank you,
    torres

Viewing 2 replies - 1 through 2 (of 2 total)

  • shanebp
    Moderator

    @shanebp

    This is a php issue, not a BuddyPress issue.
    Check with your hosting provider to see if ctype is installed and enabled.


    torres182
    Participant

    @torres182

    Thank you for the reply shaneby.

    I deactivated the BuddyPress plugin and was able to delete the users.
    Soon as I reactived BuddyPress, I get the same error as above.

    I also deleted the BuddyPress plugin and reinstalled it but still get the same error.

    torres

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar