We’re with you. JoomShaper is offering a 20% Discount on all plans due to the impact of COVID-19.

Support Online : 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.
Be one of the first to reply to this post!

124

Templates

331281

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