Please try to update ALL Toolset plugins to latest version either using Toolset installer or you can download it from your account's page:
=> https://toolset.com/account/downloads/
Relevant Documentation:
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.
Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.
PHP Deprecated: Required parameter $field follows optional parameter $post in /home/XXXXXXX/public_html/wp-content/plugins/types/vendor/toolset/types/embedded/includes/api.php on line 405
Am currently running WP 5.9.3, Types 3.4.15 and Forms 2.6.12.
Hello. Thank you for contacting the Toolset support.
We already released the PHP 8 compatible Toolset plugin version recently and as far as I can see you could be the first person who reports this issue.
Can you please share on visiting what link it records the error you shared in the error log?
You may would like to share admin access details so I can jump it to review your setup and then I will try to reproduce it at this end.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
Being the first to report an issue, doesn't mean there isn't an issue or that it is isolated.
I don't understand your first question. The only url recorded in debug.log is the one to the Toolset file.
The site is locked down so access isn't possible.
I've run the function code at line 405 in file api.php through a code checker and that also returns an error (see attached image).
It's my understanding that parameters without a default value now need to be BEFORE optional parameters. If I swap the parameters over in the checker and run it again, it doesn't return any errors. If I do the same thing to the file in my website, I can run PHP 8 and not get the original error. Also, if you look at the other functions in that file, they DO follow the required order for the parameters. It's only the function at line 405 that doesn't.
I've now tried to implement PHP 8 on another site and that's throwing up the same error for a different file :-
/wp-content/plugins/types/vendor/toolset/types/includes/classes/class.wpcf.roles.php on line 274
Again, if I swap the parameters over, the issue goes away.
Please try to update ALL Toolset plugins to latest version either using Toolset installer or you can download it from your account's page:
=> https://toolset.com/account/downloads/