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

Problem while trying to register function #27

Open
todstoychev opened this issue Aug 5, 2014 · 0 comments
Open

Problem while trying to register function #27

todstoychev opened this issue Aug 5, 2014 · 0 comments

Comments

@todstoychev
Copy link

I' ve used the example from the twiggy page and here what i've got:
Fatal error: Uncaught exception 'LogicException' with message 'Unable to add function "phpversion" as extensions have already been initialized.' in /var/www/Dutchblue/sparks/Twiggy/0.8.5/vendor/Twig/lib/Twig/Environment.php on line 946 LogicException: Unable to add function "phpversion" as extensions have already been initialized. in /var/www/Dutchblue/sparks/Twiggy/0.8.5/vendor/Twig/lib/Twig/Environment.php on line 946 Call Stack: 0.0001 134232 1. {main}() /var/www/Dutchblue/index.php:0 0.0003 135724 2. require_once('/var/www/Dutchblue/system/core/CodeIgniter.php') /var/www/Dutchblue/index.php:211 0.0452 746816 3. call_user_func_array:{/var/www/Dutchblue/system/core/CodeIgniter.php:359}() /var/www/Dutchblue/system/core/CodeIgniter.php:359 0.0452 746908 4. Index_page->index() /var/www/Dutchblue/system/core/CodeIgniter.php:359 0.0452 746964 5. Twiggy->register_function() /var/www/Dutchblue/dutchblue/controllers/index_page.php:5 0.0457 755616 6. Twig_Environment->addFunction() /var/www/Dutchblue/sparks/Twiggy/0.8.5/libraries/Twiggy.php:282

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

No branches or pull requests

1 participant