Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about phpgraphlib

Read more about phpgraphlib

python (65.2k questions)

javascript (44.3k questions)

reactjs (22.7k questions)

java (20.8k questions)

c# (17.4k questions)

html (16.3k questions)

r (13.7k questions)

android (13k questions)

Questions - phpgraphlib

PHPgraphlib PHP Warning count() Parameter must be an Array or Object (line 926)

I use PHPgraphlib for many years and like that it generates a reliable image instead of some fancy Javascript-stuff. Now since update to PHP7, it renders a log-error on line 926 of the original code: ...
test-img

Juergen

php

php-7

phpgraphlib

Votes: 0

Answers: 1

Latest Answer

As commented by @aynber - adding =[] to protected $error; in line 137 did the trick. New line reads protected $error = [];
test-img

Juergen

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved