Sterc / Batcher

A batch editor for Resources and Elements for MODX Revolution
http://modx.com/extras/package/batcher
9 stars 8 forks source link

bug version 2.0.0 #27

Closed systemshock89 closed 6 years ago

systemshock89 commented 6 years ago

when I update from version 1 to version 2.0.0, I see bug: empty tab resources in Batcher. In console js error: "Uncaught SyntaxError: Unexpected token <"

When trying to search for a filter js error "Uncaught SyntaxError: Unexpected token <"

systemshock89 commented 6 years ago

Parse error: syntax error, unexpected T_DOUBLE_ARROW in D:\projects\modx.local\core\components\batcher\processors\mgr\resource\getlist.class.php on line 69

line 69: $filterQuery = [$filterField . ':' . $filterType => $filterValue];

joeke commented 6 years ago

What PHP version are you using? I think that error is caused by PHP versions 5.3 and below.

systemshock89 commented 6 years ago

yes, I already understood it myself. Thank you. It is necessary to use PHP 5.4 or up