• Welcome to Sitemap Generator Forum.
 

PHP warning error! Please fix

Started by ediong, February 05, 2020, 03:53:04 PM

Previous topic - Next topic

ediong

Seeing this error for the first time.

PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /pages/class.xml-creator.inc.php on line 312
cat error_log
[05-Feb-2020 15:45:41 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /pages/class.xml-creator.inc.php on line 312
[05-Feb-2020 15:45:41 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /pages/page-sitemap-detail.inc.php on line 140
[05-Feb-2020 15:45:41 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /pages/page-view.inc.php on line 114
[05-Feb-2020 15:48:24 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /pages/page-sitemap-detail.inc.php on line 140
[05-Feb-2020 15:48:24 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /pages/page-view.inc.php on line 114
[05-Feb-2020 15:49:31 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /pages/page-sitemap-detail.inc.php on line 140
[05-Feb-2020 15:53:29 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /pages/page-sitemap-detail.inc.php on line 140
[05-Feb-2020 15:53:29 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /pages/page-view.inc.php on line 114
[05-Feb-2020 15:55:42 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /pages/page-sitemap-detail.inc.php on line 140
[05-Feb-2020 15:55:43 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /pages/page-sitemap-detail.inc.php on line 140
[05-Feb-2020 15:55:44 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /pages/page-sitemap-detail.inc.php on line 140
[05-Feb-2020 15:58:00 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /pages/page-sitemap-detail.inc.php on line 140
[05-Feb-2020 15:58:45 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /pages/page-sitemap-detail.inc.php on line 140
[05-Feb-2020 15:58:47 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /pages/page-sitemap-detail.inc.php on line 140
[05-Feb-2020 16:01:14 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /pages/page-sitemap-detail.inc.php on line 140
[05-Feb-2020 16:01:16 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /pages/page-sitemap-detail.inc.php on line 140
[05-Feb-2020 16:01:30 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /pages/page-sitemap-detail.inc.php on line 140
[05-Feb-2020 16:01:42 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /pages/page-sitemap-detail.inc.php on line 140
[05-Feb-2020 16:01:45 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /pages/page-sitemap-detail.inc.php on line 140
[05-Feb-2020 16:01:45 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /pages/page-view.inc.php on line 114



eezs111

Quote from: XML-Sitemaps Support on February 05, 2020, 05:50:38 PM
Hello,

replied to your email.

Can you share how this was fixed? getting the same warnings and the sitemap wont generate.