KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Classes conflict #500

Open Ben Van Nimmen opened this topic on on Oct 24, 2018 - 1 comments

Ben Van Nimmen commented on Oct 24, 2018

Hello, your script works fine, but when I include my classes for Users, Settings, etc.. of my CMS I get errors, your script creates a conflict with them, how can I bypass this?

I include the Users class, I initiate: $Me = New Users();

and then I get this....

Notice: Undefined variable: Me in D:\xampp\htdocs\webs\luzdelsol.co.uk\www\MyPage.view.php on line 3

This way I am unable to put php variables in the PDF.

Thanks for any help, I have been putting in so many hours trying to get a simple PDF to print / download....

KoolReport commented on Oct 25, 2018

The issue is at words "New", it should be "new" in lowercase. Our library uses namespace so there should be no class conflict.

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
None yet

None