Skip Navigation

[Escalated to 2nd Tier] PHP8.5 depreciation notices with latest toolset versions

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.

This topic contains 1 reply, has 1 voice.

Last updated by - 2 days, 9 hours ago.

Assisted by: Christopher Amirian.

Author
Posts
#2893324

I have installed all latest Toolset versions of Types, Forms, Views, Layouts, Access, and Twentyseventeen integration as of 3 Nov 2026 on my site and have upgraded to WP7.1.4 to and PHP8.5.
All works fine, but the logs give me many PHP depreciation notices related to the Toolset plugins. I thought you might find them useful, so I am listing them below for your information.
Thanks!

Toolset plugins: PHP 8.5 deprecation notices
============================================

## layouts (36 unique notices)

- wp-content/plugins/layouts/classes-auto/cells/wpddl-layout-cell-types.php:38
WPDD_LayoutRegisteredCellTypes::__construct(): Implicitly marking parameter $registed_cells as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/layouts/classes-auto/cells/wpddl-layout-cell-types.php:38
WPDD_LayoutRegisteredCellTypes::__construct(): Implicitly marking parameter $registered_theme_sections as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/layouts/classes-auto/cells/wpddl-layout-cell-types.php:266
WPDD_LayoutRegisteredCellTypes::getInstance(): Implicitly marking parameter $registed_cells as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/layouts/classes-auto/cells/wpddl-layout-cell-types.php:266
WPDD_LayoutRegisteredCellTypes::getInstance(): Implicitly marking parameter $registered_theme_sections as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/layouts/classes-auto/gutenberg/private-layout/CreateButton.php:56
OTGS\Toolset\Layouts\ClassesAuto\Gutenberg\PrivateLayout\CreateButton::__construct(): Implicitly marking parameter $constants as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/layouts/classes-auto/util/BootstrapColumnSizes.php:51
OTGS\Toolset\Layouts\Util\BootstrapColumnSizes::__construct(): Implicitly marking parameter $toolset_settings as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/layouts/classes-auto/wpddl.cssmanager.class.php:13
WPDD_Layouts_CSSManager::__construct(): Implicitly marking parameter $css_global_option_manager as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/layouts/classes-auto/wpddl.cssmanager.class.php:13
WPDD_Layouts_CSSManager::__construct(): Implicitly marking parameter $options_manager as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/layouts/classes-auto/wpddl.cssmanager.class.php:20
WPDD_Layouts_CSSManager::set_options_manager(): Implicitly marking parameter $options_manager as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/layouts/classes-auto/wpddl.cssmanager.class.php:54
WPDD_Layouts_CSSManager::set_global_options_manager(): Implicitly marking parameter $options_manager as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/layouts/classes-auto/wpddl.cssmanager.class.php:331
WPDD_Layouts_CSSManager::getInstance(): Implicitly marking parameter $css_global_option_manager as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/layouts/classes-auto/wpddl.cssmanager.class.php:331
WPDD_Layouts_CSSManager::getInstance(): Implicitly marking parameter $options_manager as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/layouts/classes-auto/wpddl.jsmanager.class.php:13
WPDD_Layouts_JsManager::__construct(): Implicitly marking parameter $js_global_option_manager as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/layouts/classes-auto/wpddl.jsmanager.class.php:13
WPDD_Layouts_JsManager::__construct(): Implicitly marking parameter $options_manager as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/layouts/classes-auto/wpddl.jsmanager.class.php:20
WPDD_Layouts_JsManager::set_options_manager(): Implicitly marking parameter $options_manager as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/layouts/classes-auto/wpddl.jsmanager.class.php:30
WPDD_Layouts_JsManager::set_global_options_manager(): Implicitly marking parameter $options_manager as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/layouts/classes-auto/wpddl.jsmanager.class.php:303
WPDD_Layouts_JsManager::getInstance(): Implicitly marking parameter $js_global_option_manager as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/layouts/classes-auto/wpddl.jsmanager.class.php:303
WPDD_Layouts_JsManager::getInstance(): Implicitly marking parameter $options_manager as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/layouts/classes-auto/wpddl.json2layout.class.php:24
WPDD_json2layout::__construct(): Implicitly marking parameter $factories as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/layouts/classes-auto/wpddl.json2layout.class.php:24
WPDD_json2layout::__construct(): Implicitly marking parameter $registered_cells as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/layouts/classes-auto/wpddl.layout-render.class.php:176
Case statements followed by a semicolon (;) are deprecated, use a colon (:) instead
- wp-content/plugins/layouts/classes-auto/wpddl.layout-render.class.php:564
Case statements followed by a semicolon (;) are deprecated, use a colon (:) instead
- wp-content/plugins/layouts/classes-auto/wpddl.layout-settings.class.php:24
WPDDL_Layout_Settings::__construct(): Implicitly marking parameter $decoded_cache as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/layouts/classes-auto/wpddl.layout-settings.class.php:24
WPDDL_Layout_Settings::__construct(): Implicitly marking parameter $raw_cache as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/layouts/classes-auto/wpddl.layouts-plugin.class.php:71
WPDD_LayoutsPlugin::getInstance(): Implicitly marking parameter $wpddl_wpml_support as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/layouts/classes-auto/wpddl.post-edit-page-manager.class.php:62
WPDD_PostEditPageManager::__construct(): Implicitly marking parameter $decoder as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/layouts/classes-auto/wpddl.post-edit-page-manager.class.php:563
WPDD_PostEditPageManager::getInstance(): Implicitly marking parameter $decoder as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/layouts/classes-auto/wpddl.post-edit-page-manager.class.php:909
WPDD_PostEditPrivateLayoutHelper::getInstance(): Implicitly marking parameter $private_layout as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/layouts/classes-auto/wpddl.post-edit-page-manager.class.php:997
WPDD_PostEditPageTemplateLayoutHelper::getInstance(): Implicitly marking parameter $post_types_manager as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/layouts/classes-auto/wpddl.user-profiles.class.php:28
WPDD_Layouts_Users_Profiles::__construct(): Implicitly marking parameter $current_user as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/layouts/classes-auto/wpddl.user-profiles.class.php:28
WPDD_Layouts_Users_Profiles::__construct(): Implicitly marking parameter $wp_roles as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/layouts/inc/gui/editor/editor.php:18
WPDD_GUI_EDITOR::__construct(): Implicitly marking parameter $assets_manager as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/layouts/inc/gui/editor/editor.php:18
WPDD_GUI_EDITOR::__construct(): Implicitly marking parameter $constants as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/layouts/inc/gui/editor/editor.php:18
WPDD_GUI_EDITOR::__construct(): Implicitly marking parameter $preview_main as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/layouts/vendor/toolset/toolset-theme-settings/compatibility-modules/toolset.layouts-theme.class.php:48
Toolset_Compatibility_Theme_Handler::__construct(): Implicitly marking parameter $helper as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/layouts/vendor/toolset/toolset-theme-settings/compatibility-modules/toolset.layouts-theme.class.php:48
Toolset_Compatibility_Theme_Handler::__construct(): Implicitly marking parameter $populate_manager as nullable is deprecated, the explicit nullable type must be used instead

