@Pete T great plugin. I used it for a while, but after update to 4.4.2 and PHP from 5.x -> 7.2 I have something like this
ParseError: syntax error, unexpected 'echo' (T_ECHO) (0)
#0 /some_path/system/Widget/Widget.php(803): IPS\plugins\phptxtwidget\widgets\_sodPhpWidget->render()
#1 /some_path/system/Theme/Theme.php(840) : eval()'d code(17027): IPS\_Widget->__toString()
#2 /some_path/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->widgetContainer('sidebar', 'vertical')
#3 /some_path/system/Theme/Theme.php(840) : eval()'d code(14550): IPS\Theme\_SandboxedTemplate->__call('widgetContainer', Array)
#4 /some_path/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->sidebar('right')
#5 /some_path/system/Theme/Theme.php(840) : eval()'d code(6582): IPS\Theme\_SandboxedTemplate->__call('sidebar', Array)
#6 /some_path/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->globalTemplate('c98720a4367247a...', '\n<div class='ip...', Array)
#7 /some_path/system/Dispatcher/Dispatcher.php(172): IPS\Theme\_SandboxedTemplate->__call('globalTemplate', Array)
#8 /some_path/system/Dispatcher/Standard.php(118): IPS\_Dispatcher->finish()
#9 /some_path/system/Dispatcher/Front.php(575): IPS\Dispatcher\_Standard->finish()
#10 /some_path/system/Dispatcher/Dispatcher.php(154): IPS\Dispatcher\_Front->finish()
#11 /some_path/index.php(13): IPS\_Dispatcher->run()
#12 {main}
Any idea?