Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to generate the data #1

Open
noman-maken opened this issue Dec 29, 2022 · 12 comments
Open

Unable to generate the data #1

noman-maken opened this issue Dec 29, 2022 · 12 comments

Comments

@noman-maken
Copy link

Hi, unable to generate the data, the error is

image

@ArchBlood
Copy link
Contributor

Did you make sure that you ran composer update then enable the module from the Module section?

@ArchBlood
Copy link
Contributor

@luke- maybe change the title here as I did find that there is a bug when you load the generated content;

PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'tags' in 'field list'

After this all content after the load command returns a NULL and overwrites all entries including pre-generated admin user.

@noman-maken
Copy link
Author

@ArchBlood Yes I have run the composer and after that put files in protected ==> Modules and enable the module from the module section and then run and the command for generating the data

@ArchBlood
Copy link
Contributor

@ArchBlood Yes I have run the composer and after that put files in protected ==> Modules and enable the module from the module section and then run and the command for generating the data

Your issue should be fixed by #2

@ArchBlood
Copy link
Contributor

Personally I was able to get the module running with no issues other than the one I reported 🤔

@noman-maken
Copy link
Author

noman-maken commented Jan 9, 2023

@ArchBlood @luke-
I'm still facing the issue, however I again install humhub and also update the profiler module

image

@ArchBlood
Copy link
Contributor

@ArchBlood @luke-
I'm still facing the issue, however I again install humhub and also update the profiler module

image

Could you provide which PHP version you're using?

@noman-maken
Copy link
Author

noman-maken commented Jan 9, 2023

@ArchBlood PHP - Version - 8.1.6

@ArchBlood
Copy link
Contributor

@ArchBlood PHP - Version - 8.1.6

I've currently tested with PHP 8.1.13 with no problems generating data see the screenshots;

Screenshot_1
Screenshot_2
Screenshot_3
Screenshot_4

The issue is loading command php yii profiler/fixture/load "*" does not work apparently, I'll look into this.

@ArchBlood
Copy link
Contributor

Maybe something to do with the following for you;

'guid' => (new \ReflectionClass($class))->getShortName().'::'.static::$index,

Maybe change to the following?

'guid' => (new \ReflectionClass($class))->getShortName() . '::' . static::$index,

@noman-maken
Copy link
Author

Same issue

@noman-maken
Copy link
Author

Maybe something to do with the following for you;

'guid' => (new \ReflectionClass($class))->getShortName().'::'.static::$index,

Maybe change to the following?

'guid' => (new \ReflectionClass($class))->getShortName() . '::' . static::$index,

You have just added the two spaces in line 20 🤔🤔🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants