neve icon indicating copy to clipboard operation
neve copied to clipboard

PHP 8.2 Compatibility Tests

Open mskapusuz opened this issue 3 years ago • 1 comments

Description:

We need compatibility tests for PHP 8.2.

PHP 8.2.0 Beta 3 available for testing, PHP 8.2 RC 1 planned for Sept 1, 2022

mskapusuz avatar Sep 01 '22 09:09 mskapusuz

PHP 8.2 will be released on November 24, 2022 so we'll postpone the testing until it will be added to TasteWP / InstaWP / Local by Flywheel

irinelenache avatar Sep 20 '22 13:09 irinelenache

This notice is visible before every post in the Blog page https://vertis.d.pr/i/XlnhzL

Deprecated
: Calling static trait method Neve\Customizer\Defaults\Layout::get_meta_default_data is deprecated, it should only be called on a class using the trait in
/home/wehipupaja4082/web/cl-cpt-php82.vertisite.cloud/public_html/wp-content/themes/neve/inc/views/template_parts.php
on line
294

This notice is visible after the title in a Single post https://vertis.d.pr/i/eBe8Fn

Deprecated: Calling static trait method Neve\Customizer\Defaults\Layout::get_meta_default_data is deprecated, it should only be called on a class using the trait in /home/wehipupaja4082/web/cl-cpt-php82.vertisite.cloud/public_html/wp-content/themes/neve/inc/views/post_layout.php on line 181

Same for the Related posts in the Single post

Deprecated: Calling static trait method Neve\Customizer\Defaults\Layout::get_meta_default_data is deprecated, it should only be called on a class using the trait in /home/wehipupaja4082/web/cl-cpt-php82.vertisite.cloud/public_html/wp-content/plugins/neve-pro-addon/includes/traits/utils.php on line 24

irinelenache avatar Jan 13 '23 11:01 irinelenache

This notice is visible in frontend on a clean version with only Neve installed:

Deprecated: Use of "self" in callables is deprecated in /home/sudomocito0861/web/testphp82.vertisite.cloud/public_html/wp-content/themes/neve/inc/core/styles/css_prop.php on line 380

irinelenache avatar Jan 16 '23 09:01 irinelenache

Finished testing here and didn't find more issues that's already mentioned. I'll move this to the Up next column

irinelenache avatar Jan 20 '23 15:01 irinelenache

This notice is visible before every post in the Blog page https://vertis.d.pr/i/XlnhzL

Deprecated
: Calling static trait method Neve\Customizer\Defaults\Layout::get_meta_default_data is deprecated, it should only be called on a class using the trait in
/home/wehipupaja4082/web/cl-cpt-php82.vertisite.cloud/public_html/wp-content/themes/neve/inc/views/template_parts.php
on line
294

This notice is visible after the title in a Single post https://vertis.d.pr/i/eBe8Fn

Deprecated: Calling static trait method Neve\Customizer\Defaults\Layout::get_meta_default_data is deprecated, it should only be called on a class using the trait in /home/wehipupaja4082/web/cl-cpt-php82.vertisite.cloud/public_html/wp-content/themes/neve/inc/views/post_layout.php on line 181

Same for the Related posts in the Single post

Deprecated: Calling static trait method Neve\Customizer\Defaults\Layout::get_meta_default_data is deprecated, it should only be called on a class using the trait in /home/wehipupaja4082/web/cl-cpt-php82.vertisite.cloud/public_html/wp-content/plugins/neve-pro-addon/includes/traits/utils.php on line 24

@irinelenache Thanks for your findings! I've looked into that issue just now, and as I see, it comes from https://github.com/Codeinwp/neve/blob/76bc52b3221d6426e6db768c14a3a907bb184350/inc/customizer/defaults/layout.php#L92-L101

However, I noticed that issue already fixed with https://github.com/Codeinwp/neve/pull/3663 and released with Neve v3.4.4

In that case, if Neve + Neve Pro versions are the latest, the error should not be there. I estimate one of the Neve/Neve Pro is an old version in your test environment. Can you verify for me?

mskapusuz avatar Jan 27 '23 21:01 mskapusuz

@mskapusuz Tested with the mentioned PR and everything's fine now 🚀 Sorry about the misunderstandings with the older version, didn't notice that 👀

irinelenache avatar Jan 30 '23 15:01 irinelenache

:tada: This issue has been resolved in version 3.5.2 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket:

pirate-bot avatar Feb 15 '23 08:02 pirate-bot