indieweb / indieweb/wordpress-indieauth
Check for Presence of mb_convert_encoding
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36
- Forks
- 14
- Avg merge
- 2h 6m
- Merged PRs (30d)
- 3
Description
Fatal error: Uncaught Error: Call to undefined function mb_convert_encoding() in /var/www/html/s.ragavan.co/public_html/wp-content/plugins/indieauth/includes/class-indieauth-client-discovery.php:113 Stack trace: #0 /var/www/html/s.ragavan.co/public_html/wp-content/plugins/indieauth/includes/class-indieauth-client-discovery.php(51): IndieAuth_Client_Discovery::extract_client_data_from_html('...', 'https://indieau...') #1 /var/www/html/s.ragavan.co/public_html/wp-content/plugins/indieauth/includes/class-indieauth-client-discovery.php(12): IndieAuth_Client_Discovery->parse('https://indieau...') #2 /var/www/html/s.ragavan.co/public_html/wp-content/plugins/indieauth/includes/class-indieauth-authorization-endpoint.php(210): IndieAuth_Client_Discovery->__construct('https://indieau...') #3 /var/www/html/s.ragavan.co/public_html/wp-content/plugins/indieauth/includes/class-indieauth-authorization-endpoint.php(199): IndieAuth_Authorization_Endpoint->authorize() #4 /var/www/html/s.ragavan.co/public_html/wp-includes/cla in /var/www/html/s.ragavan.co/public_html/wp-content/plugins/indieauth/includes/class-indieauth-client-discovery.php on line 113
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in includes/class-indieauth-client-discovery.php at line 113, where mb_convert_encoding() is called during client discovery, and inspect the surrounding parsing path. Done means the authorization flow no longer fatally errors when that function is unavailable; verify the client-discovery path in a WordPress/PHP environment with the reported condition.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- authentication, backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100