lichengkun135 @SKevo you mind taking a look?
Diff for Flarum
lichengkun135 FYI you can access PHP logs at https://freeflarum.com/settings/logs
The error is:
flarum.ERROR: TypeError: strlen(): Argument #1 ($str) must be of type string, bool given in /app/vendor/jfcherng/php-mb-string/src/MbString.php:337
Stack trace:
#0 /app/vendor/jfcherng/php-mb-string/src/MbString.php(49): Jfcherng\Utility\MbString::getUtf32Header()
#1 /app/vendor/jfcherng/php-diff/src/Renderer/Html/AbstractHtml.php(150): Jfcherng\Utility\MbString->__construct()
#2 /app/vendor/jfcherng/php-diff/src/Renderer/Html/AbstractHtml.php(89): Jfcherng\Diff\Renderer\Html\AbstractHtml->renderChangedExtent()
#3 /app/vendor/jfcherng/php-diff/src/Renderer/Html/AbstractHtml.php(113): Jfcherng\Diff\Renderer\Html\AbstractHtml->getChanges()
#4 /app/vendor/jfcherng/php-diff/src/Renderer/AbstractRenderer.php(176): Jfcherng\Diff\Renderer\Html\AbstractHtml->renderWorker()
#5 /app/vendor/the-turk/flarum-diff/src/Api/Serializers/DiffSerializer.php(230): Jfcherng\Diff\Renderer\AbstractRenderer->render()
#6 /app/vendor/flarum/core/src/Api/Serializer/AbstractSerializer.php(88): TheTurk\Diff\Api\Serializers\DiffSerializer->getDefaultAttributes()
#7 /app/vendor/tobscure/json-api/src/Resource.php(169): Flarum\Api\Serializer\AbstractSerializer->getAttributes()
#8 /app/vendor/tobscure/json-api/src/Resource.php(75): Tobscure\JsonApi\Resource->getAttributes()
#9 /app/vendor/tobscure/json-api/src/Collection.php(123): Tobscure\JsonApi\Resource->toArray()
#10 [internal function]: Tobscure\JsonApi\Collection->Tobscure\JsonApi\{closure}()
[...]
SKevo Thanks for the information!
- Edited
lichengkun135 there's nothing you or I can do with it. It implies there's something wrong with the extension's code. Or maybe there's an incompatibility with the latest version of mbstring
, although I can't tell, I just assume that because I updated all extensions/packages for all forums recently
SKevo Cool, thanks for the information!
- Edited
Hmmm, this a dependency issue (introduces a breaking change in a patch release), I believe you all running on PHP 7.3? I'm not sure if I want to downgrade the dependency to a version which it supports 7.3 (haven't PHP dropped support for 7.3 yet?).
Or this really could be a bug on the dependecy, regardless of the PHP version, I'm not sure tbh. But the owner of the repository (@jfcherng) says that it won't support 7.3 in one of their release notes.
- Edited
Kylo we're using PHP 8.x for all forums:
Flarum core 1.2.1
PHP version: 8.0.14
MySQL version: 5.5.5-10.6.5-MariaDB-1:10.6.5+maria~focal
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, Reflection, SPL, session, standard, sodium, mysqlnd, PDO, xml, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, intl, exif, mysqli, pdo_mysql, Phar, posix, readline, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, Zend OPcache
+-------------------------------------+-------------+--------+
| Flarum Extensions | | |
+-------------------------------------+-------------+--------+
| ID | Version | Commit |
+-------------------------------------+-------------+--------+
| flarum-flags | v1.2.0 | |
| flarum-sticky | v1.2.0 | |
| flarum-likes | v1.2.0 | |
| fof-formatting | 1.0.2 | |
| flarum-tags | v1.2.0 | |
| flarum-suspend | v1.2.0 | |
| flarum-nicknames | v1.2.0 | |
| flarum-lock | v1.2.0 | |
| flarum-approval | v1.2.0 | |
| afrux-forum-widgets-core | v0.1.7 | |
| flarum-markdown | v1.2.0 | |
| zerosonesfun-member | 1.2 | |
| v17development-seo | v1.8.0 | |
| the-turk-stickiest | 2.0.3 | |
| the-turk-mathren | 1.0.3 | |
| sycho-profile-cover | v1.3.1 | |
| sycho-advanced-extension-categories | v0.1.3 | |
| nearata-twofactor | v2.0.1 | |
| nearata-no-self-likes | v1.2.0 | |
| migratetoflarum-canonical | 1.0.0 | |
| mickmelon-coloured-usernames | 0.1.1 | |
| michaelbelgium-discussion-views | v7.1.2 | |
| malago-fancybox | 0.3.0 | |
| kilowhat-audit-free | 1.5.1 | |
| justoverclock-hot-discussions | 0.1.2 | |
| jslirola-login2seeplus | v0.2 | |
| ianm-synopsis | 1.2.0 | |
| ianm-level-ranks | 1.0.0 | |
| ianm-html-head | 1.1.0 | |
| fof-user-directory | 1.2.2 | |
| fof-user-bio | 1.0.2 | |
| fof-upload | 1.1.0 | |
| fof-terms | 1.1.2 | |
| fof-split | 1.0.1 | |
| fof-socialprofile | 1.1.1 | |
| fof-sitemap | 1.0.3 | |
| fof-secure-https | 1.0.1 | |
| fof-reactions | 1.0.4 | |
| fof-profile-image-crop | 1.0.1 | |
| fof-prevent-necrobumping | 1.0.1 | |
| fof-pretty-mail | 1.0.1 | |
| fof-polls | 1.0.5 | |
| fof-nightmode | 1.2.1 | |
| fof-masquerade | 2.1.0 | |
| fof-links | 1.0.3 | |
| fof-ignore-users | 1.0.2 | |
| fof-filter | 1.0.2 | |
| fof-drafts | 1.0.3 | |
| fof-disposable-emails | 1.0.0 | |
| fof-discussion-thumbnail | 1.0.1 | |
| fof-default-user-preferences | 1.0.0 | |
| fof-best-answer | 1.1.9 | |
| fof-ban-ips | 1.0.2 | |
| fof-analytics | 1.0.0 | |
| flarum-subscriptions | v1.2.0 | |
| flarum-statistics | v1.2.0 | |
| flarum-mentions | v1.2.0 | |
| flarum-lang-english | v1.2.0 | |
| flarum-lang-chinese-simplified | v1.1.1.1220 | |
| ffans-clipboardjs | v1.0.0 | |
| datlechin-signup-button | v0.1.0 | |
| clarkwinkelmann-group-list | 1.0.0 | |
| clarkwinkelmann-first-post-approval | 1.0.0 | |
| clarkwinkelmann-emojionearea | 1.0.0 | |
| clarkwinkelmann-create-user-modal | 1.3.0 | |
| clarkwinkelmann-bookmarks | 1.0.0 | |
| askvortsov-rich-text | v2.1.6 | |
| askvortsov-pwa | v3.1.2 | |
| askvortsov-moderator-warnings | v0.6.1 | |
| askvortsov-markdown-tables | v1.2.1 | |
| askvortsov-discussion-templates | v0.8.3 | |
| antoinefr-money | v1.2.0 | |
| afrux-news-widget | v0.1.1 | |
| afrux-forum-stats-widget | v0.1.1 | |
| acpl-mobile-tab | 1.1.0 | |
+-------------------------------------+-------------+--------+
Base URL: https://www.luocun.org
Queue driver: sync
Mail driver: smtp
Debug mode: off
I rather think that we're way too up to date with our extensions and composer packages, if you know what I mean. Perhaps one of them introduced a breaking change which made your extension not function properly
- Edited
jfcherng sure, but...
acpl/mobile-tab 1.1.0
afrux/asirem v0.1.7 The weird Flarum theme made with potatoes as fuel, by Afrux.
afrux/flarum-theme-base v0.1.7 Base package for shared code between Afrux themes
afrux/forum-stats-widget v0.1.1 Forum Statistics Widget
afrux/forum-widgets-bundle v0.1.0 All Afrux Forum Widgets.
afrux/forum-widgets-core v0.1.7 Core Extension for Managing Forum Widgets
afrux/news-widget v0.1.1 Simple news fader widget
afrux/online-users-widget v0.1.5 Forum Widget That Lists Online Users
afrux/top-posters-widget v0.1.4 Top Posters Widget
akr/chevereto 1.0.1 A flarum extension that helps you upload pictures to remote server powered by Chevereto.
antoinefr/flarum-ext-money v1.2.0 Give money to your users for different actions.
antoinefr/flarum-ext-online v1.0.1 Display online users on the left sidebar.
askvortsov/flarum-auto-moderator v0.1.2 Automatically assign groups based on activity.
askvortsov/flarum-categories v3.0.4 Traditional Category Layout for Flarum
askvortsov/flarum-checklist v1.3.1 Checklists for Flarum!
askvortsov/flarum-discussion-templates v0.8.3 Create per-tag templates for new discussions.
askvortsov/flarum-help-tags v1.1.0 Allow members to post in a tag, but only see discussions that they created or have bee...
askvortsov/flarum-markdown-tables v1.2.1 Markdown tables for flarum.
askvortsov/flarum-moderator-warnings v0.6.1 Moderator Warnings extension for flarum.
askvortsov/flarum-pwa v3.1.2 Turn your flarum site into a progressive web app!
askvortsov/flarum-rich-text v2.1.6 Rich Text Editor for Flarum
aws/aws-crt-php v1.0.2 AWS Common Runtime for PHP
aws/aws-sdk-php 3.217.0 AWS SDK for PHP - Use Amazon Web Services in your PHP project
axy/backtrace 1.0.7 Tracing in PHP
axy/codecs-base64vlq 1.0.1 Codec for VLQ (variable-length quantity) Base64 algorithm
axy/errors 1.0.5 Exceptions in PHP
axy/sourcemap 0.1.5 Work with JavaScript/CSS Source Map
beberlei/assert v3.3.2 Thin assertion library for input validation in business models.
brick/math 0.9.3 Arbitrary-precision arithmetic library
clarkwinkelmann/catch-the-fish 1.1.2 Watch your users catch as many fishes as they can
clarkwinkelmann/flarum-ext-author-change 1.0.2 Let mods update the author and date of discussions and posts
clarkwinkelmann/flarum-ext-bookmarks 1.0.0 Bookmark discussions to find them easily later
clarkwinkelmann/flarum-ext-circle-groups 1.0.1 Add a color circle around avatars based on user group
clarkwinkelmann/flarum-ext-create-user-modal 1.3.0 A modal that does the same as Sign Up, but without connecting
clarkwinkelmann/flarum-ext-email-whitelist 1.0.0 Whitelist or blacklist specific email addresses by domain or regex
clarkwinkelmann/flarum-ext-emojionearea 1.0.0 Add EmojioneArea emoji picker to Flarum
clarkwinkelmann/flarum-ext-first-post-approval 1.0.0 Hold posts and discussions from new users for approval
clarkwinkelmann/flarum-ext-group-invitation 1.0.0 Invite users into groups via links
clarkwinkelmann/flarum-ext-group-list 1.0.0 List select groups and their members
clarkwinkelmann/flarum-ext-passwordless 1.4.0 Passwordless login for Flarum
clarkwinkelmann/flarum-ext-shadow-ban 1.1.0 Shadow ban Flarum users
components/font-awesome 5.15.4 Font Awesome, the iconic SVG, font, and CSS framework.
datlechin/flarum-birthdays v1.2.3 Adds birthdays to user.
datlechin/flarum-keyboard-shortcuts v0.1.1 Add keyboard shortcuts to your forum.
datlechin/flarum-landing-page 0.1.0 Allows to create a customizable landing page that non-logged in users will see.
datlechin/flarum-link-preview v0.2.1 Automatically display a rich preview of the link contents.
datlechin/flarum-posted-on v0.1.5 Display the operating system of the who posted the post.
datlechin/flarum-scroll-buttons v1.0.0 Add scroll up and scroll down buttons.
datlechin/flarum-signup-button v0.1.0 Adds a Signup button to the homepage, and replace the Start a discussion icon with the...
datlechin/flarum-silent-edit v0.1.0 Allows user groups to edit posts silently
datlechin/phpscraper v0.5.3 An oppinionated way to access the web. See tests/ for examples.
davwheat/custom-sidenav-links 1.0.1 Add custom links to the side navigation in Flarum.
dem13n/discussion-cards 0.3.8 Output of discussions in form of cards
dflydev/dot-access-data v3.0.1 Given a deep data structure, access data by dot notation.
dflydev/fig-cookies v3.0.0 Cookies for PSR-7 HTTP Message Interface.
doctrine/cache 2.1.1 PHP Doctrine Cache library is a popular cache implementation that supports many differ...
doctrine/dbal 2.13.8 Powerful PHP database abstraction layer (DBAL) with many features for database schema ...
doctrine/deprecations v0.5.3 A small layer on top of trigger_error(E_USER_DEPRECATED) or PSR-3 logging with options...
doctrine/event-manager 1.1.1 The Doctrine Event Manager is a simple PHP event system that was built to be used with...
doctrine/inflector 2.0.4 PHP Doctrine Inflector is a small library that can perform string manipulations with r...
doctrine/lexer 1.2.3 PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Pars...
donatello-za/rake-php-plus v1.0.18 Yet another PHP implementation of the Rapid Automatic Keyword Extraction algorithm (RA...
dragonmantank/cron-expression v3.3.1 CRON for PHP: Calculate the next or previous run date and determine if a CRON expressi...
egulias/email-validator 2.1.25 A library for validating emails against several RFCs
fabpot/goutte v4.0.2 A simple PHP Web Scraper
ffans/clipboardjs v1.0.0 Add a modern approach to copy code to clipboard with code language display.
fgribreau/mailchecker v4.1.14 Temporary (disposable/throwaway) email detection library. Covers 1987 fake email provi...
fgrosse/phpasn1 v2.4.0 A PHP Framework that allows you to encode and decode arbitrary ASN.1 structures using ...
fig/http-message-util 1.1.5 Utility classes and constants for use with PSR-7 (psr/http-message)
filp/whoops 2.14.5 php error handling for cool kids
flarum-lang/brazilian 1.0.7 Pacote de idioma Português do Brasil.
flarum-lang/chinese-simplified v1.1.1.1220 Chinese language pack for Flarum 2021.
flarum-lang/dutch v1.0 Dutch language pack for Flarum.
flarum-lang/french v3.6.0 French language pack to localize the Flarum forum software plus its official and third...
flarum-lang/german 1.2.2 German language pack for Flarum.
flarum-lang/hindi 0.1.6 Hindi language pack for Flarum.
flarum-lang/hungarian v2.0.16 Hungarian language pack for Flarum.
flarum-lang/italian 1.2.2 Pacchetto in lingua Italiana per Flarum e relative estensioni.
flarum-lang/persian 0.1.1 Persian language pack for Flarum.
flarum-lang/romanian v1.1.0 Romanian language pack for Flarum.
flarum-lang/russian 1.2.0-p1 Russian language pack for Flarum.
flarum-lang/sinhala 0.5.2 Sinhala language pack for Flarum.
flarum-lang/slovak v1.0.4 Slovak language for Flarum.
flarum-lang/spanish 1.1.7 Spanish Language Pack.
flarum-lang/swedish 1.0.1 Swedish language extension for flarum.
flarum-lang/tamil v0.2.1 Tamil language pack for Flarum.
flarum-lang/turkish 1.2.0.2 Turkish language pack.
flarum-lang/vietnamese v1.2.1 Vietnamese language pack for Flarum
flarum/approval v1.2.0 Make discussions and posts require moderator approval.
flarum/bbcode v1.2.0 Allow posts to be formatted with BBCode.
flarum/core v1.2.1 Delightfully simple forum software.
flarum/embed v1.2.0 Embed Flarum discussions as comments for your blog.
flarum/emoji v1.2.0 Convert text and unicode emoji into Twemoji.
flarum/flags v1.2.0 Allow users to flag posts for moderator review.
flarum/lang-english v1.2.0 English language pack.
flarum/likes v1.2.0 Allow users to like posts.
flarum/lock v1.2.0 End a discussion and don't let anyone add further replies.
flarum/markdown v1.2.0 Allow posts to be formatted with Markdown.
flarum/mentions v1.2.0 Mention and reply to specific posts and users.
flarum/nicknames v1.2.0 Allow users to set nicknames.
flarum/pusher v1.2.0 See new discussions and posts in real-time using Pusher.
flarum/statistics v1.2.0 Add a basic statistics widget on the Dashboard.
flarum/sticky v1.2.0 Pin discussions to the top of the list.
flarum/subscriptions v1.2.0 Allow users to follow discussions and receive notifications for new posts.
flarum/suspend v1.2.0 Suspend users so they can't post.
flarum/tags v1.2.0 Organize discussions into a hierarchy of tags and categories.
fof/analytics 1.0.0 Tracks analytics using Google Analytics, Google Optimize/GTM and Matomo
fof/ban-ips 1.0.2 Ban IP addresses from your forum
fof/bbcode-details 1.0.0 Details BBCode for Flarum
fof/best-answer 1.1.9 Mark a post as the best answer in a discussion
fof/byobu 1.1.3 Well integrated, advanced private discussions.
fof/components 1.0.0 [NOT EXT] Reusable JavaScript components for your Flarum extension
fof/cookie-consent 1.1.0 Customizable cookie consent notice
fof/default-group 1.0.1 Assign a default group to new users automatically
fof/default-user-preferences 1.0.0 Enable emails for replies and mentions by default in user preferences
fof/discussion-language 1.2.2 Specify the language a discussion is written in & sort by language
fof/discussion-thumbnail 1.0.1 Replace author avatars with the first image in a discussion's starting post
fof/disposable-emails 1.0.0 Prevent users from signing up with disposable emails
fof/doorman 1.0.1 Create invite codes for users to sign up and be assigned to a group
fof/drafts 1.0.3 Allow users to create post and discussion drafts
fof/extend 1.0.0 Configurable PHP components for your Flarum extension
fof/filter 1.0.2 Filter out words and phrases from forum posts
fof/formatting 1.0.2 Customize TextFormatter with plugins through the admin interface
fof/forum-statistics-widget 1.0.2 Add a forum statistics widget to the sidenav section of your Flarum forum.
fof/gamification 1.3.3 Upvotes and downvotes for your Flarum community
fof/html-errors 1.0.0 Add custom HTML error pages
fof/ignore-users 1.0.2 Allow users to ignore other users.
fof/impersonate 1.0.1 Login as other users of your forum
fof/linguist 1.0.3 Customize translations
fof/links 1.0.3 Manage Flarum primary navbar menu links
fof/mason 1.0.1 Add custom fields to discussions
fof/masquerade 2.1.0 User profile builder extension for your Flarum forum.
fof/merge-discussions 1.2.1 Merge two or more discussions into one
fof/moderator-notes 1.0.1 Create private notes for your forum users
fof/nightmode 1.2.1 Add a Night Mode option for your users to use on your Flarum forum
fof/oauth 1.2.0 Allow users to log in with GitHub, Twitter, Facebook, Google, and more!
fof/pages 1.0.3 Create custom pages with Flarum
fof/passport 1.0.0 The OAuth2 (and Laravel passport) compatible oauth extension
fof/polls 1.0.5 A Flarum extension that adds polls to your discussions
fof/pretty-mail 1.0.1 Create HTML email for Flarum
fof/prevent-necrobumping 1.0.1 Warn before necrobumping old discussions
fof/profile-image-crop 1.0.1 Allow cropping when uploading profile picture
fof/reactions 1.0.4 Reactions for Flarum
fof/recaptcha 1.0.0 Increase your forum's security with Google reCAPTCHA
fof/secure-https 1.0.1 Changes all images using http to https
fof/share-social 1.0.1 Add a button to share discussions through social networks
fof/sitemap 1.0.3 Generate a sitemap
fof/socialprofile 1.1.1 Add custom social media pages to your user profile
fof/spamblock 1.0.2 Mark user as spammer, suspending them & hiding their posts and discussions
fof/split 1.0.1 Separate posts from one discussion into its own, splits discussions.
fof/stopforumspam 1.2.0 Check user registrations against the StopForumSpam database
fof/terms 1.1.2 Ask users to accept terms of use before using the forum
fof/upload 1.1.0 The file upload extension for the Flarum forum with insane intelligence.
fof/user-bio 1.0.2 Add a user bio to user profiles
fof/user-directory 1.2.2 The permission based public user directory extension for your Flarum forum.
fof/username-request 1.0.1 Allow users to request new usernames
fof/webhooks 1.0.6 Flarum with webhooks
franzl/whoops-middleware 2.0.0 PSR-15 compatible middleware for Whoops, the pretty error handler
glowingblue/password-strength 3.1.0 Low-budget password strength estimation for your Flarum forum.
google/recaptcha 1.2.4 Client library for reCAPTCHA, a free service that protects websites from spam and abuse.
guzzlehttp/guzzle 7.4.2 Guzzle is a PHP HTTP client library
guzzlehttp/promises 1.5.1 Guzzle promises library
guzzlehttp/psr7 2.2.1 PSR-7 message implementation that also provides common utility methods
html2text/html2text 4.3.1 Converts HTML to formatted plain text
ianm/html-head 1.1.0 Add custom items to the HTML <head> attributes
ianm/iso-639 1.0 PHP library to convert ISO-639-1 code to language name.
ianm/level-ranks 1.0.0 Add a level/experience bar to your flarum Forum.
ianm/syndication 1.1.0 Brings RSS and Atom feeds to Flarum
ianm/synopsis 1.2.0 Show summary excerpts on discussion lists.
illuminate/bus v8.83.6 The Illuminate Bus package.
illuminate/cache v8.83.6 The Illuminate Cache package.
illuminate/collections v8.83.6 The Illuminate Collections package.
illuminate/config v8.83.6 The Illuminate Config package.
illuminate/console v8.83.6 The Illuminate Console package.
illuminate/container v8.83.6 The Illuminate Container package.
illuminate/contracts v8.83.6 The Illuminate Contracts package.
illuminate/database v8.83.6 The Illuminate Database package.
illuminate/events v8.83.6 The Illuminate Events package.
illuminate/filesystem v8.83.6 The Illuminate Filesystem package.
illuminate/hashing v8.83.6 The Illuminate Hashing package.
illuminate/http v8.83.6 The Illuminate Http package.
illuminate/macroable v8.83.6 The Illuminate Macroable package.
illuminate/mail v8.83.6 The Illuminate Mail package.
illuminate/pipeline v8.83.6 The Illuminate Pipeline package.
illuminate/queue v8.83.6 The Illuminate Queue package.
illuminate/session v8.83.6 The Illuminate Session package.
illuminate/support v8.83.6 The Illuminate Support package.
illuminate/translation v8.83.6 The Illuminate Translation package.
illuminate/validation v8.83.6 The Illuminate Validation package.
illuminate/view v8.83.6 The Illuminate View package.
intervention/image 2.7.1 Image handling and manipulation library with support for Laravel integration
irmmr/flarum-ext-rtl V0.1.2 A collection of Right-to-Left (rtl) direction support for "Flarum" core and extensions.
isaced/flarum-ext-email-verification-switch 1.0.0 Disable new registered user email verification.
jeremykendall/php-domain-parser 6.1.1 Public Suffix List and IANA Root Zone Database based Domain parsing implemented in PHP.
jfcherng/php-color-output 3.0.0 Make your PHP command-line application colorful.
jfcherng/php-diff 6.11.4 A comprehensive library for generating differences between two strings in multiple for...
jfcherng/php-mb-string 1.4.5 A high performance multibytes sting implementation for frequently reading/writing oper...
jfcherng/php-sequence-matcher 3.2.8 A longest sequence matcher. The logic is primarily based on the Python difflib package.
jslirola/flarum-ext-login2seeplus v0.2 Make posts hidden for visitors.
justoverclock/christmas-snow-effect 0.1.3 It's christmas time also for Flarum!
justoverclock/custom-header 0.1.5 Add a Custom Header to Flarum
justoverclock/custom-html-widget 0.1.4 Add your custom html to Flarum
justoverclock/edit-posts 0.1.1 Edit Posts button always visible
justoverclock/events-countdown 0.1.8 Add an Events Countdown widget to Flarum
justoverclock/flarum-ext-contactme 0.2.3 Add Contact Us Page in sidenav
justoverclock/flarum-ext-dontgoaway 0.2.5 Show an Exit Intent Popup if a guest try to leave your site
justoverclock/flarum-ext-feedback 0.1.9 Add a feedback module to Flarum
justoverclock/flarum-ext-hashtag 1.0.1 Replace hashtags with a link that search into Flarum
justoverclock/flarum-ext-infocards 0.1.5 Display 3 infocards with forum stats
justoverclock/flarum-ext-newsfeed 1.0.1 Add a Box that retrieve latest article from a RSS feed
justoverclock/flarum-ext-purify 0.1.7 Bad words filter for post
justoverclock/flarum-ext-socialcards 1.0.0 Add social cards on indexpage
justoverclock/flarum-ext-welcomebox 1.3.6 Add Welcome Box in sidenav with user avatar
justoverclock/geo-weather 0.1.7 Add a weather widget to Flarum
justoverclock/header-slideshow 0.1.1 Add a slideshow to header
justoverclock/hot-discussions 0.1.2 Hot Discussions widget for Flarum
justoverclock/last-post-useravatar 0.1.8 Add Last Posted User Avatar to DiscussionList
justoverclock/last-tweet 0.1.1 Fetch last X tweet from Twitter
justoverclock/username-blacklist 0.1.0 Add a blacklist for certain username during registration
justoverclock/users-map-location 0.1.2 Add Location Attribute and a map to users settings
justoverclock/youtube-video-feed 0.1.2 Fetch last youtube videos from youtube
katosdev/signature 1.2 Adds signature support to your Flarum forum.
kilowhat/flarum-ext-audit-free 1.5.1 Audit log for Flarum
kyrne/whisper 0.1.4 Private Messaging for Flarum.
laminas/laminas-diactoros 2.9.0 PSR HTTP Message implementations
laminas/laminas-escaper 2.10.0 Securely and safely escape HTML, HTML attributes, JavaScript, CSS, and URLs
laminas/laminas-httphandlerrunner 1.5.0 Execute PSR-15 RequestHandlerInterface instances and emit responses they generate.
laminas/laminas-stratigility 3.5.0 PSR-7 middleware foundation for building and dispatching middleware pipelines
laminas/laminas-zendframework-bridge 1.5.0 Alias legacy ZF class names to Laminas Project equivalents.
laravel/helpers v1.5.0 Provides backwards compatibility for helpers in the latest Laravel release.
laravel/serializable-closure v1.1.1 Laravel Serializable Closure provides an easy and secure way to serialize closures in ...
lcobucci/clock 2.1.0 Yet another clock abstraction
lcobucci/jwt 4.1.5 A simple library to work with JSON Web Token and JSON Web Signature
league/commonmark 2.2.3 Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and Git...
league/config v1.1.1 Define configuration arrays with strict schemas and access values with dot notation
league/csv 9.8.0 CSV data manipulation made easy in PHP
league/flysystem 1.1.9 Filesystem abstraction: Many filesystems, one API.
league/flysystem-aws-s3-v3 1.0.29 Flysystem adapter for the AWS S3 SDK v3.x
league/mime-type-detection 1.9.0 Mime-type detection for Flysystem
league/oauth1-client v1.10.0 OAuth 1.0 Client Library
league/oauth2-client 2.6.1 OAuth 2.0 Client Library
league/oauth2-facebook 2.2.0 Facebook OAuth 2.0 Client Provider for The PHP League OAuth2-Client
league/oauth2-github 3.0.0 Github OAuth 2.0 Client Provider for The PHP League OAuth2-Client
league/oauth2-google 4.0.0 Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client
league/oauth2-linkedin 5.1.2 LinkedIn OAuth 2.0 Client Provider for The PHP League OAuth2-Client
luceos/flarum-ext-staff-badge 0.1.0 Display a user staff badge on profiles!
madnest/flarum-lang-czech v1.0.0 Czech language pack for Flarum.
malago/flarum-achievements 0.5.4 Adds customized achievements to your forum.
malago/flarum-ext-fancybox 0.3.0 Image formatting and lightbox modal using fancyBox (original from the-turk and squeevee).
matteocontrini/flarum-imgur-upload v3.9.1 Simple image upload from the Flarum editor
matthiasmullie/minify 1.3.66 CSS & JavaScript minifier, in PHP. Removes whitespace, strips comments, combines files...
matthiasmullie/path-converter 1.1.3 Relative path converter
michaelbelgium/flarum-discussion-views v7.1.2 Add views to flarum discussions
mickmelon/flarum-ext-coloured-usernames 0.1.1 Set the username colour to the same as the rank colour (only on posts)
middlewares/base-path v2.1.0 Middleware to remove the prefix from the uri path of the request.
middlewares/base-path-router v2.0.1 A PSR-15 middleware for hierarchical dispatching based on path prefixes
middlewares/request-handler v2.0.1 Middleware to execute request handlers
middlewares/utils v3.3.0 Common utils for PSR-15 middleware packages
migratetoflarum/canonical 1.0.0 Create redirects to the canonical url of your forum
miniflar/bbcode-progress-bars 1.0.1 Embed progress bars inside Flarum posts using BBCode.
minishlink/web-push v6.0.7 Web Push library for PHP
mitloshuk/hcaptcha 1.2.2 Library for hCaptcha, a service that protects websites from spam, protects user privac...
monolog/monolog 1.27.0 Sends your logs to files, sockets, inboxes, databases and various web services
mtdowling/jmespath.php 2.6.1 Declaratively specify how to extract elements from a JSON document
nearata/flarum-ext-embed-video v3.0.0 Allow users to embed video using DPlayer and BBCode
nearata/flarum-ext-minecraft-avatars v2.0.0 Allow users to use the head of a Minecraft skin as avatar.
nearata/flarum-ext-no-self-likes v1.2.0 An extension that disallow users to like their own posts.
nearata/flarum-ext-signup-confirm-password v3.0.0 Adds a confirm password field in the Sign Up modal.
nearata/flarum-ext-twofactor v2.0.1 Allow your users to enable two factor authentication.
nearata/lang-italian v1.1.0 Italian language pack.
neerugupta/flarum-lang-arabic v0.1.0 Arabic language pack for Flarum.
nesbot/carbon 2.57.0 An API extension for DateTime that supports 281 different languages.
nette/schema v1.2.2
Nette Schema: validating data structures against a given Schema.
nette/utils v3.2.7
Nette Utils: lightweight utilities for string & array manipulation, image handli...
nikic/fast-route v0.6.0 Fast request router for PHP
nomiscz/flarum-ext-auth-steam v1.0.1 Allow users to log in with Steam
omines/oauth2-gitlab 3.4.0 GitLab OAuth 2.0 Client Provider for The PHP League OAuth2-Client
opis/closure 3.6.3 A library that can be used to serialize closures (anonymous functions) and arbitrary o...
paragonie/constant_time_encoding v2.5.0 Constant-time Implementations of RFC 4648 Encoding (Base-64, Base-32, Base-16)
paragonie/random_compat v9.99.100 PHP 5.x polyfill for random_bytes() and random_int() from PHP 7
pattinsonfuture/lang-traditional-chinese 1.0.2 Flarum 正體中文語言包
psr/container 1.1.2 Common Container Interface (PHP FIG PSR-11)
psr/event-dispatcher 1.0.0 Standard interfaces for event handling.
psr/http-client 1.0.1 Common interface for HTTP clients
psr/http-factory 1.0.1 Common interfaces for PSR-7 HTTP message factories
psr/http-message 1.0.1 Common interface for HTTP messages
psr/http-server-handler 1.0.1 Common interface for HTTP server-side request handler
psr/http-server-middleware 1.0.1 Common interface for HTTP server-side middleware
psr/log 1.1.4 Common interface for logging libraries
psr/simple-cache 1.0.1 Common interfaces for simple caching
pusher/pusher-php-server 2.6.4 Library for interacting with the Pusher REST API
ralkage/flarum-hcaptcha 1.0.0 Increase your Flarum forum's security with hCaptcha.
ralouphie/getallheaders 3.0.3 A polyfill for getallheaders.
ramesh-dada/bbcode-alerts 6.21 Add visual alerts / warnings to Flarum posts
ramsey/collection 1.2.2 A PHP library for representing and manipulating collections.
ramsey/uuid 4.3.1 A PHP library for generating and working with universally unique identifiers (UUIDs).
realodix/flarum-ext-indonesian 2.1.0 Indonesian language pack.
rinvex/countries v7.3.2 Rinvex Countries is a simple and lightweight package for retrieving country details wi...
rob006/flarum-lang-polish v0.5.20 Polish language pack for Flarum.
s9e/regexp-builder 1.4.6 Single-purpose library that generates regular expressions that match a list of strings.
s9e/sweetdom 2.0.0 Syntactic sugar for the DOM API with a focus on XSLT 1.0 template manipulation.
s9e/text-formatter 2.11.0 Multi-purpose text formatting and markup library. Plugins offer support for BBCodes, M...
serakoi/flarumdiscordtheme 0.1.0 Discord Theme for Flarum
softcreatr/php-mime-detector 3.2.1 Mime Detector Decoder
spomky-labs/base64url v2.0.4 Base 64 URL Safe Encoding/Decoding PHP Library
spomky-labs/otphp v10.0.3 A PHP library for generating one time passwords according to RFC 4226 (HOTP Algorithm)...
ssnepenthe/color-utils 0.4.2 A PHP library for performing SASS-like color manipulations.
swiftmailer/swiftmailer v6.3.0 Swiftmailer, free feature-rich PHP mailer
sycho/flarum-advanced-extension-categories v0.1.3 Advanced extension categorisation options for admins.
sycho/flarum-move-posts v0.1.5 Move posts from one discussion to another
sycho/flarum-profile-cover v1.3.1 Adds the ability to add a cover image to a profile.
sycho/flarum-uikit v0.2.0 Frontend utilities for extension developers.
symfony/browser-kit v6.0.3 Simulates the behavior of a web browser, allowing you to make requests, click on links...
symfony/config v5.4.3 Helps you find, load, combine, autofill and validate configuration values of any kind
symfony/console v5.4.5 Eases the creation of beautiful and testable command line interfaces
symfony/css-selector v6.0.3 Converts CSS selectors to XPath expressions
symfony/deprecation-contracts v3.0.0 A generic function and convention to trigger deprecation notices
symfony/dom-crawler v6.0.6 Eases DOM navigation for HTML and XML documents
symfony/error-handler v6.0.3 Provides tools to manage errors and ease debugging PHP code
symfony/event-dispatcher v5.4.3 Provides tools that allow your application components to communicate with each other b...
symfony/event-dispatcher-contracts v3.0.0 Generic abstractions related to dispatching event
symfony/filesystem v6.0.6 Provides basic utilities for the filesystem
symfony/finder v5.4.3 Finds files and directories via an intuitive fluent interface
symfony/http-client v6.0.5 Provides powerful methods to fetch HTTP resources synchronously or asynchronously
symfony/http-client-contracts v3.0.0 Generic abstractions related to HTTP clients
symfony/http-foundation v5.4.6 Defines an object-oriented layer for the HTTP specification
symfony/http-kernel v5.4.6 Provides a structured process for converting a Request into a Response
symfony/mime v5.4.3 Allows manipulating MIME messages
symfony/polyfill-ctype v1.25.0 Symfony polyfill for ctype functions
symfony/polyfill-iconv v1.25.0 Symfony polyfill for the Iconv extension
symfony/polyfill-intl-grapheme v1.25.0 Symfony polyfill for intl's grapheme_* functions
symfony/polyfill-intl-idn v1.25.0 Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions
symfony/polyfill-intl-messageformatter v1.25.0 Symfony polyfill for intl's MessageFormatter class and related functions
symfony/polyfill-intl-normalizer v1.25.0 Symfony polyfill for intl's Normalizer class and related functions
symfony/polyfill-mbstring v1.25.0 Symfony polyfill for the Mbstring extension
symfony/polyfill-php72 v1.25.0 Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions
symfony/polyfill-php73 v1.25.0 Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions
symfony/polyfill-php80 v1.25.0 Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions
symfony/polyfill-php81 v1.25.0 Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions
symfony/process v5.4.5 Executes commands in sub-processes
symfony/service-contracts v2.4.1 Generic abstractions related to writing services
symfony/string v6.0.3 Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and...
symfony/translation v5.4.6 Provides tools to internationalize your application
symfony/translation-contracts v2.5.0 Generic abstractions related to translation
symfony/var-dumper v6.0.6 Provides mechanisms for walking through any arbitrary PHP variable
symfony/yaml v5.4.3 Loads and dumps YAML files
takumi9942/flarum-ext-japanese v3.3.0 Japanese language pack.
the-turk/flarum-diff 1.1.1 View post edit histories.
the-turk/flarum-mathren 1.0.3 TeX math rendering for your forum.
the-turk/flarum-quiet-edits 0.1.3 Do not mark posts as Edited based on some conditions.
the-turk/flarum-stickiest 2.0.3 Stick, super stick or tag stick discussions to the top of the list.
thecodingmachine/safe v2.1.3 PHP core functions that throw exceptions instead of returning FALSE on error
therealsujitk/flarum-ext-gifs v4.1.1 Integrate your forum with GIF search engines.
tijsverkoyen/css-to-inline-styles 2.2.4 CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pa...
tobscure/json-api v0.3.0 JSON-API responses in PHP
v17development/flarum-blog v0.5.0 Adds a blog section to your forum
v17development/flarum-seo v1.8.0 Adds SEO tags for your Flarum forum
v17development/flarum-user-badges v1.0.0 Adds user badges to your Flarum community
voku/portable-ascii 1.6.1 Portable ASCII library - performance optimized (ascii) string functions for php.
web-token/jwt-core v2.2.11 Core component of the JWT Framework.
web-token/jwt-key-mgmt v2.2.11 Key Management component of the JWT Framework.
web-token/jwt-signature v2.2.11 Signature component of the JWT Framework.
web-token/jwt-signature-algorithm-ecdsa v2.2.11 ECDSA Based Signature Algorithms the JWT Framework.
web-token/jwt-util-ecc v2.2.11 ECC Tools for the JWT Framework.
webbinaro/flarum-calendar 1.0.3 Adds a calendar of events created by users
webbinaro/gpx-preview 1.0.0 Adds a live map showing uploaded GPX routes
webmozart/assert 1.10.0 Assertions to validate method input/output with nice error messages.
wikimedia/less.php v3.1.0 PHP port of the Javascript version of LESS http://lesscss.org (Originally maintained b...
wohali/oauth2-discord-new 1.1.0 Discord OAuth 2.0 Client Provider for The PHP League OAuth2-Client
xelson/flarum-ext-chat v1.1.5 Realtime Chat for Flarum!
yannisme/confixtheme 2.3.4 Confix Theme For Flarum
yannisme/oxotheme 2.1.2 OXO Theme For Flarum
zequeen/acgembed-remastered v1.1.2 Add acfun.cn and bilibili.com in mediaembed;remastered from LCinHK
zerosonesfun/direct-links 3.1 Adds some direct links and composer auto-fill capabilities.
zerosonesfun/flarum-bbcode-button 1.1.2 Adds a BBCode button to the composer toolbar.
zerosonesfun/flarum-inline-audio 3.0 Automatic audio link to minimal inline player.
zerosonesfun/flarum-member 1.2 Give members more class. Adds a logged-in class to the forum's body tag. Also, include...
- Edited
SKevo LGTM.
What if you go to /app/vendor/jfcherng/php-mb-string/src/MbString.php
line 337 and do
// just use any string to get the endian header, here we use "A"
$tmp = \iconv('ISO-8859-1', 'UTF-32', 'A');
// some distributions like "php alpine" docker image won't generate the header
- return \strlen($tmp) > 4 ? \substr($tmp, 0, 4) : '';
+ return $tmp && \strlen($tmp) > 4 ? \substr($tmp, 0, 4) : '';
Dumb qustions:
- Do you have
php-iconv
extension installed? - Are you using a dockerfile or docker image which I can use for reproduction?
- Edited
jfcherng thanks, edited. However, it doesn't seem to make a difference, not at my test forum at least. @lichengkun135 are you able to spot a difference please?
Do you have php-iconv extension installed?
No, I don't recall installing or seeing that one before
Are you using a dockerfile or docker image which I can use for reproduction?
No, there's (at this point) outdated GH repo that mirrors our skeleton forum: https://github.com/gwillem/flarum-multitenant. I will push latest image. Edit: pushed
- Edited
jfcherng worked at my test forum, even without the patch: https://flarumapitest.flarum.cloud/api/diff?id=18 (edit: you probably can't see it as a guest). Perhaps there's an error somewhere else?
- Edited
SKevo No, there's (at this point) outdated GH repo that mirrors our skeleton forum: https://github.com/gwillem/flarum-multitenant. I will push latest image. Edit: pushed
Unfortunately, I have no experience in using/setting up Flarum. So I hope the problem can be focused down to jfcherng/*
packages.
SKevo , so it auto fixed somehow?
jfcherng I don't think that it did. I first tested the extension without the patch on my test forum, it worked. Then I added your patch (to see if it wouldn't break anything) and it still worked. I left the patch there for @lichengkun135 to try - perhaps it will fix their issue. If not, we'll at least know that it's not some sort of bug that your patch would fix otherwise
- Edited
6.10.x
should still work on PHP >= 7.1.
6.11.x
is just a refactored version to utilize PHP 7.4 new features. (since PHP 7.3 has been end of life by the end of 2021)