Skip to content
This repository has been archived by the owner on Jun 11, 2020. It is now read-only.

After Install the plugin all tasks are broken #13

Open
mguspero opened this issue Oct 19, 2016 · 4 comments
Open

After Install the plugin all tasks are broken #13

mguspero opened this issue Oct 19, 2016 · 4 comments

Comments

@mguspero
Copy link

Hi everyone, im trying to install the plugin but after put it in the plugins folders, all the task are broken as you see in the picture.
error kanboard

Any Suggestion??
Thanks!

@xavividal
Copy link
Owner

Which version of Kanboard are you using? Can you open the browser console to see if there's any error loading assets?

@mguspero
Copy link
Author

Hi Xavi, the version is 1.0.33. The error in the apache logs is:

PHP Parse error: syntax error, unexpected '[' in /var/www/html/kanboard/plugins/Relationgraph/Template/task/sidebar.php on line 13

And the Browser Console:
browser console
Thanks!

@ghost
Copy link

ghost commented Nov 8, 2016

I have same problem.
Application version: 1.0.34
PHP version: 5.3.3

@ghost
Copy link

ghost commented Feb 22, 2017

I think it is a PHP version problem. Could be the new array definition. Try to change line 13 in plugins/Relationgraph/Template/task/sidebar.php
old: ['plugin' => 'relationgraph', 'task_id' => $task['id']]
new: array('plugin' => 'relationgraph', 'task_id' => $task['id'])
or better upgrade to PHP7.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants