Example script and PHP 7?

Post Reply
camelwebtv
Posts: 1
Joined: Fri Oct 02, 2020 6:55 am

Example script and PHP 7?

Post by camelwebtv »

Attempting to start from the example app at: https://github.com/SchedulesDirect/mfdb-json

Does the example support PHP 7.x?

Running it I get the error:
Using production server.

Using timezone UTC

sd-utility.php utility program API:20141201 v0.28/2015-12-04

PHP Warning: count(): Parameter must be an array or an object that implements Countable in /cwassets/httpd/root/cwphp/tvChannels/mfdb-json/functions.php on line 559

Fatal: couldn't parse XML to JSON.

Open ticket with grabber@schedulesdirect.org and send the following:

string(0) ""

Post Reply