Sauter la navigation

[Résolu] PHP 8 Compatability (CRED)

This support ticket is created Il y a 2 années et 6 mois. There's a good chance that you are reading advice that it now obsolete.

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.

Ce sujet contient 3 réponses, a 2 voix.

Dernière mise à jour par Nigel Il y a 2 années et 6 mois.

Auteur
Publications
#2383519

I recently installed the plugin Query Monitor to check a few things on a site and whilst I've not been getting any debug.log errors about this, the plugin has identified deprecated PHP in these files:-

Error: Required parameter $lineno follows optional parameter $template
Line 55 in /cred-frontend-editor/application/controllers/notification-manager/queue.php
Line 23 in /types/vendor/toolset/toolset-common/lib/Twig/src/Node/IncludeNode.php
Line 26 in /types/vendor/toolset/toolset-common/lib/Twig/src/Node/Expression/BlockReferenceExpression.php

Error: Overriding function "__" that is already registered is deprecated since version 1.30 and won't be possible anymore in 2.0.
Line 35 in /types/vendor/toolset/toolset-common/lib/Twig/src/Extension/StagingExtension.php

I'm running Forms 2.6.13 (the latest).

#2383653

Nigel
Supporter

Les langues: Anglais (English ) Espagnol (Español )

Fuseau horaire: Europe/London (GMT+00:00)

Hi there

The latest updates should have taken care of such notices, but it looks like a few slipped through the net.

I've shared the above details with the developers, we should be able to handle them in the next round of plugin updates.

Thanks for sharing.

#2383659

hi Nigel

any time frame for the next updates??

#2383663

Nigel
Supporter

Les langues: Anglais (English ) Espagnol (Español )

Fuseau horaire: Europe/London (GMT+00:00)

It is a relatively minor round of fixes left-over from the last set of updates, so I would only expect it to take a few weeks overall, but I don't know more specifically than that.

In the meantime, the issue you reported has no impact on the functionality of your site.