a problem with adding PHP to template with UDT
Posted: Thu May 29, 2025 9:26 pm
Hello all, I wonder if you could help me.
I am trying to add some PHP to my template using a UDT but when I submit I just see a blank white page. The blank page loaded is editusertag.php
There is quite a lot of PHP code but through trial and error I have managed to narrow down the problem to these 2 lines (edited slightly for privacy reasons):
require 'path-to-file.php';
use class\CLASS;
There is no error shown on screen or in browser dev tools, any ideas would be greatly appreciated.
I am trying to add some PHP to my template using a UDT but when I submit I just see a blank white page. The blank page loaded is editusertag.php
There is quite a lot of PHP code but through trial and error I have managed to narrow down the problem to these 2 lines (edited slightly for privacy reasons):
require 'path-to-file.php';
use class\CLASS;
There is no error shown on screen or in browser dev tools, any ideas would be greatly appreciated.