Support Forums

Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Template (Quickstart package) Moview not working

Featured Lock Resolved Issue
After installing a clean quickstart package i get these errors:
- frontpage: Warning: count(): Parameter must be an array or an object that implements Countable in /home/websites/movieworld/components/com_spmoviedb/helpers/helper.php on line 24

Live: http://www.movieworld.be

6 Answers

Sifat - Staff

More than a month ago #Permalink
Please just remove the count and that should solve the issue.

With count: http://prntscr.com/n2le4f
Without count: http://prntscr.com/n2ldzv

-Thanks

Sifat - Staff

More than a month ago #Permalink
Hi,
Thanks for your query. I think most probably it's because of the php version you are using. Would you please check this in php 7.1?
Since i'm using php 7.1 and it's working fine in my end.
Please let me know your test result.

-Best Regards

Kenneth Clement

More than a month ago #Permalink
Hi Sifat,

I am using PHP Version 7.3.3-1.
Everything is working fine, only this template gives error...

If i remove these 3 lines (see under) from helper.php, the error is gone, but i don't think this is the way to fix it?

if(count($result)) {
return '&Itemid=' . $result;
}

Regards.

Kenneth Clement

More than a month ago #Permalink
After installing a clean quickstart package i get these errors:
- frontpage: Warning: count(): Parameter must be an array or an object that implements Countable in /home/websites/movieworld/components/com_spmoviedb/helpers/helper.php on line 24

Live: http://www.movieworld.be


Thanks, working fine now.

Sifat - Staff

More than a month ago #Permalink
You are always welcome.


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 103
Sifat

Sifat

Total Accepted Answers: 97
Toufiq

Toufiq

Total Accepted Answers: 36
Pavel

Pavel

Total Accepted Answers: 4
J

johnny

Total Accepted Answers: 3

100+

Templates

200,000+

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us