• Resolved jpc101

    (@jpc101)


    Hi, after upating a client’s site to 3.2.0, the site went into ‘critical error’ mode and the below was in the error_log:

    [24-Aug-2021 12:08:03 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function mb_internal_encoding() in /home/username/public_html/wp-content/plugins/scriptless-social-sharing/includes/output/class-scriptlesssocialsharing-output-svg.php:186
    Stack trace:
    #0 /home/username/public_html/wp-content/plugins/scriptless-social-sharing/includes/output/class-scriptlesssocialsharing-output-svg.php(141): ScriptlessSocialSharingOutputSVG->get_document('<svg xmlns="htt...')
    #1 /home/username/public_html/wp-content/plugins/scriptless-social-sharing/includes/output/class-scriptlesssocialsharing-output-svg.php(49): ScriptlessSocialSharingOutputSVG->update_svg('<svg xmlns="htt...', Array)
    #2 /home/username/public_html/wp-content/plugins/scriptless-social-sharing/includes/output/class-scriptlesssocialsharing-output.php(225): ScriptlessSocialSharingOutputSVG->svg('twitter')
    #3 /home/username/public_html/wp-content/plugins/scriptless-social-sharing/includes/output/class-scriptlesssocialsharing-output.php(124): ScriptlessSocialSharingOutput->get_svg('twitter')
    #4 / in /home/username/public_html/wp-content/plugins/scriptless-social-sharing/includes/output/class-scriptlesssocialsharing-output-svg.php on line 186

    I’ve rolled back to 3.1.6 and all is well!

    The server is running PHP 7.4

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Robin Cornett

    (@littlerchicken)

    Thank you for the report, and I’m sorry this happened! It’s due to your site/server not having the mbstring extension enabled. I can put together code to try to avoid the and include it in the next release, although not having the extension may result in some issues with some SVG icons. You may want to ask your host about the extension, but please do look for this to be corrected in 3.2.1.

    Thread Starter jpc101

    (@jpc101)

    Hi Robin,

    Thanks for the speedy response! Ahhhhh, I’d not thought of checking that… No idea why it wasn’t enabled – it should have been. Anyway, I’ve enabled it, updated and all is happy ??

    Thanks and best wishes!

    My site too got a semi-fatal error after updating to 3.2.0: It cut off everything below the headline and meta info on single posts. I’m not knowledgeable enough to change the mbstring thing, so I disabled the plugin for the time being. Will keep an eye on the updates.

    Plugin Author Robin Cornett

    (@littlerchicken)

    Hi @swekarl, I’ve uploaded version 3.2.1 which should address the error for sites without the mbstring extension. Thank you for your patience; I appreciate it.

    Looking good, thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘3.2.0 had a fatal PHP error on my site!’ is closed to new replies.