Jump to content
thirty bees forum

Recommended Posts

Posted (edited)

I tried to install a new thirtybees project on local machine (windows 10 with WSL2) using current version from master branch, but i get errror

  1. Create settings.inc file
  2. Create database tables
  3. Create default shop and languages
  4. Populate database tables
  5. Configure shop information
  6. Install demonstration data

An error occurred during installation...

You can use the links on the left column to go back to the previous steps, or restart the installation process by clicking here.

Uncaught Error: Call to undefined method Attribute::hydrate() in /mnt/d/localdevelopment/thirtybees/install-dev/classes/xmlLoader.php:526 Stack trace: #0

/mnt/d/localdevelopment/thirtybees/install-dev/classes/xmlLoader.php(362): InstallXmlLoader->createEntity('attribute', '12_oz', 'Attribute', Array, Array) #1

/mnt/d/localdevelopment/thirtybees/install-dev/models/install.php(889): InstallXmlLoader->populateEntity('attribute') #2

/mnt/d/localdevelopment/thirtybees/install-dev/controllers/http/process.php(268): InstallModelInstall->installFixtures(Array, Array) #3

/mnt/d/localdevelopment/thirtybees/install-dev/controllers/http/process.php(104): InstallControllerHttpProcess->processInstallFixtures() #4

/mnt/d/localdevelopment/thirtybees/install-dev/classes/controllerHttp.php(207): InstallControllerHttpProcess->process() #5

/mnt/d/localdevelopment/thirtybees/install-dev/trystart.php(34): InstallControllerHttp::execute() #6

/mnt/d/localdevelopment/thirtybees/install-dev/index.php(56): require_once('/mnt/d/localdev

 

any hints what goes wrong? The error occurs to install demonstration data, would be safe to just delete the install-dev folder and add manually some data?

Edited by netamismb
Posted

Trying to install the project without demonstration data, I get:

An error occurred during installation...

You can use the links on the left column to go back to the previous steps, or restart the installation process by clicking here.

Table 'thirtybees_test.tb_attribute' doesn't exist

Posted

This is related to php8 and it's Attribute class. Even if you don't run on php8 there is already a polyfill that introduces this class, and that breaks the whole tb store.

I'm currently working on this issue, it will be fixed soon.

  • Thanks 2
  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...