Thanks for reporting and sorry for the delay in answering (Christmas holidays). This is probably due to PHP version. Array dereferencing [ is supported from PHP version 5.4 and higher. In the plugin, by mistake, the supported PHP version is 5.2.4.
Very soon a new version will be released which fixes this issue. But at the meanwhile, can you please check PHP version you use on the server?
Kind regards and happy new year
@ralphaverbuch can you please confirm if the issue still exists or fixed?
Yes. Haven’t tried again since reporting it…
@ralphaverbuch
Can you please check if you still have the error?
Went directly to the Plugins page on WP and from there searched for Cloud Blocks. Installed from there, then activated. All appears to have worked flawlessly on this occasion…
Cheers
Ralph
Spoke too soon… Still not working…
Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected ‘[‘ in /home/xxxx/xxxxaverxxx.com/wp-content/plugins/cloud-blocks/core/Blocks/Blocks.php on line 175
It’s a bit strange because line 175 in Blocks.php file is a function not in use anymore and not being called anywhere.
Which version are you using or trying to install?
OK
WordPress 5.0.3 running Twenty Seventeen theme.
Other plugins running:
Akismet Anti-Spam
Custom Twitter Feeds
Google Analytics Dashboard for WP
Limit Login Attempts Reloaded
Wordfence Security
WordPress Importer
Yoast SEO
Hope this helps…
Cheers
Ralph
P.S. the version of your plugin was the one I installed today directly from the wordpress.org repository – Version: 1.1.2. It installed OK but the error pops up when I then attempt to active it.
Ralph
It’s a bit strange because we can’t reproduce the issue.
The method custom_blocks totally removed in the latest version (1.1.3). Can you test it again, please?
@ralphaverbuch Do you still have issue with the latest version of the plugin?