Yii Framework Forum: Mysterious migration error - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Mysterious migration error [solved]

#1 User is offline   tklustig 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 303
  • Joined: 20-April 17
  • Location:Hannover

Posted 28 December 2017 - 08:40 AM

Hi guys,
without using WLAN and GIT in this case, I zipped my Webproject, copied zip-file into htdocs-folder of my notebook and extracted it.
Unfortunately, I get following error at my notebook(error won't be throw out on my Desktop PC)
Fatal error: Can not use 'Object' as a class name as it is reserved in 'D:\xampp\htdocs\Yii2_Mail\vendor\yiisoft\yii2\base\Object.php on line 77'



Deleting origin project and extracting same file again at my Desktop won't throw out error. It's just at my notebook
Any ideas what could 'cause this error?

Doing same thing with another project won't throw out error....
0

#2 User is offline   alrazi 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 1,533
  • Joined: 08-August 12
  • Location:Durban, South Africa

Posted 28 December 2017 - 09:12 AM

you are running a new version of php on your laptop please install php < 7.2, if you want to fix it there is issue open on github you can pull in that specific tag with fix in place

https://github.com/y...yii2/pull/14478
https://github.com/y...ii2/issues/7936
1

#3 User is offline   tklustig 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 303
  • Joined: 20-April 17
  • Location:Hannover

Posted 28 December 2017 - 06:37 PM

View Postalrazi, on 28 December 2017 - 09:12 AM, said:

you are running a new version of php on your laptop please install php < 7.2, if you want to fix it there is issue open on github you can pull in that specific tag with fix in place

https://github.com/y...yii2/pull/14478
https://github.com/y...ii2/issues/7936


Thx for this information. Helped me, to fix error, so far...



0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users