stinnux / kanboard-Timetrackingeditor

Allows manual adding and editon of Timetracking Entries
20 stars 13 forks source link

PHP Warnings #1

Closed solracsf closed 7 years ago

solracsf commented 7 years ago
Warning: Illegal string offset 'template' in /app/Helper/HookHelper.php on line 29

Warning: filemtime(): stat failed for p in /app/Helper/AssetHelper.php on line 37

Kanboard version : master PHP 7

ManuGDZ commented 7 years ago

Hello, same here. A list of 6~7 lines of errors in the apache2 error log when surfing the site of kanboard:

PHP Warning: Illegal string offset 'template' in pathtokanboard/app/Helper/HookHelper.php on line 29 PHP Warning: filemtime(): stat failed for p in pathtokanboard/app/Helper/AssetHelper.php on line 24

Version de l'application : 1.0.33 Version de PHP : 5.6.17-0+deb8u1 PHP SAPI : apache2handler Version du système d'exploitation : Linux 3.16.0-4-amd64 Type de base de données : mysql Version de la base de donnée : 5.5.49-0+deb8u1

Thanks for help.

mkysoft commented 7 years ago

Allready fixed, if you get lastest version from github, it will work. Corections: Change Plugin.php line 15 like this: $this->hook->on("template:layout:css", array('template' => "plugins/Timetrackingeditor/assets/css/timetrackingeditor.css"));

Commit: https://github.com/stinnux/kanboard-Timetrackingeditor/commit/c9f13a98e8ee8dbbbe064d17b93d80a91fbdec6b