Skip Navigation

[Assigned] php 8.4 deprecations

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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+01:00)

This topic contains 2 replies, has 1 voice.

Last updated by shaneB-4 21 hours, 45 minutes ago.

Assisted by: Nigel.

Author
Posts
#2829617

Hi folks,
I've just updated my site to PHP 8.4 and the Types plugin is spewing notices in my logs. Could you please take care of these:

[17-Oct-2025 15:16:59 UTC] PHP Deprecated: OTGS\Toolset\Common\Relationships\MainController::__construct(): Implicitly marking parameter $database_layer_factory_di as nullable is deprecated, the explicit nullable type must be used instead in /sites/ewwwio.staging.exactlywww.com/files/wp-content/plugins/types/vendor/toolset/toolset-common/inc/m2m/MainController.php on line 85
[17-Oct-2025 15:16:59 UTC] PHP Deprecated: OTGS\Toolset\Common\Relationships\MainController::__construct(): Implicitly marking parameter $cleanup_factory_di as nullable is deprecated, the explicit nullable type must be used instead in /sites/ewwwio.staging.exactlywww.com/files/wp-content/plugins/types/vendor/toolset/toolset-common/inc/m2m/MainController.php on line 85
[17-Oct-2025 15:16:59 UTC] PHP Deprecated: OTGS_Installer_Repository::set_subscription(): Implicitly marking parameter $subscription as nullable is deprecated, the explicit nullable type must be used instead in /sites/ewwwio.staging.exactlywww.com/files/wp-content/plugins/types/vendor/otgs/installer/includes/repository/class-otgs-installer-repository.php on line 85
[17-Oct-2025 15:16:59 UTC] PHP Deprecated: OTGS_Installer_Package_Product_Finder::get_product_in_repository_by_subscription(): Implicitly marking parameter $subscription as nullable is deprecated, the explicit nullable type must be used instead in /sites/ewwwio.staging.exactlywww.com/files/wp-content/plugins/types/vendor/otgs/installer/includes/class-otgs-installer-package-product-finder.php on line 11

#2830047

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

Thanks for sharing that with us.

As you are no doubt aware these are only deprecation notices, so for the time being will not have any impact on your site.

Nevertheless I am raising this with the developers so that we can adjust our code to avoid them. These particular notices look like they should be straightforward to eliminate, and they should disappear in a future update.

#2830055

Indeed, I'm aware they aren't breaking anything, they merely make it difficult to tell if anything actually IS broken. As you noted, they should be trivial to fix, so hopefully your team can get them sorted soon!

Thanks!