This user has no favorite topics.
Favorite Forum Topics
Forum Topics Created
Status |
Topic
|
Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
PHP Deprecated: preg_match(): Passing null to parameter #2 ($subject) /sitepress-multilingual-cms/lib/mobile-detect.php on line 562
Started by: ictA-2
in: English Support
Problem: preg_match() function being passed a null value in the mobile-detect.php file. wp-content/plugins/sitepress-multilingual-cms/lib/mobile-detect.php . Around line 271, replace the existing code: public function setUserAgent($userAgent = null){ with: public function setUserAgent($userAgent = 'NOT NULL'){ If this solution does not resolve your issue or seems irrelevant due to updates or differences in your setup, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket. |
|
2 | 7 | 1 year ago |