Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graphs are not working properly with PHP 7 #101

Open
michael-milette opened this issue May 19, 2018 · 2 comments
Open

Graphs are not working properly with PHP 7 #101

michael-milette opened this issue May 19, 2018 · 2 comments
Labels

Comments

@michael-milette
Copy link
Contributor

When I add a bar chart to a Configurable report, I get the following messages when I try to view the report (with debugging set to DEVELOPER):

Notice: Undefined offset: 1 in /var/www/html/blocks/configurable_reports/components/plot/bar/plugin.class.php on line 45

Notice: Undefined offset: 1 in /var/www/html/blocks/configurable_reports/components/plot/bar/plugin.class.php on line 53

In addition, I get a broken image instead of a graph.

I am using:

  • Configurable Reports v3.1.1 (2016020103)
  • Moodle 3.4.3 (2017111303) release on 2018-05-17
  • PHP 7.0

Let me know if you have any questions.

Best regards,

Michael

@sarjona sarjona added the bug label Feb 6, 2019
@sarjona
Copy link
Collaborator

sarjona commented Feb 8, 2019

Hi Michael!

Thanks for reporting this!

I've updated the pGraph library with the last PHP 7 compatible version: bda1178

However, the graphs are still not working when using PHP 7 onwards. I'm going to slightly change the title of this issue to review it when we find some time :-)

@sarjona sarjona changed the title Undefined offset when creating a bar chart in Moodle 3.4.3 Graphs are not working properly with PHP 7 Feb 8, 2019
This was referenced Feb 8, 2019
@vinojebastin
Copy link

Any deadline?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants