Warning: preg_match(): Unknown modifier ‘t’
-
Hi,
I am testing my site(localhost). It is fresh WP. Here is my setup.
– WP 6.0.3
– FREE Astra theme Version: 3.9.2
– FREE TranslatePress – Multilingual Version 2.3.9
– FREE The Events Calendar – Version 6.0.2
– PHP 7.4.24
– Apache 2.4.46
– MySQL 5.7.28What I did:
– After installing and setup the theme and TranslatePress plugin, I install and activate the Event Calendar plugin.
– I create and publish a new Event in the Event Calendar (Event 1).
– I view the new single Event page (https://localhost/example/event/event-1/) which is NO warning message.
– Then I view the Events page which will show all events (https://localhost/example/event). Then I click on the Translate page from the TranslatePress plugin in order to start translating to another language. I see the warning message as shown below.Warning: preg_match(): Unknown modifier ‘t’ in ..\wp-content\plugins\the-events-calendar\src\Tribe\JSON_LD\Event.php on line 177
—-
Warning message shows on the frontend:
The same warning message shows on the frontend while I am on the Events page in my second language (https://localhost/example/th/events/).—-
Please check the issue. I saw the developer was trying to fix it before but unfortunately, the issue is back.
Thanks,
Apple
- The topic ‘Warning: preg_match(): Unknown modifier ‘t’’ is closed to new replies.