• Hi.

    I’m using this awesome calendar plugin to manage events at my website but have a problem using PHP version 7. It’s a virtual machine (testing) with Ubuntu 16.04. Installed php7.0-mbstring an restarded php7 and nginx services.
    I can see the module if I do a ‘php -m’ at the terminal prompt but every time I access to the configuration of the ai1ec plugin it warns me about mbstring missing.

    What should I do? Thanks

    https://wordpress.org/plugins/all-in-one-event-calendar/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi ftorresibez!

    Do you use php-fpm? If yes, did you restart php-fpm?

    Hi ftorresibesz,
    dear Calvin.

    I encountered the same problem.
    After upgrading from php 5 to php 7, the default ubuntu install did not contain the mbstring extension anymore.
    So that was when the plugin started displaying the corresponding error message.

    I thought fixing the issue should be easy enough:

    aptitude install php-mbstring
    phpenmod mbstring
    service apache2 reload

    and indeed this installed and enabled the mbstring extension.
    Nevertheless the error message was still there.

    I could of course manually hide it with the accompanying button,
    but I don’t want to do that for every blog on this server.
    Furthermore when the mbstring extension gets deactivated again,
    the message would remain hidden.

    Unfortunately the only thing I could discern from your source code,
    was that the message is generated in lib/environment/check.php and
    is related to the ai1ec_mbstring_notification option.

    Please let the message disappear automatically, in case you detect the mbstring extension.

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

The topic ‘PHP7 extension mbstring’ is closed to new replies.