librarianphp / librarian

A static site generator and markdown indexer inspired by Hugo and DEV, written in PHP
https://librarianphp.dev/
MIT License
134 stars 11 forks source link

Fatal error: cannot redeclare load_config() #41

Closed erikaheidi closed 1 year ago

erikaheidi commented 1 year ago

Tried a new install + composer update to get the latest releases of commands, this template seems broken, now getting a fatal error with any librarian command:

PHP Fatal error:  Cannot redeclare load_config() (previously declared in /home/erika/Projects/test-librarian/vendor/minicli/minicli/src/helpers.php:10) in /home/erika/Projects/test-librarian/app/helpers.php on line 19

Needs to remove the local implementation of the load_config in favor of using the native autoload config from Minicli.

WendellAdriel commented 1 year ago

This was fixed in #42