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

Bug: capro serve bugs when having functions in config file #19

Open
xy2z opened this issue Aug 2, 2023 · 0 comments
Open

Bug: capro serve bugs when having functions in config file #19

xy2z opened this issue Aug 2, 2023 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@xy2z
Copy link
Owner

xy2z commented Aug 2, 2023

λ capro serve                                                                                                                                                                                                            
PHP Fatal error:  Cannot redeclare get_cats() (previously declared in .\capro-docs\config\core.php:5) in .\capro-docs\config\core.php on line 5        
» Capro development server started at http://127.0.0.1:82                                                                                                                                                                

Temporary fix, use if (!function_exists('foo')) { before each function...

If anyone has any idea on how to fix this, it's greatly appreciated :)


🎃 For more PHP hacktoberfest issues, see:
https://github.com/search?q=owner%3Axy2z+label%3Ahacktoberfest+is%3Aopen&type=issues&s=comments&o=asc

@xy2z xy2z added the bug Something isn't working label Aug 2, 2023
@xy2z xy2z added help wanted Extra attention is needed hacktoberfest labels Sep 26, 2023
@xy2z xy2z removed the hacktoberfest label Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant