WebsiteBaker Community Forum

WebsiteBaker Support (2.13.x) => General Help & Support => Topic started by: rumen on April 26, 2022, 02:05:01 PM

Title: Error during install
Post by: rumen on April 26, 2022, 02:05:01 PM
Hi there,
got error during install wb 2.13.1

Code: [Select]
There was an uncatched exception
Duplicate column name 'ct_color'
in line (724) of (/framework/class.database.php):

Line is:

 
Code: [Select]
public function getQuery(string $sStatement)
    {

    if (false === ($this->result = $this->oDbHandle->query($sStatement))) {
        $this->error = $this->oDbHandle->error;
    }
        return $this->result;
    }

Regards,
Title: Re: Error during install
Post by: hgs on April 26, 2022, 02:46:13 PM
Can you give us some more information?

Title: Re: Error during install
Post by: rumen on April 26, 2022, 05:22:51 PM
Apache2
PHP 8
MySQL
Localhost - on a local drive
pure brand new instalation
Title: Re: Error during install
Post by: Luisehahne on April 26, 2022, 05:27:35 PM
Seems to be an error that only happens under php version 8.1.x
WB 2.13.1 is testet from php 7.4.x until php 8.0.x.

Dietmar
Title: Re: Error during install
Post by: rumen on April 26, 2022, 08:18:16 PM
PHP version

Code: [Select]
~$ php -version
PHP 8.1.2 (cli) (built: Apr  7 2022 17:46:26) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.2, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.2, Copyright (c), by Zend Technologies

What can I do to fix it?
Title: Re: Error during install
Post by: hgs on April 27, 2022, 07:58:40 AM
Currently only go back to php 8.0.