Error when I click on Extend concreete5
PermalinkThis is the only thing on the page along with a link to return to the home page that is displayed after selecting Extend concreete5. It doesn't say where the error is coming from or not even a hint as to what is causing it. I first experienced this after downloading a theme from the marketplace.
Do you have the debug output turned on? That should tell you the file causing the error.
Don't remove the package if you've already installed it or you will break other things on your site.
syntax error, unexpected '[', expecting ')'
/var/www/html/pennyspetals/packages/theme_palette/controller.php
BlockTypeSet::add('theme_palette','Palette', $pkg);
BlockType::installBlockTypeFromPackage('palette_heading_option', $pkg);
BlockType::installBlockTypeFromPackage('palette_horizontal_rule', $pkg);
PageTheme::add('palette', $pkg);
if ( compat_is_version_8() ) {
$em = \ORM::entityManager();
$small = $em->getRepository('\Concrete\Core\Entity\File\Image\Thumbnail\Type\Type')->findOneBy(['ftTypeHandle' => 'small']);
}
The error message here is one you'd see with the short array syntax use when running PHP5.3
This looks like it would be an array defined with [] and you having a version of PHP that doesn't support arrays done that way.