Skip Navigation

[Fixed in next Release] PHP 8.1 Errors

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 3 replies, has 2 voices.

Last updated by Waqar 7 months, 3 weeks ago.

Assisted by: Waqar.

Author
Posts
#2696018

I am receiving the following errors on my website. My host, Kinsta, no longer supports PHP 8.0, and my site has been upgraded to PHP 8.1. Is this error due to a deprecated PHP issue. If so, when will it be fixed. PHP 8.0 is no longer available.

Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /www/323lifeworks_849/public/wp-content/plugins/toolset-blocks/vendor/toolset/common-es/server/Rest/Route/ShortcodeRender/WithMeta.php on line 55

Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /www/323lifeworks_849/public/wp-content/plugins/toolset-blocks/vendor/toolset/common-es/server/Rest/Route/ShortcodeRender/WithMeta.php on line 55

#2696028

Hi,

Thank you for contacting us and I'd be happy to assist.

These depreciation notices are already reported. Their fix is included in the upcoming release of Toolset Views (3.6.15) / Blocks (1.6.15), which is expected to roll out, soon.

regards,
Waqar

#2696332

What is the schedule for these releases? My live site is affected, as I expect other sites are. It seems as though this should be a very high priority.

#2696450

These releases are expected to be out next week.

These depreciation notices shouldn't be showing on the website unless the WordPress debugging is turned on.

The WordPress debugging should be turned off on the live websites in the first place.
( ref: https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/ )