Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Absence of mbstring php extensions causes webmentions to fail #122

Closed
@miklb

Description

@miklb

As reported in indieweb-wordpress the inclusion of the mb_convert_encoding can cause a fatal error if the mbstring php extension is not active or installed.

Report said that webmentions were not received with semantic linkbacks active, deactivating it allowed them to be received, thus why I opened it in the issue in this plugin.

When I looked for other examples of that function in core WordPress it seems if ( function_exists('mb_convert_encoding') ) is used.

@dshanske said it is a result of the php mf2 library so not sure if we need to do a PR upstream to wrap those in an if statement or do something on plugin side.

Just wanted to document so we don't forget to address.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions