Panneau N0C 04 EN 250 250
Get 15% discount on our partner PlanetHoster with the code PHA-ceikay

PHP Deprecated: preg_match():

More
10 months 23 hours ago - 10 months 23 hours ago #75925 by trogladyte
Hey Ced

Here's something I posted on the JCE Editor forum, but it's also applying to PB and MM.

There are a few errors (from 4 different extensions) that are filling up my ***.php.error.log. One if for JSE:[16-Jan-2026 00:13:07 UTC] PHP Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /home/episcopl/public_html/components/com_jce/editor/libraries/classes/vendor/MobileDetect/src/MobileDetect.php on line 1326There are 296 all one after the other, all with the same date and time stamp.Then there are a few:[16-Jan-2026 00:13:07 UTC] PHP Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /home/episcopl/public_html/plugins/system/mediabox_ck/mediaboxck_mobile_detect.php on line 1140Then there are entries for 2 JoomlaCK extensions (PageBuilderCK, and MobileMenuCK) also referencing [16-Jan-2026 00:13:07 UTC] PHP Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in.....I have the latest versions of everything installed. Is this an issue or just one of those "can be ignored" PHP warnings? It's happening every day at different times, but they all seem to post entries when another does.

I checked a few other sites and they're all throwing these errors in the error.log files, so it's not isolated.

A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!
Last edit: 10 months 23 hours ago by trogladyte.

Please Log in or Create an account to join the conversation.

More
10 months 7 hours ago #75927 by ced1870
Hi
thank you for your feedback
I will fix it.

Then there are entries for 2 JoomlaCK extensions (PageBuilderCK, and MobileMenuCK) also referencing

please give me the complete error path as you did for mediabox :
[uote]deprecated in /home/episcopl/public_html/plugins/system/mediabox_ck/mediaboxck_mobile_detect.php on line 1140[/quote]

it will help to find it quickly
CEd

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
10 months 2 hours ago #75930 by trogladyte
Here you go!

[24-Jan-2026 23:58:18 UTC] PHP Deprecated:  preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /home/forc1fit/public_html/administrator/components/com_pagebuilderck/helpers/mobiledetect/MobileDetect.php on line 1324

[24-Jan-2026 23:58:18 UTC] PHP Deprecated:  preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /home/forc1fit/public_html/plugins/system/mobilemenuck/helpers/Mobile_Detect.php on line 1249

 

A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!

Please Log in or Create an account to join the conversation.

More
9 months 4 weeks ago #75943 by ced1870
Hi
I have updated Mediabox CK to fix it, you can already install the 2.11.1 version and confirm that it's ok your side
CEd

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
9 months 4 weeks ago #75945 by trogladyte
Thanks, Ced. Installed and so far, so good!

A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!

Please Log in or Create an account to join the conversation.

More
9 months 2 weeks ago #76027 by ced1870
for info the problem shall be fixed in all extensions : mediabox, page builder and mobile menu

Joomlack Webmaster and Developer
The following user(s) said Thank You: trogladyte

Please Log in or Create an account to join the conversation.

Time to create page: 0.200 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 2597 guests and 3 members online