Skip Navigation

[Resolved] PHP 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.

This topic contains 1 reply, has 1 voice.

Last updated by - 1 day, 14 hours ago.

Assisted by: Christopher Amirian.

Author
Posts
#2893715

I am trying to upload and intall plugis on my staging site with Blocksy theme .
I received this error messages:

Deprecated: OTGS_UI_Loader::__construct(): Implicitly marking parameter $locator as nullable is deprecated, the explicit nullable type must be used instead in /home/vandenaarsen/domains/staging.vandenaarsen.nl/public_html/wp-content/plugins/types-access/vendor/otgs/ui/src/php/OTGS_UI_Loader.php on line 22

Deprecated: OTGS_UI_Loader::__construct(): Implicitly marking parameter $assets as nullable is deprecated, the explicit nullable type must be used instead in /home/vandenaarsen/domains/staging.vandenaarsen.nl/public_html/wp-content/plugins/types-access/vendor/otgs/ui/src/php/OTGS_UI_Loader.php on line 22

Deprecated: 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 in /home/vandenaarsen/domains/staging.vandenaarsen.nl/public_html/wp-content/plugins/types-access/application/models/wpml_settings.php on line 226

Deprecated: 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 in /home/vandenaarsen/domains/staging.vandenaarsen.nl/public_html/wp-content/plugins/types-access/application/models/wpml_settings.php on line 383

Deprecated: OTGS_UI_Loader::__construct(): Implicitly marking parameter $locator as nullable is deprecated, the explicit nullable type must be used instead in /home/vandenaarsen/domains/staging.vandenaarsen.nl/public_html/wp-content/plugins/toolset-blocks/vendor/otgs/ui/src/php/OTGS_UI_Loader.php on line 22

Deprecated: OTGS_UI_Loader::__construct(): Implicitly marking parameter $assets as nullable is deprecated, the explicit nullable type must be used instead in /home/vandenaarsen/domains/staging.vandenaarsen.nl/public_html/wp-content/plugins/toolset-blocks/vendor/otgs/ui/src/php/OTGS_UI_Loader.php on line 22

Deprecated: Toolset_Compatibility_Theme_Handler::__construct(): Implicitly marking parameter $populate_manager as nullable is deprecated, the explicit nullable type must be used instead in /home/vandenaarsen/domains/staging.vandenaarsen.nl/public_html/wp-content/plugins/toolset-blocks/vendor/toolset/toolset-theme-settings/compatibility-modules/toolset.layouts-theme.class.php on line 48

Deprecated: Toolset_Compatibility_Theme_Handler::__construct(): Implicitly marking parameter $helper as nullable is deprecated, the explicit nullable type must be used instead in /home/vandenaarsen/domains/staging.vandenaarsen.nl/public_html/wp-content/plugins/toolset-blocks/vendor/toolset/toolset-theme-settings/compatibility-modules/toolset.layouts-theme.class.php on line 48

Deprecated: ToolsetCommonEs\Library\MobileDetect\MobileDetect::__construct(): Implicitly marking parameter $headers as nullable is deprecated, the explicit nullable type must be used instead in /home/vandenaarsen/domains/staging.vandenaarsen.nl/public_html/wp-content/plugins/toolset-blocks/vendor/toolset/common-es/server/Library/MobileDetect/MobileDetect.php on line 686

Deprecated: ToolsetCommonEs\Rest\Route\PostSearch::__construct(): Implicitly marking parameter $wp_query_factory as nullable is deprecated, the explicit nullable type must be used instead in /home/vandenaarsen/domains/staging.vandenaarsen.nl/public_html/wp-content/plugins/toolset-blocks/vendor/toolset/common-es/server/Rest/Route/PostSearch.php on line 15

Server: DA PMA SignOn (Localhost via UNIX socket)
Server type: MariaDB
Server connection: SSL is not being used Documentation
Server version: 10.11.19-MariaDB-cll-lve-log - MariaDB Server
P
Server charset: cp1252 West European (latin1)
Web server
Apache
Database client version: libmysql - mysqlnd 8.2.35
PHP extension: mysqli Documentation curl Documentation mbstring Documentation sodium Documentation
PHP version: 8.2.35
phpMyAdmin
Version information: 5.2.3-1.el8.remi

#2894420

Christopher Amirian
Supporter

Languages: English (English )

Hi,

Welcome to Toolset support. Thanks for the list.

These are deprecation notices, not errors. Nothing is broken.

Note the PHP 8.2.35 you quoted is phpMyAdmin's own PHP. These notices start at PHP 8.4, so your WordPress PHP is on 8.4 or newer. Check under Tools > Site Health > Info > Server. It's worth checking with your hosting provider.

Status:

- Blocks: the `MobileDetect`, `PostSearch` and `Toolset_Compatibility_Theme_Handler` ones are fixed, coming in the next release. The `OTGS_UI_Loader` ones are still open.
- Access: the five from `types-access` are in an open ticket.

To hide them meanwhile, add to `wp-config.php`:

define( 'WP_DEBUG_DISPLAY', false );

Please wait for a new release.

Thanks.