Unyson icon indicating copy to clipboard operation
Unyson copied to clipboard

Deprecated in PHP 7.4

Open PeymanNaeimi opened this issue 6 years ago • 6 comments

I have these errors in PHP 7.4 :

Deprecated: Array and string offset access syntax with curly braces is deprecated in ...\wp-content\plugins\unyson\framework\includes\option-types\wp-editor\includes\class-fw-wp-editor-settings.php on line 192

Deprecated: Array and string offset access syntax with curly braces is deprecated in ...\wp-content\themes...\unyson\extensions\builder\includes\option-types\builder\extends\class-fw-option-type-builder.php on line 353

Deprecated: Function get_magic_quotes_gpc() is deprecated in ...\wp-content\plugins\unyson\framework\helpers\general.php on line 487


my PHP -v informations:

PHP 7.4.2 (cli) (built: Jan 21 2020 17:52:43) ( ZTS Visual C++ 2017 x64 ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies

PeymanNaeimi avatar Mar 04 '20 09:03 PeymanNaeimi

It is fixed in the latest version, update the plugin

ViorelEremia avatar Mar 25 '20 07:03 ViorelEremia

Hey @ViorelEremia ,

Thank you for the fix on the deprecated functions. Unfortunately I still receive the second deprecated error with the latest plugin version:

Deprecated: Array and string offset access syntax with curly braces is deprecated in ...\wp-content\themes...\unyson\extensions\builder\includes\option-types\builder\extends\class-fw-option-type-builder.php on line 353

From the commit history on top, I can't find that this line has been edited 👀

Saxtone avatar Jul 07 '20 18:07 Saxtone

I also got this on PHP 7.4

Deprecated: Array and string offset access syntax with curly braces is deprecated in /nas/content/live/xxxxxx/wp-content/plugins/unyson/framework/extensions/builder/includes/option-types/builder/extends/class-fw-option-type-builder.php

jonmlas avatar Aug 07 '20 12:08 jonmlas

Same here on PHP 7.4.9:

Deprecated: Array and string offset access syntax with curly braces is deprecated in /Users/vtamm/Sites/x/web/app/plugins/unyson/framework/extensions/builder/includes/option-types/builder/extends/class-fw-option-type-builder.php on line 353

vtamm avatar Aug 26 '20 12:08 vtamm

This issue was fixed for PHP 7.4 but now cause a Fatal error in PHP 8

Fatal error: Array and string offset access syntax with curly braces is no longer supported in /includes/Unyson/framework/includes/option-types/wp-editor/includes/class-fw-wp-editor-settings.php on line 192

Any idea?

Thanks a lot

maxjutras avatar Feb 20 '21 16:02 maxjutras

I think Unyson is abandoned and no longer maintained.

macdonjo avatar Nov 27 '21 07:11 macdonjo