pChart 2.x forum
http://wiki.pchart.net/forum/

PHP 7 compatibility
http://wiki.pchart.net/forum/viewtopic.php?f=1&t=40240
Page 1 of 1

Author:  rossati [ Mon Jun 04, 2018 8:05 am ]
Post subject:  PHP 7 compatibility

Hello

I am using pChart on PHP 7, The class module
Quote:
pData.class.php
seems incompatible.
With an On Line tool (http://sandbox.onlinephpfunctions.com/) I have had this:
Quote:
Methods with the same name as their class will not be constructors in a future version of PHP; pData has a deprecated constructor
.
Thanks
Giovanni Rossati

Author:  rossati [ Tue Jun 05, 2018 6:43 am ]
Post subject:  Re: PHP 7 compatibility

Hi

The problem was:
Quote:
PHP Fatal error: Uncaught Error: Call to undefined function utf8_decode
for, my be, some operation on Apache installation.
Here https://stackoverflow.com/questions/46531870/call-to-undefined-function-utf8-decode I found an answer:
Code:
sudo apt-get purge php-xml php7.0-xml
sudo apt-get install php-xml


Giovanni Rossati

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/