Installing Brandcentral

Hello everyone.

I hope I can get some help with this.

I’m really new to concrete5 and so far, it’s been great.

i tried to install Brandcentral, I got as far as installing it via the extend core panel and it seemed to go through without a hitch.

I ended up with the error attached


as soon as it completed and I clicked on “to my website”

Below is the PHP install and Version install:

Environment & details:

Concrete CMS

Version “9.1.3”
Installed Version “9.1.3”
Database Version “20220908074900”

PHP

Version “8.1.16”
Extensions array:56 [:arrow_forward:]

Concrete Configuration

concrete array:56 [:arrow_forward:]
app array:20 [:arrow_forward:]

GET Data empty

POST Data empty

Files empty

Cookies

ab_storage_deviceId_a9882122-ac6c-486a-bc3b-fab39ef624c5 “********************************************************************************”
_pk_id_1_9fe4 “****************************”
CONCRETE “**************************”
CONCRETE_LOGIN “*”
ConcreteSitemapTreeID “*”
dashboardPanelStatus “******”

Session

_sf2_attributes array:16 [:arrow_forward:]
_symfony_flashes []
_sf2_meta array:3 [:arrow_forward:]

Server/Request Data

USER “********”
HOME “********”
HTTP_COOKIE “**************************************************************************************************************************************************************** :arrow_forward:
HTTP_ACCEPT_LANGUAGE “**************”
HTTP_ACCEPT_ENCODING “*************”
HTTP_ACCEPT “***************************************************************************************************************************************”
HTTP_USER_AGENT “***************************************************************************************************************”
HTTP_UPGRADE_INSECURE_REQUESTS “*”
HTTP_CONNECTION “**********”
HTTP_HOST “*****************”
PHP_VALUE “********************************************”
REDIRECT_STATUS “***”
SERVER_NAME “*”
SERVER_PORT “**”
SERVER_ADDR “**********”
REMOTE_USER “”
REMOTE_PORT “*****”
REMOTE_ADDR “************”
SERVER_SOFTWARE “************”
GATEWAY_INTERFACE “*******”
REQUEST_SCHEME “****”
SERVER_PROTOCOL “********”
DOCUMENT_ROOT “****”
DOCUMENT_URI “**********”
REQUEST_URI “*”
SCRIPT_NAME “**********”
CONTENT_LENGTH “”
CONTENT_TYPE “”
REQUEST_METHOD “***”
QUERY_STRING “”
SCRIPT_FILENAME “**************”
PATH_INFO “”
FCGI_ROLE “*********”
PHP_SELF “**********”
REQUEST_TIME_FLOAT “***”
REQUEST_TIME “***”

Environment Variables empty

Registered Handlers

  1. Concrete\Core\Error\Handler\ErrorHandler

  2. Concrete\Core\Error\Handler\JsonErrorHandler

That looks like a php8 issue. BrandCentral is sufficiently old that it was developed under php7 and probably has not been updated.

Simplest temporary fix while you are experimenting is to run php7.4.

For the longer term, please report an issue on the BrandCentral repository. If you are ok with php code, you can fix the glitches as you go and make pull requests on the BrandCentral repository.

1 Like

This error is very common for php8.

Basically the variable is undefined.

So in the code you have an if statement if files are there do something. In that something you have the variable.

So when the if statement is not met the variable is empty. You are then trying to call it later in the page so it breaks.

You can either just declare the variable before the if statement or add a fail safe to the part where you are calling it using isset($varname).

This is interesting to read

1 Like

Many thanks for the assist. I’ll see what’s the simplest solution and implement.

Have a great day!