• Resolved rudiexp

    (@rudiexp)


    this is the error shown. what can i do?

    Fatal error: Uncaught Error: Call to undefined function mb_strimwidth() in /home/cra00110/public_html/wp-content/plugins/profilegrid-user-profiles-groups-and-communities/includes/class-profile-magic-chat-system.php:218 Stack trace: #0 /home/cra00110/public_html/wp-content/plugins/profilegrid-user-profiles-groups-and-communities/includes/class-profile-magic-chat-system.php(510): ProfileMagic_Chat->pm_messenger_show_threads(‘2’) #1 /home/cra00110/public_html/wp-content/plugins/profilegrid-user-profiles-groups-and-communities/public/class-profile-magic-public.php(3967): ProfileMagic_Chat->pg_show_message_tab_html(649, ‘310’, ‘2’) #2 /home/cra00110/public_html/wp-includes/class-wp-hook.php(324): Profile_Magic_Public->pm_profile_messages_tab_content(‘pg-messages’, Array, 649, Array, ‘1’) #3 /home/cra00110/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) #4 /home/cra00110/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #5 /home/cra00110/public_html/wp-content/plugins/profilegr in?/home/cra00110/public_html/wp-content/plugins/profilegrid-user-profiles-groups-and-communities/includes/class-profile-magic-chat-system.php?on line?218

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter rudiexp

    (@rudiexp)

    error shown in debug logs:

    PHP Fatal error: Uncaught Error: Call to undefined function mb_strimwidth() in /home/cra00110/public_html/wp-content/plugins/profilegrid-user-profiles-groups-and-communities/includes/class-profile-magic-chat-system.php:218

    Thread Starter rudiexp

    (@rudiexp)

    Disabling Chat and Notification the profile page works

    Plugin Author ProfileGrid Support

    (@profilegrid0)

    Hello @rudiexp,

    The error you’re encountering, Fatal error: Uncaught Error: Call to undefined function mb_strimwidth(), indicates that the mb_strimwidth() function is being called, but the mbstring PHP extension is not enabled on your server. This function is part of the mbstring (Multibyte String) extension, which is used to handle multibyte character encodings in strings.

    Steps to Resolve the Issue

    1. Enable the mbstring Extension in PHP:

    The mbstring extension is likely missing from your PHP installation. Here’s how to enable it depending on your environment:

    On cPanel (Shared Hosting):

    1. Log in to your cPanel.
    2. Go to “Select PHP Version”?under the “Software” section.
    3. Select your PHP version?and look for the mbstring?extension in the list.
    4. Check the box next to mbstring?to enable it.
    5. Save the changes?by clicking on the “Save” or “Set as current” button.

    On a VPS or Dedicated Server (Linux):

    If you have root access to your server, you can install or enable the?mbstring extension:

    For Ubuntu/Debian:

    bashCopy codesudo apt-get install php-mbstring
    sudo systemctl restart apache2

    For CentOS/RHEL:

    bashCopy codesudo yum install php-mbstring
    sudo systemctl restart httpd

    On Local Development Environment (XAMPP, WAMP, etc.):

    • Open your php.ini?file.
    • Search for ;extension=mbstring?and remove the semicolon (;) to uncomment it.
    • Restart your web server (Apache, Nginx, etc.) to apply the changes.

    If you still face issues, please share the PHP version of your site so we can check and help you with a possible fix.

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