## types-access (5 unique notices)

- wp-content/plugins/types-access/application/controllers/permissions_post_types.php:239
OTGS\Toolset\Access\Controllers\PermissionsPostTypes::registered_post_type_hook(): Implicitly marking parameter $access_capabilities as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/types-access/application/controllers/permissions_post_types.php:239
OTGS\Toolset\Access\Controllers\PermissionsPostTypes::registered_post_type_hook(): Implicitly marking parameter $access_settings as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/types-access/application/models/capabilities.php:87
OTGS\Toolset\Access\Models\Capabilities::__construct(): Implicitly marking parameter $access_roles as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/types-access/application/models/wpml_settings.php:226
OTGS\Toolset\Access\Models\WPMLSettings::load_wpml_languages_permissions(): Implicitly marking parameter $access_capabilities as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/types-access/application/models/wpml_settings.php:383
OTGS\Toolset\Access\Models\WPMLSettings::is_managed_by_access(): Implicitly marking parameter $access_settings as nullable is deprecated, the explicit nullable type must be used instead

## wp-views (3 unique notices)

- wp-content/plugins/wp-views/embedded/inc/classes/wpv-content-template-embedded.class.php:57
WPV_Content_Template_Embedded::__construct(): Implicitly marking parameter $constants as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/wp-views/embedded/inc/classes/wpv-content-template-embedded.class.php:57
WPV_Content_Template_Embedded::__construct(): Implicitly marking parameter $wpv_wordpress_archive_frontend as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/wp-views/embedded/inc/wpv.class.php:3646
Using null as an array offset is deprecated, use an empty string instead

