Front page error in joomla website - Forum | JoomShaper
Awaiting an answer Templates

Front page error in joomla website

Asked by Rand Schools 3 years ago Last activity 3 years ago

hello,

im facing an issue with the fromt page of the website, an error appears 0
count(): Argument #1 ($value) must be of type Countable|array, stdClass given

all other pages in the website are working very well

website link (home - contain error):
https://www.randschools.com/international-section/

other page : (working well)
https://www.randschools.com/international-section/index.php/student-center

i tried to follow shared solutions from the enternet but nothings worked with me, please support

4 replies

Rashida Rahman Staff

Hi there!

Sorry for your issue.

Which PHP version you are using, please?

Best Regards

Rand Schools Asked this

PHP Vrsion is 8.1

please let me know if there is any solution.

Rand Schools Asked this

PHP Vrsion is 8.1

Rashida Rahman Staff

Hello,

It seems you are using the Educon Template and this template is not compatible with PHP 8 yet. Really sorry about that. Kindly, use PHP 7.4 there until the template gets PHP 8 compatibility update.

Best Regards

Rand Schools Asked this
3 years ago · edited

This is wiered because it been working for 2 months after i switched to PHP 8 version and suddenly the home bage got this error, i switched the php to 7,4 and still i have the same issue

i beleive the template page contain that is compatable with php 8

Rand Schools Asked this
3 years ago · edited

i solved it in some way i disables Latest news row module and it worked very well, but i dont know why its not compatable with the template.

Any Idea?

Log in to reply.