Skip Navigation

[Escalated to 2nd Tier] Deprecated Notice on PHP 8.1 and latest Views & Types

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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 1 reply, has 2 voices.

Last updated by Minesh 1 month, 1 week ago.

Assisted by: Minesh.

Author
Posts
#2688922

I saw on https://toolset.com/toolset-requirements/ that Toolset is tested up to PHP 8.1, so I updated one of my sites to 8.1.

Now I’m getting this frequent deprecated notice?

`Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /home/sitename/public_html/wp-content/plugins/wp-views/vendor/toolset/common-es/server/Rest/Route/ShortcodeRender/WithMeta.php on line 55`

I found a support ticket from February that addressed this exact notice and said it was fixed in the latest release. https://toolset.com/forums/topic/legacy-plugin-support-for-php-8-1/

I believe I am on the latest releases: Types 3.5.3 and Views 3.6.14

Any thoughts on how to fix this notice? I am switching back to 8.0 for now.

Thanks,

Sarah

#2688962

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

We have internal ticket and the deprecated notice you shared is been esclated:

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

I will get in touch with you as soon as we add official fix for this deprecated notice.