## cred-frontend-editor (9 unique notices)

- wp-content/plugins/cred-frontend-editor/library/toolset/cred/embedded/classes/Form_Builder_Helper.php:369
Non-canonical cast (boolean) is deprecated, use the (bool) cast instead
- wp-content/plugins/cred-frontend-editor/library/toolset/cred/embedded/classes/Form_Builder_Helper.php:370
Non-canonical cast (boolean) is deprecated, use the (bool) cast instead
- wp-content/plugins/cred-frontend-editor/library/toolset/cred/embedded/classes/Form_Builder_Helper.php:371
Non-canonical cast (boolean) is deprecated, use the (bool) cast instead
- wp-content/plugins/cred-frontend-editor/vendor/otgs/ui/src/php/OTGS_UI_Loader.php:22
OTGS_UI_Loader::__construct(): Implicitly marking parameter $assets as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/cred-frontend-editor/vendor/otgs/ui/src/php/OTGS_UI_Loader.php:22
OTGS_UI_Loader::__construct(): Implicitly marking parameter $locator as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/cred-frontend-editor/vendor/toolset/common-es/server/Library/MobileDetect/MobileDetect.php:687
ToolsetCommonEs\Library\MobileDetect\MobileDetect::__construct(): Implicitly marking parameter $headers as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/cred-frontend-editor/vendor/toolset/common-es/server/Rest/Route/PostSearch.php:15
ToolsetCommonEs\Rest\Route\PostSearch::__construct(): Implicitly marking parameter $wp_query_factory as nullable is deprecated, the explicit nullable type must be used instead
- wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/utility/utils.php:705
Using null as an array offset is deprecated, use an empty string instead
- wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/utility/utils.php:706
Using null as an array offset is deprecated, use an empty string instead

## layouts-twentyseventeen (1 unique notices)

- wp-content/plugins/layouts-twentyseventeen/library/toolset-site-installer/installer/application/controller/acontroller.php:21
TT_Controller_Abstract::__construct(): Implicitly marking parameter $response_ajax as nullable is deprecated, the explicit nullable type must be used instead

## GENERAL

- Function get_settings is deprecated since version 2.1.0! Use get_option() instead.

#2893438

Christopher Amirian
Supporter

Languages: English (English )

Hi,

Welcome to Toolset support. Thank you for th elist

These are deprecation notices, not errors. Nothing breaks, and they only appear with WP_DEBUG logging on. You can keep working as normal.

Status on our side:

- Views: the two `WPV_Content_Template_Embedded` notices are already fixed and will go out in the next release.
- Forms: the `OTGS_UI_Loader`, `PostSearch` and `MobileDetect` ones are fixed in the shared libraries. The `Form_Builder_Helper` casts and the two `utils.php` lines are in an open ticket for Forms.
- Access: the five notices are in an open ticket and will be handled by our dev team.

If you want the log quieter while this is in progress, set `WP_DEBUG_DISPLAY` to false and keep `WP_DEBUG_LOG` on, or drop the log level so notices are not written.

Thanks.