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 redeclare class NotORM #56

Closed
tboronczyk opened this issue Jan 24, 2013 · 1 comment
Closed

Fatal error: Cannot redeclare class NotORM #56

tboronczyk opened this issue Jan 24, 2013 · 1 comment

Comments

@tboronczyk
Copy link

I am using NotORM as managed by Composer with PHP 5.3.10. Commit a3cec36 seems to break for me with the following error and stack trace:

PHP Fatal error: Cannot redeclare class NotORM in /var/www/vendor/vrana/notorm/NotORM.php on line 101
PHP Stack trace:
PHP 1. {main}() /var/www/public/index.php:0
PHP 2. require_once() /var/www/public/index.php:2
PHP 3. ComposerAutoloaderInitad12cee8065d7226d3ed513a93485bbd::getLoader() /var/www/vendor/autoload.php:7
PHP 4. require() /var/www/vendor/composer/autoload_real.php:41
PHP 5. interface_exists() /var/www/vendor/vrana/notorm/NotORM.php:10
PHP 6. Composer\Autoload\ClassLoader->loadClass() /var/www/vendor/composer/ClassLoader.php:0

bd5db46 works for me wonderfully.

@TomasVotruba
Copy link

Looks like you have already NotORM class somewhere (http://stackoverflow.com/questions/708140/php-fatal-error-cannot-redeclare-class)

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

2 participants