I have an index.php that calls ("require" or "require_once") two other .php files.
If I call one Grid or Pivot, all is fine (the same with one chart), However if I call a Pivot after a grid (or vice-versa) or two different Charts I get the following errors:
Fatal error: Cannot redeclare class IdentityMap in C:\xampp\htdocs\reporting\KoolPHPSuite\KoolControls\KoolGrid\GridIValueMap.php on line 14
Pie Chart/Column chart:
Fatal error: Cannot redeclare _pO0() (previously declared in C:\xampp\htdocs\reporting\KoolPHPSuite\KoolControls\KoolChart\koolchart.php:1) in C:\xampp\htdocs\reporting\KoolPHPSuite\KoolControls\KoolChart\koolchart.php on line 1.
Does anyone know how I can call multiple Grid/Pivots or different charts without encountering this issue? I have looked into "undeclaring" the class, but this does not seem possible.