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

PHP Fatal error: #26

Closed
kavasey opened this issue Jun 8, 2018 · 5 comments
Closed

PHP Fatal error: #26

kavasey opened this issue Jun 8, 2018 · 5 comments
Assignees
Labels
Milestone

Comments

@kavasey
Copy link

kavasey commented Jun 8, 2018

Hi,

Thank you for great extension. But it gives me error...find below, would appreciate any workarounds, thanks

Generating create migration for table 'actions' ...PHP Fatal error: Cannot use yii\base\Object as Object because 'Object' is a special class name i n C:\xampp\htdocs\bialab\vendor\bizley\migration\table\TableStructure.php on line 6

@bizley
Copy link
Owner

bizley commented Jun 8, 2018

You are using PHP 7.2 and this package still supports older version where Object is used. As I said I'm going to release new version in #22 that will fix this. Since it's requested more and more I'll do it during the weekend so stay tuned.

@bizley bizley self-assigned this Jun 8, 2018
@bizley bizley added the bug label Jun 8, 2018
@bizley bizley added this to the 3.0.0 milestone Jun 8, 2018
@kavasey
Copy link
Author

kavasey commented Jun 8, 2018

@bizley Thanks for the prompt response. On standby.

@bizley
Copy link
Owner

bizley commented Jun 8, 2018

Version 3.0.0 has been released. Let me know if something is wrong ;)

@bizley bizley closed this as completed Jun 8, 2018
@kavasey
Copy link
Author

kavasey commented Jun 9, 2018

@bizley It works great now. But it doesn't take into account the column length set for varchar (using mysql) when converting to $this->string(). Those I'll manually add them. Thank you for taking the time to upgrade the extension.
Cheers

@bizley
Copy link
Owner

bizley commented Jun 10, 2018

It's this the case of using generalSchema parameter? Check the docs.

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

No branches or pull requests

2 participants