extras-evolution / multiTV

Custom TV for Evolution CMS: Transform a template variables into a sortable multi item list for the Evolution content management framework
8 stars 23 forks source link

PHP 8.1.5 - string is deprecated / Undefined array key "tpl_config" #73

Closed fourroses666 closed 2 years ago

fourroses666 commented 2 years ago

PHP 8.1.5 gives error:

strlen(): Passing null to parameter #1 ($string) of type string is deprecated

« Evolution CMS Parse Error »
Error : Undefined array key "tpl_config"
Error information  
ErrorType[num] WARNING[2]
File /home/.../domains/....com/public_html/assets/tvs/multitv/includes/multitv.class.php
Line 106
Source $this->tvTemplates = 'templates' . $tvDefinitions['tpl_config'];
fourroses666 commented 2 years ago

Its on PHP 8.0 too. The weird thing about this is I do have it working on an other website which is on an other server with PHP 8.0.

Really hope to have this fixed so I can use PHP 8.x