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

Fatal error: Cannot use 'Object' as class name as it is reserved #1418

Closed
1 of 3 tasks
chrisribe opened this issue Jul 3, 2018 · 4 comments
Closed
1 of 3 tasks

Fatal error: Cannot use 'Object' as class name as it is reserved #1418

chrisribe opened this issue Jul 3, 2018 · 4 comments

Comments

@chrisribe
Copy link

chrisribe commented Jul 3, 2018

This is:

Expected Behavior

Working "Sample 06 Footnote"

Current Behavior

Php crash, not working.

Failure Information

Fatal error: Cannot use 'Object' as class name as it is reserved in C:\cribe\GitHub\PHPWord\src\PhpWord\Element\Object.php on line 26

How to Reproduce

Please provide a code sample that reproduces the issue.

Just run sample #6 page.
Build v0.14.0 with:
composer require phpoffice/phpword

load samples with:
cd to samples dir and run php-S localhost:8000

Context

  • PHP version: 7.2.6
  • PHPWord version: 0.14
@chrisribe
Copy link
Author

Humm seems fixed on the develop branch any ETA on a release tag ?

@troosan
Copy link
Contributor

troosan commented Jul 5, 2018

anytime now, just need to find some time to finalise it

@troosan
Copy link
Contributor

troosan commented Jul 14, 2018

resolved with 0.15

@troosan troosan closed this as completed Jul 14, 2018
@troosan
Copy link
Contributor

troosan commented Jul 14, 2018

resolved by #1185

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

No branches or pull requests

2 participants