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.0 error #71

Closed fourroses666 closed 2 years ago

fourroses666 commented 2 years ago

« Evolution CMS Parse Error »

Error : Undefined array key "templates"

Error information  
ErrorType[num] WARNING[2]
File /www/assets/tvs/multitv/includes/multitv.class.php
Line 270
Source $this->templates = $settings[$this->tvTemplates];
fourroses666 commented 2 years ago

Can't reproduce it anymore. Will close this for now..

fourroses666 commented 2 years ago

I can reproduce but don't know whats the issue.

fourroses666 commented 2 years ago

It might be something else. When I "disable" MultiTV I get the following errormessage:

The magic method DLTemplate::__wakeup() must have public visibility
« Evolution CMS Parse Error »

Error : The magic method DLTemplate::__wakeup() must have public visibility

Warning:  The magic method Helpers\FS::__wakeup() must have public visibility in /home/??/domains/??.nl/public_html/assets/lib/Helpers/FS.php on line 55

Warning:  The magic method DLTemplate::__wakeup() must have public visibility in /home/??/domains/??.nl/public_html/assets/snippets/DocLister/lib/DLTemplate.class.php on line 80

Log files give issues in allot of plugins. My guesses are DocLister but really no idea why I have no issues on an other test install. It does have allot less plugins installed. Will reupdate EVO 3.1.8 and hope it is an issue with that.

mplavala commented 2 years ago
The magic method DLTemplate::__wakeup() must have public visibility
« Evolution CMS Parse Error »

Error : The magic method DLTemplate::__wakeup() must have public visibility

Warning:  The magic method Helpers\FS::__wakeup() must have public visibility in /home/??/domains/??.nl/public_html/assets/lib/Helpers/FS.php on line 55

Warning:  The magic method DLTemplate::__wakeup() must have public visibility in /home/??/domains/??.nl/public_html/assets/snippets/DocLister/lib/DLTemplate.class.php on line 80

This is known and fixed DocLister issue, use Extras to update DocLister. Maybe on the other install you do not call DocLister (or not in the same context) and so the issue does not come up.

fourroses666 commented 2 years ago

I did update DocLister and reinstalled/upgraded EVO, maybe some other plugin is giving issues. Can't look further into this for now. Will close it again and investigate some other time again.