Skip Navigation

[Resolved] PHP: Creation of dynamic property is deprecated

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 Christopher Amirian 2 months, 1 week ago.

Assisted by: Christopher Amirian.

Author
Posts
#2750603

I have several issues on the backend; e.g. not able to save an edited page where toolset blocks are used.
I get error messages in the WP debug log file:

[21-Sep-2024 12:48:07 UTC] PHP Deprecated: Creation of dynamic property Toolset_Field_Definition_Post::$wsf_group_name is deprecated in /www/htdocs/w01c0fe8/erpscout.de/wp-content/plugins/ws-form-pro/includes/third-party/toolset/class-ws-form-toolset.php on line 56

[21-Sep-2024 12:48:37 UTC] PHP Deprecated: Creation of dynamic property WP_Block_Parser::$empty_attrs is deprecated in /www/htdocs/w01c0fe8/erpscout.de/wp-content/plugins/toolset-blocks/backend/Services/ViewParsingService.php on line 335

[21-Sep-2024 12:56:25 UTC] PHP Deprecated: mb_convert_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead in /www/htdocs/w01c0fe8/erpscout.de/wp-content/plugins/toolset-blocks/embedded/inc/wpv.class.php on line 2372

[21-Sep-2024 12:57:29 UTC] PHP Deprecated: Creation of dynamic property Toolset_Theme_Integration_Settings_Front_End_Controller_astra::$is_blocks_active is deprecated in /www/htdocs/w01c0fe8/erpscout.de/wp-content/plugins/toolset-blocks/vendor/toolset/toolset-theme-settings/compatibility-modules/controllers/toolset-theme-integration-settings-abstract-controller.php on line 56

#2751041

Christopher Amirian
Supporter

Languages: English (English )

Hi,

The PHP deprecation messages that you shared mean that in future releases of PHP those functions might not work, but the current version that you use has no issues.

That should not be the source of the issue.

I suggest first that you check the minimal installation and see if the same problem happens:

- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Switch to the default theme such as "TwentyTwenty" by going to "WordPress Dashboard > Appearance > themes".
- Go to "WordPress Dashboard > Plugins" and deactivate all plugins except Toolset and Toolset add-ons.
- Check if you can still recreate the issue.
- If not, re-activate your plugins one by one and check the issue each time to find out the plugin that causes the problem.

If the problem persists, please tell us the steps and URL to check the problem.

Thank you.

#2751137

I will open a new ticket with the corresponding title