Post by yy2210 » Sat Feb 27, 2021 5:40 pm

Dear all,
After my host provider get auto new php upgraded...

I've encountered Warning: A non-numeric value encountered in
public_html/catalog/view/theme/template_name/template/common/products_carousel.tpl on line 30

=======================================================================

$productLayout = DIR_TEMPLATE.$theme.'/template/common/product/'.$listingConfig['product_layout'].'.tpl';
if( !is_file($productLayout) ){
$listingConfig['product_layout'] = 'default';
}
$productLayout = DIR_TEMPLATE.$theme.'/template/common/product/'.$listingConfig['product_layout'].'.tpl';

$id = md5(rand()+time()+$heading_title);
$columns_count = 4;
=======================================================================
The codes are as attachment. May I ask if anyone can help and advice me what can I do to fix the problem? Thank you in advance.

Attachments


Newbie

Posts

Joined
Sat Feb 27, 2021 5:17 pm

Post by straightlight » Sun Feb 28, 2021 12:29 am

I've encountered Warning: A non-numeric value encountered in
public_html/catalog/view/theme/template_name/template/common/products_carousel.tpl on line 30
Caused by an installed extension. Contact the extension developer to resolve this issue.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by yy2210 » Sun Mar 14, 2021 1:38 am

Thanks Straightlight for your reply.

It was working perfectly without such error until recently my host provider(hostgator) upgraded their PHP to new version. I have not installed any extension before though....I wonder if you(or anyone who is expert on this) can try to help me to fix the issue with a fee? It’s been many years since my website is running opencart so it is rather hard to trace where to get this fix...

Newbie

Posts

Joined
Sat Feb 27, 2021 5:17 pm

Post by straightlight » Sun Mar 14, 2021 6:25 am

You can, either, send me a PM on the forum or create a new service request in the Commercial Support section of the forum to get this issue fixed as a custom job.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 28 guests