[Résolu] Uncaught TypeError in Layouts wheb opening Content Layout Editor
This support ticket is created Il y a 2 mois et 1 semaine. 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.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
I was able to reproduce the problem on a local test site. It occurs after updating PHP to 8.x (I'm not sure what version exactly).
I've escalated the issue to the developers, but I identified where in the code the problem arises, and as a workaround until Layouts is updated you can workaround the problem by updating the file plugins/layouts/classes/wpddl.class.php
Around line 1334 you should see the following if statement:
Hi Nigel, thank you for your quick response. I have performed the patch and this has solved the problem.
erikd-6 confirmed that the issue was resolved on 2024-02-20 16:17:09.
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.