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

Where is the spyc_load_file function defined? #66

Open
ppazos opened this issue Dec 27, 2019 · 2 comments
Open

Where is the spyc_load_file function defined? #66

ppazos opened this issue Dec 27, 2019 · 2 comments

Comments

@ppazos
Copy link

ppazos commented Dec 27, 2019

Fatal error: Uncaught Error: Call to undefined function i18n\spyc_load_file() in /home/pablo/GitHub/trauma-emr-proto/i18n/I18n.php:302 

Stack trace: 
#0 /home/pablo/GitHub/trauma-emr-proto/i18n/I18n.php(149): i18n\I18n->load('/home/pablo/Git...') 
#1 /home/pablo/GitHub/trauma-emr-proto/index.php(139): i18n\I18n->init() 
#2 {main} thrown in /home/pablo/GitHub/trauma-emr-proto/i18n/I18n.php on line 302
@ppazos
Copy link
Author

ppazos commented Dec 27, 2019

Found this library but it is not handling the yaml examples on this project correctly, has errors with parent: child nodes.

https://github.com/mustangostang/spyc

@Philipp15b
Copy link
Owner

Oh, it's assumed you use composer to install the library, which will automatically install the spyc dependency. But apparently that's not documented 😅, so I'll mark this as a bug. Happy to accept a PR to add some documentation.

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

No branches or pull requests

2 participants