I updated my server to PHP 8 and have found various issues since.
The issue I cannot resolve involves a view creating SVG paths, which makes certain pages crash, while others work fine (I don't know why only some crash).
The View is named "SVG Path Loops", and below is the incriminated code in the loop:
-----------------------------------------------------------------------------------
<g id="the-svg" class="svgel">
When you say certain pages "crash", I assume you mean they fail to load on the front end. Which sounds like a PHP error occurs and prevents the complete page from being generated.
Do you have details of the errors?
If you haven't already, turn on the debug log by editing your wp-config.php file and change the line with WP_DEBUG like so:
Hi Nigel,
yes, when i say it "crashes" I believe it is a PHP error, as I get a blank page with a general error (see image)
I checked the Debug Log but cannot understand why this is happening