Passer la navigation

[Résolu] Warning on page load

This support ticket is created Il y a 1 year, 5 months. 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.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Fuseau horaire du supporter : Asia/Kolkata (GMT+05:30)

Ce sujet contient 5 réponses, a 1 voix.

Dernière mise à jour par Minesh Il y a 1 year, 5 months.

Assisté par: Minesh.

Auteur
Publications
#2786059

Hello

We get the following error:
Return type of OTGS\Toolset\Common\Utils\RecursiveDotFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/www-impact/site/web/app/plugins/types/vendor/toolset/toolset-common/inc/autoloaded/utils/PhpIteratorFactory.php on line 45

How can we fix this?
Thanks
Aldo

#2786088

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

The issue is known to us and already fixed within our Dev branch and you can expect the fix for the issue should be released with next hotfix version of the Toolset Types plugin but please note that there is no ETA on it.

For now, if you have set WP_DEBUG to true within your site's wp-config.php file then please try to set the WP_DEBUG to false and check if that help you to resolve the issue.

#2786090

Hi Minesh

Thanks for the feedback.
Could you tell me where to fix this manually?
I need debug mode aneled for developing.

Thanks
Aldo

#2786091

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

We do not recommond the edit the core files.

You may try to add the following line of code to wp-config.php file:

define('WP_DEBUG_DISPLAY', false);
#2786093

As I mentioned, I need debug mode enabled on my dev server.
Right now with this error 'Im not bale to test the site through as it blocks some sections.

#2786095

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Well - I just asked you to disable to display of the errors on frontend.

Please check the following:
- lien caché
[Method 1: Step: 3: Confirm Error Logging ]