Skip Navigation

[Closed] PHP 8.2 deprecated messages

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 2 voices.

Last updated by Nigel 2 months, 1 week ago.

Author
Posts
#2744676

Amr

Hi there,

We are using:

Windows server 2022
Wordpress 6.6.1
PHP 8.2.14

Toolset Access 2.9.1
Toolset Forms 2.6.22
Toolset Types 3.5.2
Toolset Views 3.6.16

We keep on getting the following deprecated entries in the log file:

PHP Deprecated: Creation of dynamic property Toolset_Object_Relationship::$relations is deprecated in \wp-content\plugins\cred-frontend-editor\vendor\toolset\toolset-common\inc\toolset.object.relationship.class.php on line 18

PHP Deprecated: Creation of dynamic property Toolset_Object_Relationship::$post_relationship_depth is deprecated in \wp-content\plugins\cred-frontend-editor\vendor\toolset\toolset-common\inc\toolset.object.relationship.class.php on line 19

PHP Deprecated: Creation of dynamic property Toolset_Object_Relationship::$post_relationship_track is deprecated in \wp-content\plugins\cred-frontend-editor\vendor\toolset\toolset-common\inc\toolset.object.relationship.class.php on line 20

PHP Deprecated: Creation of dynamic property Toolset_Object_Relationship::$post_relationship is deprecated in \wp-content\plugins\cred-frontend-editor\vendor\toolset\toolset-common\inc\toolset.object.relationship.class.php on line 21

We tried to suppress them by modified the php.ini error reporting as follows:

error_reporting = E_ERROR
log_errors = On
display_errors = Off

That change made not difference and the error log files is getting very big very quickly as we have a busy site.

Thanks

#2744878

Nigel
Supporter

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

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

Hi there

Thanks for reporting those. We've already fixed quite a few similar notices but have missed these.

I've created an internal ticket for the developers to update our code to avoid these notices. It's a simple fix and hopefully won't be too long before making into production.

(In the meantime, it is not advised to have debug logging enabled on production sites.)

The topic ‘[Closed] PHP 8.2 deprecated messages’ is closed to new replies.