Open MML1357 opened 4 years ago
I'm doing this:
include('barcode.php'); $generator = new barcode_generator(); $svg = $generator->render_svg('code-128', '13123'); echo $svg;
And I'm getting this error: Uncaught Error: Call to a member function render_svg() on null If I do a var_dump($generator); just get NULL
That looks right. Which version of PHP do you have?
I'm doing this:
include('barcode.php'); $generator = new barcode_generator(); $svg = $generator->render_svg('code-128', '13123'); echo $svg;
And I'm getting this error: Uncaught Error: Call to a member function render_svg() on null If I do a var_dump($generator); just get NULL