Skip Navigation

[Resolved] PHP Warning: Private methods cannot be final

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.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 1 reply, has 2 voices.

Last updated by Nigel 1 year, 10 months ago.

Assisted by: Nigel.

Author
Posts
#2562593

Types with PHP 8.0 causes this warning:

PHP Warning: Private methods cannot be final as they are never overridden by other classes in /wp-content/plugins/types/vendor/toolset/types/includes/classes/page/abstract.php on line 27

#2563021

Nigel
Supporter

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

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

Thanks for reporting that, it looks like something which we missed when scanning the codebase for issues.

I have reported it to the developers, and it should be a very straightforward fix, so I expect it to be included in the next version of Types.