PHP Fatal error: Cannot redeclare class
class, fatal-error, php
Solution
It means you've already created a class.
For instance:
class Foo {}
// some code here
class Foo {}
That second Foo would throw the error.
Problem
Does anyone know what can cause this problem? PHP Fatal error: Cannot redeclare class