Skip Navigation

[Resolved] PHP8.3.12 Deprecated notcies

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 1 voice.

Last updated by jelle-jacobd 1 month, 2 weeks ago.

Assisted by: Minesh.

Author
Posts
#2782590

Hi,

When updating my website to PHP8.3.12 the following error notices appear:

Deprecated: Return type of PMTI_Config::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/vhosts/light4u.nl/httpdocs/wp-content/plugins/wpai-toolset-types-addon/classes/config.php on line 89

Deprecated: Calling get_parent_class() without arguments is deprecated in /var/www/vhosts/light4u.nl/httpdocs/wp-content/plugins/toolset-blocks/application/models/WooCommerce/WcQuery.php on line 69

What should I do?

Br, Jelle

#2782592

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

The deprecated notice about the "Calling get_parent_class() without arguments is deprecated" is known to us and we already reported that in front of our Devs and we will try to fix it with the next Dev cycle. Please note that there is no ETA on it.

However - FYI, it will not break your site.

For the other Deprecated notice:

Deprecated: Return type of PMTI_Config::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/vhosts/light4u.nl/httpdocs/wp-content/plugins/wpai-toolset-types-addon/classes/config.php on line 89


it seems its coming from the WP ALL Import Toolset Types addon plugin so I suggest you should get in touch with WP ALL import support.

#2782597

Hello,

Thanks, good to know. Looking forward to the next update in that case)

I will contact WP All Import support as well to share the error with them.

Thanks, Jelle