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

PHP Fatal error: Class Cassandra\Type\Exception cannot extend from interface Cassandra\Exception #79

Open
lounis opened this issue Oct 11, 2016 · 1 comment

Comments

@lounis
Copy link

lounis commented Oct 11, 2016

PHP Fatal error: Class Cassandra\Type\Exception cannot extend from interface Cassandra\Exception in vendor/duoshuo/php-cassandra/src/Type/Exception.php on line 4
PHP Stack trace:

PHP 13. Cassandra\Request\Request::valuesBinary( )vendor/duoshuo/php-cassandra/src/Request/Batch.php:67
PHP 14. spl_autoload_call() vendor/duoshuo/php-cassandra/src/Request/Batch.php:129
PHP 15. Composer\Autoload\ClassLoader->loadClass() vendor/duoshuo/php-cassandra/src/Request/Batch.php:0
PHP 16. Composer\Autoload\includeFile() vendor/composer/ClassLoader.php:301

@bensialih
Copy link

Should be extending base class Exception.
remove \Cassandra\Exception replace with \Exception

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