Skip to content
This repository has been archived by the owner on Dec 6, 2019. It is now read-only.

Open Flash Chart, JSON Parse Error [Syntax Error]... #110

Open
Oxymoron290 opened this issue May 16, 2013 · 0 comments
Open

Open Flash Chart, JSON Parse Error [Syntax Error]... #110

Oxymoron290 opened this issue May 16, 2013 · 0 comments

Comments

@Oxymoron290
Copy link

This is related to Issue #102

If warnings aren't suppressed you get the following error on ./admin/action.php/dashboard/pirepcounts

Strict Standards: Non-static method OFCharts::show_chart() should not be called statically in C:\Development\phpVMS\core\common\OFCharts.class.php on line 175

resulting in the following error on the dashboard.

image

3 different solutions:
First, and the less professional is to suppress this with error reporting

Secondly is to change the data member of show_chart() to be a static method.
or
Finally, edit the invoking line (line 175) to use the following:
$this->show_chart($title);

Thoughts? Concerns? Input?

@Oxymoron290 Oxymoron290 mentioned this issue May 17, 2013
Closed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant