The issue
Hi,
There is one error in my Error_log file that repeating every time someone visit my website and my error log file's size is always above 100MB ! The error line is:
PHP Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /home/XXXXXXX/public_html/vendor/flarum/core/src/Locale/Translator.php on line 65
Flarum information
Flarum core: 1.7.2
PHP version: 8.1.17
MySQL version: 10.4.27-MariaDB
Loaded extensions: Core, bcmath, calendar, ctype, date, filter, hash, iconv, json, SPL, pcre, readline, Reflection, session, standard, mysqlnd, tokenizer, zip, zlib, libxml, dom, PDO, bz2, SimpleXML, xml, xmlreader, xmlwriter, openssl, curl, fileinfo, gettext, mbstring, exif, mysqli, pdo_mysql, pdo_sqlite, Phar, ftp
+----------------------------------------+---------+--------+
| Flarum Extensions | | |
+----------------------------------------+---------+--------+
| ID | Version | Commit |
+----------------------------------------+---------+--------+
| flarum-flags | v1.7.0 | |
| flarum-approval | v1.7.0 | |
| flarum-markdown | v1.7.0 | |
| flarum-suspend | v1.7.0 | |
| flarum-subscriptions | v1.7.0 | |
| flarum-tags | v1.7.1 | |
| askvortsov-rich-text | v2.1.7 | |
| flarum-lock | v1.7.0 | |
| flarum-likes | v1.7.0 | |
| afrux-forum-widgets-core | v0.1.7 | |
| fof-user-directory | 1.2.3 | |
| fof-follow-tags | 1.1.7 | |
| flarum-nicknames | v1.7.0 | |
| fof-pages | 1.0.5 | |
| fof-oauth | 1.3.0 | |
| fof-byobu | 1.2.0 | |
| v17development-blog | v0.6.5 | |
| zerosonesfun-member | 1.2 | |
| v17development-seo | v1.8.0 | |
| the-turk-flamoji | 1.0.4 | |
| sycho-profile-cover | v1.3.3 | |
| noriods-auto-more | v1.0.0 | |
| nearata-twofactor | v2.1.1 | |
| nearata-internal-links-noreload | v2.1.3 | |
| nearata-embed-video | v3.2.1 | |
| miniflar-top-like-givers-widget | 0.1.0 | |
| mickmelon-coloured-usernames | 0.1.1 | |
| malago-achievements | 0.5.6 | |
| justoverclock-welcomebox | 1.3.8 | |
| justoverclock-thread-read-time | 0.1.7 | |
| justoverclock-last-registered-users | 0.1.5 | |
| justoverclock-header-slideshow | 0.1.1 | |
| justoverclock-hashtag | 1.0.1 | |
| justoverclock-guestengagement | 1.0.3 | |
| justoverclock-feedback | 0.1.9 | |
| justoverclock-custom-html-widget | 0.1.4 | |
| justoverclock-contactme | 0.2.3 | |
| justoverclock-be-active-user-indicator | 0.1.0 | |
| justoverclock-auto-post-count-badge | 0.2.0 | |
| irmmr-rtl | V0.1.4 | |
| ianm-synopsis | 1.3.0 | |
| ianm-follow-users | 1.3.0 | |
| glowingblue-password-strength | 3.1.0 | |
| fof-username-request | 1.1.2 | |
| fof-user-bio | 1.1.1 | |
| fof-upload | 1.2.3 | |
| fof-terms | 1.2.1 | |
| fof-subscribed | 1.1.3 | |
| fof-split | 1.1.0 | |
| fof-spamblock | 1.1.0 | |
| fof-sitemap | 2.1.0 | |
| fof-share-social | 1.1.2 | |
| fof-recaptcha | 1.1.1 | |
| fof-profile-image-crop | 1.1.1 | |
| fof-prevent-necrobumping | 1.1.1 | |
| fof-pretty-mail | 1.1.1 | |
| fof-polls | 1.3.0 | |
| fof-nightmode | 1.5.1 | |
| fof-moderator-notes | 1.2.0 | |
| fof-merge-discussions | 1.3.1 | |
| fof-links | 1.1.4 | |
| fof-gamification | 1.6.2 | |
| fof-formatting | 1.0.3 | |
| fof-drafts | 1.2.2 | |
| fof-disposable-emails | 1.0.0 | |
| fof-best-answer | 1.2.5 | |
| flarum-sticky | v1.7.0 | |
| flarum-statistics | v1.7.0 | |
| flarum-mentions | v1.7.0 | |
| flarum-lang-persian | 0.1.1 | |
| flarum-lang-english | v1.7.0 | |
| flarum-emoji | v1.7.0 | |
| flarum-bbcode | v1.7.0 | |
| ffans-clipboardjs | v1.0.0 | |
| extiverse-mercury | 0.2.0 | |
| datlechin-title-length | v0.1.1 | |
| datlechin-silent-edit | v0.1.0 | |
| datlechin-more-discussions | v0.2.0 | |
| datlechin-bbcode-hide-content | v0.1.5 | |
| darkle-fancybox | 1.1.2 | |
| club-1-cross-references | v1.0.5 | |
| clarkwinkelmann-predefined-avatars | 1.0.1 | |
| clarkwinkelmann-post-bookmarks | 1.0.0 | |
| clarkwinkelmann-mass-actions | 1.1.2 | |
| clarkwinkelmann-first-post-approval | 1.0.1 | |
| clarkwinkelmann-discussion-bookmarks | 2.0.0 | |
| clarkwinkelmann-colorful-borders | 1.0.0 | |
| clarkwinkelmann-author-change | 1.0.3 | |
| blomstra-sort-order-toggle | 0.2.0 | |
| blomstra-mark-unread | 0.2.0 | |
| askvortsov-moderator-warnings | v0.6.1 | |
| askvortsov-markdown-tables | v1.2.1 | |
| afrux-top-posters-widget | v0.1.4 | |
| afrux-online-users-widget | v0.1.6 | |
| afrux-forum-stats-widget | v0.1.1 | |
| acpl-mobile-tab | 1.1.1 | |
| acpl-lscache | 0.4.1 | |
+----------------------------------------+---------+--------+
Queue driver: sync
Session driver: file
Scheduler status: Never run
Mail driver: smtp
Debug mode: off