Hello,
I have strange (for me) problem with one of the widgets on PHP 8. On 7.4 was fine.
Error code:
#0 /.../plugins/sdstreamcontent/widgets/sdStreamContent.php(56): IPS\_Theme->getTemplate('plugins', 'core', 'global')
#1 /.../system/Widget/Widget.php(103): IPS\plugins\sdstreamcontent\widgets\_sdStreamContent->init()
#2 /.../system/Widget/Widget.php(396): IPS\_Widget->__construct('34y8hagzy', Array, NULL, 'vertical')
#3 /.../system/Dispatcher/Front.php(626): IPS\_Widget::load(Object(IPS\Plugin), 'sdStreamContent', '34y8hagzy', Array, NULL, 'vertical')
#4 /.../system/Dispatcher/Dispatcher.php(155): IPS\Dispatcher\_Front->finish()
#5 /.../index.php(13): IPS\_Dispatcher->run()
#6 {main}
What is might be?
Init function in the widget file is standard:
/**
* Initialise this widget
*
* @return void
*/
public function init()
{
$this->template( array( \IPS\Theme::i()->getTemplate( 'plugins', 'core', 'global' ), $this->key ) );
parent::init();
}
Template bit is there:
Any tips, advices? Thanks in advance.